1 #ifndef ACL_TRIGGER_PARAMS_INCLUDE_H 2 #define ACL_TRIGGER_PARAMS_INCLUDE_H 4 #include "../stdlib/acl_define.h" 6 #ifndef ACL_CLIENT_ONLY 14 extern int acl_var_trigger_pid;
15 extern char *acl_var_trigger_procname;
16 extern char *acl_var_trigger_log_file;
18 #define ACL_VAR_TRIGGER_BUF_SIZE "trigger_buf_size" 19 #define ACL_DEF_TRIGGER_BUF_SIZE 81920 20 extern int acl_var_trigger_buf_size;
22 #define ACL_VAR_TRIGGER_RW_TIMEOUT "trigger_rw_timeout" 23 #define ACL_DEF_TRIGGER_RW_TIMEOUT 30 24 extern int acl_var_trigger_rw_timeout;
26 #define ACL_VAR_TRIGGER_IN_FLOW_DELAY "trigger_in_flow_delay" 27 #define ACL_DEF_TRIGGER_IN_FLOW_DELAY 1 28 extern int acl_var_trigger_in_flow_delay;
30 #define ACL_VAR_TRIGGER_IDLE_LIMIT "trigger_idle_limit" 31 #define ACL_DEF_TRIGGER_IDLE_LIMIT 0 32 extern int acl_var_trigger_idle_limit;
34 #define ACL_VAR_TRIGGER_QUEUE_DIR "trigger_queue_dir" 35 #define ACL_DEF_TRIGGER_QUEUE_DIR "/opt/acl_master/var/queue" 36 extern char *acl_var_trigger_queue_dir;
38 #define ACL_VAR_TRIGGER_PID_DIR "trigger_pid_dir" 39 #define ACL_DEF_TRIGGER_PID_DIR "/opt/acl_master/var/pid" 40 extern char *acl_var_trigger_pid_dir;
42 #define ACL_VAR_TRIGGER_OWNER "trigger_owner" 43 #define ACL_DEF_TRIGGER_OWNER "trigger" 44 extern char *acl_var_trigger_owner;
46 #define ACL_VAR_TRIGGER_DELAY_SEC "trigger_delay_sec" 47 #define ACL_DEF_TRIGGER_DELAY_SEC 1 48 extern int acl_var_trigger_delay_sec;
50 #define ACL_VAR_TRIGGER_DELAY_USEC "trigger_delay_usec" 51 #define ACL_DEF_TRIGGER_DELAY_USEC 5000 52 extern int acl_var_trigger_delay_usec;
54 #define ACL_VAR_TRIGGER_DAEMON_TIMEOUT "trigger_daemon_timeout" 55 #define ACL_DEF_TRIGGER_DAEMON_TIMEOUT 1800 56 extern int acl_var_trigger_daemon_timeout;
58 #define ACL_VAR_TRIGGER_USE_LIMIT "trigger_use_limit" 59 #define ACL_DEF_TRIGGER_USE_LIMIT 0 60 extern int acl_var_trigger_use_limit;
62 #define ACL_VAR_TRIGGER_ENABLE_CORE "trigger_enable_core" 63 #define ACL_DEF_TRIGGER_ENABLE_CORE 1 64 extern int acl_var_trigger_enable_core;
66 #define ACL_VAR_TRIGGER_DISABLE_CORE_ONEXIT "trigger_disable_core_onexit" 67 #define ACL_DEF_TRIGGER_DISABLE_CORE_ONEXIT 1 68 extern int acl_var_trigger_disable_core_onexit;
70 #define ACL_VAR_TRIGGER_CORE_LIMIT "trigger_core_limit" 71 #define ACL_DEF_TRIGGER_CORE_LIMIT -1 72 extern long long int acl_var_trigger_core_limit;
74 #define ACL_VAR_TRIGGER_LOG_DEBUG "master_debug" 75 #define ACL_DEF_TRIGGER_LOG_DEBUG "" 76 extern char *acl_var_trigger_log_debug;
78 #define ACL_VAR_TRIGGER_MAX_DEBUG "master_debug_max" 79 #define ACL_DEF_TRIGGER_MAX_DEBUG 1000 80 extern int acl_var_trigger_max_debug;