2019-07-28 10:31:56 +08:00
|
|
|
#ifndef ACL_TRIGGER_PARAMS_INCLUDE_H
|
2014-11-19 00:25:21 +08:00
|
|
|
#define ACL_TRIGGER_PARAMS_INCLUDE_H
|
|
|
|
|
2019-05-18 21:19:21 +08:00
|
|
|
#include "../stdlib/acl_define.h"
|
|
|
|
|
|
|
|
#ifndef ACL_CLIENT_ONLY
|
|
|
|
|
2014-11-19 00:25:21 +08:00
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C" {
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifdef ACL_UNIX
|
|
|
|
|
2022-08-06 12:33:11 +08:00
|
|
|
extern int acl_var_trigger_pid; /* get by call getpid() */
|
2014-11-19 00:25:21 +08:00
|
|
|
extern char *acl_var_trigger_procname; /* get from trigger_main()'s argv[0] */
|
|
|
|
extern char *acl_var_trigger_log_file; /* get from getenv("LOG") */
|
|
|
|
|
|
|
|
extern int acl_var_trigger_buf_size;
|
|
|
|
extern int acl_var_trigger_rw_timeout;
|
|
|
|
extern int acl_var_trigger_in_flow_delay;
|
|
|
|
extern int acl_var_trigger_idle_limit;
|
|
|
|
extern char *acl_var_trigger_queue_dir;
|
|
|
|
extern char *acl_var_trigger_pid_dir;
|
|
|
|
extern char *acl_var_trigger_owner;
|
|
|
|
extern int acl_var_trigger_delay_sec;
|
|
|
|
extern int acl_var_trigger_delay_usec;
|
|
|
|
extern int acl_var_trigger_daemon_timeout;
|
|
|
|
extern int acl_var_trigger_use_limit;
|
|
|
|
extern int acl_var_trigger_enable_core;
|
2018-10-23 13:29:21 +08:00
|
|
|
extern int acl_var_trigger_disable_core_onexit;
|
|
|
|
extern long long int acl_var_trigger_core_limit;
|
2014-11-19 00:25:21 +08:00
|
|
|
extern char *acl_var_trigger_log_debug;
|
|
|
|
extern int acl_var_trigger_max_debug;
|
|
|
|
|
|
|
|
#endif /* ACL_UNIX */
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
}
|
|
|
|
#endif
|
|
|
|
|
2019-05-18 21:19:21 +08:00
|
|
|
#endif /* ACL_CLIENT_ONLY */
|
2014-11-19 00:25:21 +08:00
|
|
|
#endif
|
|
|
|
|