1 #ifndef ACL_SINGLE_PARAMS_INCLUDE_H 2 #define ACL_SINGLE_PARAMS_INCLUDE_H 4 #include "../stdlib/acl_define.h" 6 #ifndef ACL_CLIENT_ONLY 14 extern int acl_var_single_pid;
15 extern char *acl_var_single_procname;
16 extern char *acl_var_single_log_file;
18 #define ACL_VAR_SINGLE_BUF_SIZE "single_buf_size" 19 #define ACL_DEF_SINGLE_BUF_SIZE 81920 20 extern int acl_var_single_buf_size;
22 #define ACL_VAR_SINGLE_RW_TIMEOUT "single_rw_timeout" 23 #define ACL_DEF_SINGLE_RW_TIMEOUT 30 24 extern int acl_var_single_rw_timeout;
26 #define ACL_VAR_SINGLE_IN_FLOW_DELAY "single_in_flow_delay" 27 #define ACL_DEF_SINGLE_IN_FLOW_DELAY 1 28 extern int acl_var_single_in_flow_delay;
34 #define ACL_VAR_SINGLE_IDLE_LIMIT "single_idle_limit" 35 #define ACL_DEF_SINGLE_IDLE_LIMIT 0 36 extern int acl_var_single_idle_limit;
38 #define ACL_VAR_SINGLE_QUEUE_DIR "single_queue_dir" 39 #define ACL_DEF_SINGLE_QUEUE_DIR "/opt/acl_master/var/queue" 40 extern char *acl_var_single_queue_dir;
42 #define ACL_VAR_SINGLE_PID_DIR "single_pid_dir" 43 #define ACL_DEF_SINGLE_PID_DIR "/opt/acl_master/var/pid" 44 extern char *acl_var_single_pid_dir;
46 #define ACL_VAR_SINGLE_OWNER "single_owner" 47 #define ACL_DEF_SINGLE_OWNER "root" 48 extern char *acl_var_single_owner;
50 #define ACL_VAR_SINGLE_DELAY_SEC "single_delay_sec" 51 #define ACL_DEF_SINGLE_DELAY_SEC 1 52 extern int acl_var_single_delay_sec;
54 #define ACL_VAR_SINGLE_DELAY_USEC "single_delay_usec" 55 #define ACL_DEF_SINGLE_DELAY_USEC 5000 56 extern int acl_var_single_delay_usec;
62 #define ACL_VAR_SINGLE_DAEMON_TIMEOUT "single_daemon_timeout" 63 #define ACL_DEF_SINGLE_DAEMON_TIMEOUT 1800 64 extern int acl_var_single_daemon_timeout;
70 #define ACL_VAR_SINGLE_USE_LIMIT "single_use_limit" 71 #define ACL_DEF_SINGLE_USE_LIMIT 0 72 extern int acl_var_single_use_limit;
74 #define ACL_VAR_SINGLE_ENABLE_CORE "single_enable_core" 75 #define ACL_DEF_SINGLE_ENABLE_CORE 1 76 extern int acl_var_single_enable_core;
78 #define ACL_VAR_SINGLE_DISABLE_CORE_ONEXIT "single_disable_core_onexit" 79 #define ACL_DEF_SINGLE_DISABLE_CORE_ONEXIT 1 80 extern int acl_var_single_disable_core_onexit;
82 #define ACL_VAR_SINGLE_CORE_LIMIT "single_core_limit" 83 #define ACL_DEF_SINGLE_CORE_LIMIT -1 84 extern long long int acl_var_single_core_limit;
86 #define ACL_VAR_SINGLE_LOG_DEBUG "master_debug" 87 #define ACL_DEF_SINGLE_LOG_DEBUG "" 88 extern char *acl_var_single_log_debug;
90 #define ACL_VAR_SINGLE_MAX_DEBUG "master_debug_max" 91 #define ACL_DEF_SINGLE_MAX_DEBUG 1000 92 extern int acl_var_single_max_debug;