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