#include "sys/types.h" #include "whosond.h" #include "rtconfig.h" extern struct _cfgdesc desc_wso_serv_tcp_cfg; extern struct _evdesc tcp_serv_init(void *priv); extern struct _cfgdesc desc_wso_serv_udp_cfg; extern struct _evdesc udp_serv_init(void *priv); extern struct _cfgdesc desc_wso_serv_unix_cfg; extern struct _evdesc unix_serv_init(void *priv); extern struct _cfgdesc desc_wso_serv_unixd_cfg; extern struct _evdesc unixd_serv_init(void *priv); extern struct _cfgdesc desc_wso_serv_global_cfg; extern struct _evdesc global_serv_init(void *priv); struct _cfgrec wso_cfglist[] = { {"tcp",&desc_wso_serv_tcp_cfg,{tcp_serv_init}}, {"udp",&desc_wso_serv_udp_cfg,{udp_serv_init}}, {"unix",&desc_wso_serv_unix_cfg,{unix_serv_init}}, {"unixd",&desc_wso_serv_unixd_cfg,{unixd_serv_init}}, {"global",&desc_wso_serv_global_cfg,{global_serv_init}}, {(void*)0,(void*)0,{(void*)0}} };