ADD aaa-12 CONFIG_SERVICE_ARRAY中增加本地portal server配置和免认证规则配置
RCA: SOL: 检视人:chenling
This commit is contained in:
parent
360d15bbdc
commit
aaa812c654
|
@ -13,12 +13,23 @@
|
||||||
/* USER MANAGER CONFIG */
|
/* USER MANAGER CONFIG */
|
||||||
#define USER_MANAGER_CONFIG_MODULE 0x00000002
|
#define USER_MANAGER_CONFIG_MODULE 0x00000002
|
||||||
|
|
||||||
|
/*PORTAL SERVER CONFIG */
|
||||||
|
#define PORTAL_CONFIG_MODULE 0x00000003
|
||||||
|
|
||||||
|
/* AUTHFREE CONFIG*/
|
||||||
|
#define AUTHFREE_CONFIG_MODULE 0x00000004
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/* config id define*/
|
/* config id define*/
|
||||||
#define IPCONFIG_V4 (uint64)((uint64)IPCONFIG_MODULE<<32|1)
|
#define IPCONFIG_V4 (uint64)((uint64)IPCONFIG_MODULE<<32|1)
|
||||||
|
|
||||||
#define USER_MANAGER_CONFIG_GROUP (uint64)((uint64)USER_MANAGER_CONFIG_MODULE<<32|1)
|
#define USER_MANAGER_CONFIG_GROUP (uint64)((uint64)USER_MANAGER_CONFIG_MODULE<<32|1)
|
||||||
#define USER_MANAGER_CONFIG_USER (uint64)((uint64)USER_MANAGER_CONFIG_MODULE<<32|2)
|
#define USER_MANAGER_CONFIG_USER (uint64)((uint64)USER_MANAGER_CONFIG_MODULE<<32|2)
|
||||||
|
|
||||||
|
#define PORTALSERVER_CONFIG (uint64)((uint64)PORTAL_CONFIG_MODULE<<32|1)
|
||||||
|
|
||||||
|
#define AUTHFREE_CONFIG (uint64)((uint64)AUTHFREE_CONFIG_MODULE<<32|1)
|
||||||
/*
|
/*
|
||||||
1、配置ID,全局唯一,用于寻找对应的配置业务
|
1、配置ID,全局唯一,用于寻找对应的配置业务
|
||||||
2、配置源检查,全局唯一,用于寻找对应的配置业务,
|
2、配置源检查,全局唯一,用于寻找对应的配置业务,
|
||||||
|
@ -51,7 +62,27 @@
|
||||||
usergroup_config_proc, \
|
usergroup_config_proc, \
|
||||||
usergroup_config_get, \
|
usergroup_config_get, \
|
||||||
usergroup_config_get_all \
|
usergroup_config_get_all \
|
||||||
}\
|
},\
|
||||||
|
{\
|
||||||
|
PORTALSERVER_CONFIG, \
|
||||||
|
CONFIG_FROM_WEB|CONFIG_FROM_NETOPEER, \
|
||||||
|
FALSE, \
|
||||||
|
FALSE, \
|
||||||
|
portalserver_config_chk, \
|
||||||
|
portalserver_config_proc, \
|
||||||
|
portalserver_config_get, \
|
||||||
|
portalserver_get_all \
|
||||||
|
},\
|
||||||
|
{\
|
||||||
|
AUTHFREE_CONFIG, \
|
||||||
|
CONFIG_FROM_WEB|CONFIG_FROM_NETOPEER, \
|
||||||
|
FALSE, \
|
||||||
|
FALSE, \
|
||||||
|
freeauth_config_chk, \
|
||||||
|
freeauth_config_proc, \
|
||||||
|
freeauth_config_get, \
|
||||||
|
freeauth_config_get_all \
|
||||||
|
},\
|
||||||
}
|
}
|
||||||
|
|
||||||
typedef ret_code (*cm_config_chk)(uint source, uint config_type,
|
typedef ret_code (*cm_config_chk)(uint source, uint config_type,
|
||||||
|
|
Loading…
Reference in New Issue