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