acl/app/gid/gid_server/include/global.h

27 lines
712 B
C
Raw Normal View History

#ifndef __GLOBAL_INCLUDE_H__
2014-11-19 00:25:21 +08:00
#define __GLOBAL_INCLUDE_H__
/* 配置文件项 */
2014-11-19 00:25:21 +08:00
extern int var_cfg_debug_mem;
extern int var_cfg_loop_enable;
extern int var_cfg_sync_gid;
extern ACL_CONFIG_BOOL_TABLE service_conf_bool_tab[];
extern int var_cfg_debug_section;
extern int var_cfg_gid_step;
extern int var_cfg_gid_test;
extern int var_cfg_fh_limit;
extern int var_cfg_io_timeout;
extern ACL_CONFIG_INT_TABLE service_conf_int_tab[];
extern char *var_cfg_gid_path;
extern char *var_cfg_proto_list;
extern ACL_CONFIG_STR_TABLE service_conf_str_tab[];
/* 服务器之间传输的命令字定义 */
2014-11-19 00:25:21 +08:00
#define CMD_NEW_GID "new_gid"
#define CMD_TEST_GID "test_gid"
#endif