acl/lib_acl/samples/master/master_notify/service_var.h

53 lines
1.3 KiB
C
Raw Normal View History

2014-11-19 00:25:21 +08:00
#ifndef __SERVICE_VAR_INCLUDE_H__
#define __SERVICE_VAR_INCLUDE_H__
#include "lib_acl.h"
/*------------- <20>ַ<EFBFBD><D6B7><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> ----------------*/
extern ACL_CFG_STR_TABLE var_conf_str_tab[];
extern char *var_cfg_debug_msg;
extern char *var_cfg_smtpd_addr;
extern char *var_cfg_mail_from;
extern char *var_cfg_mail_to;
extern char *var_cfg_auth_user;
extern char *var_cfg_auth_pass;
extern char *var_cfg_warn_mail;
extern char *var_cfg_smtp_helo;
extern char *var_cfg_sms_addr;
extern char *var_cfg_host_ip;
/*-------------- <20><><EFBFBD><EFBFBD>ֵ<EFBFBD><D6B5><EFBFBD><EFBFBD><EFBFBD><EFBFBD> ---------------*/
extern ACL_CFG_BOOL_TABLE var_conf_bool_tab[];
/* <20>Ƿ<EFBFBD><C7B7><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>־<EFBFBD><D6BE><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ϣ */
extern int var_cfg_debug_enable;
/* <20>Ƿ<EFBFBD><C7B7><EFBFBD><EFBFBD>ͻ<EFBFBD><CDBB>˱<EFBFBD><CBB1>ֳ<EFBFBD><D6B3><EFBFBD><EFBFBD><EFBFBD> */
extern int var_cfg_keep_alive;
/*-------------- <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> -----------------*/
extern ACL_CFG_INT_TABLE var_conf_int_tab[];
/* ÿ<><C3BF><EFBFBD><EFBFBD><EFBFBD>ͻ<EFBFBD><CDBB><EFBFBD>ͨ<EFBFBD><CDA8>ʱ<EFBFBD><CAB1><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʱʱ<CAB1><CAB1>(<28><>) */
extern int var_cfg_io_timeout;
extern int var_cfg_smtp_notify_cache_timeout;
extern int var_cfg_sms_notify_cache_timeout;
extern int var_cfg_work_week_min;
extern int var_cfg_work_week_max;
extern int var_cfg_work_hour_min;
extern int var_cfg_work_hour_max;
/*----------------- <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ȫ<EFBFBD>ֱ<EFBFBD><D6B1><EFBFBD> ------*/
extern ACL_ARGV *var_recipients;
extern ACL_ARGV *var_ccs;
extern ACL_ARGV *var_bccs;
void service_var_init(void);
void service_var_end(void);
#endif