1eda14cbcSMatt Macy /* 2*180f8225SMatt Macy * This file is part of the ZFS Event Daemon (ZED). 3*180f8225SMatt Macy * 4eda14cbcSMatt Macy * Developed at Lawrence Livermore National Laboratory (LLNL-CODE-403049). 5eda14cbcSMatt Macy * Copyright (C) 2013-2014 Lawrence Livermore National Security, LLC. 6eda14cbcSMatt Macy * Refer to the ZoL git commit log for authoritative copyright attribution. 7eda14cbcSMatt Macy * 8eda14cbcSMatt Macy * The contents of this file are subject to the terms of the 9eda14cbcSMatt Macy * Common Development and Distribution License Version 1.0 (CDDL-1.0). 10eda14cbcSMatt Macy * You can obtain a copy of the license from the top-level file 11eda14cbcSMatt Macy * "OPENSOLARIS.LICENSE" or at <http://opensource.org/licenses/CDDL-1.0>. 12eda14cbcSMatt Macy * You may not use this file except in compliance with the license. 13eda14cbcSMatt Macy */ 14eda14cbcSMatt Macy 15eda14cbcSMatt Macy #ifndef ZED_H 16eda14cbcSMatt Macy #define ZED_H 17eda14cbcSMatt Macy 18eda14cbcSMatt Macy /* 19eda14cbcSMatt Macy * Absolute path for the default zed configuration file. 20eda14cbcSMatt Macy */ 21eda14cbcSMatt Macy #define ZED_CONF_FILE SYSCONFDIR "/zfs/zed.conf" 22eda14cbcSMatt Macy 23eda14cbcSMatt Macy /* 24eda14cbcSMatt Macy * Absolute path for the default zed pid file. 25eda14cbcSMatt Macy */ 26eda14cbcSMatt Macy #define ZED_PID_FILE RUNSTATEDIR "/zed.pid" 27eda14cbcSMatt Macy 28eda14cbcSMatt Macy /* 29eda14cbcSMatt Macy * Absolute path for the default zed state file. 30eda14cbcSMatt Macy */ 31eda14cbcSMatt Macy #define ZED_STATE_FILE RUNSTATEDIR "/zed.state" 32eda14cbcSMatt Macy 33eda14cbcSMatt Macy /* 34eda14cbcSMatt Macy * Absolute path for the default zed zedlet directory. 35eda14cbcSMatt Macy */ 36eda14cbcSMatt Macy #define ZED_ZEDLET_DIR SYSCONFDIR "/zfs/zed.d" 37eda14cbcSMatt Macy 38eda14cbcSMatt Macy /* 39eda14cbcSMatt Macy * Reserved for future use. 40eda14cbcSMatt Macy */ 41eda14cbcSMatt Macy #define ZED_MAX_EVENTS 0 42eda14cbcSMatt Macy 43eda14cbcSMatt Macy /* 44eda14cbcSMatt Macy * Reserved for future use. 45eda14cbcSMatt Macy */ 46eda14cbcSMatt Macy #define ZED_MIN_EVENTS 0 47eda14cbcSMatt Macy 48eda14cbcSMatt Macy /* 49eda14cbcSMatt Macy * String prefix for ZED variables passed via environment variables. 50eda14cbcSMatt Macy */ 51eda14cbcSMatt Macy #define ZED_VAR_PREFIX "ZED_" 52eda14cbcSMatt Macy 53eda14cbcSMatt Macy /* 54eda14cbcSMatt Macy * String prefix for ZFS event names passed via environment variables. 55eda14cbcSMatt Macy */ 56eda14cbcSMatt Macy #define ZEVENT_VAR_PREFIX "ZEVENT_" 57eda14cbcSMatt Macy 58eda14cbcSMatt Macy #endif /* !ZED_H */ 59