/* Holds all the ports the server is listenning on */
typedef struct SilcServerConfigSectionListenPortStruct {
- char *host;
- char *remote_ip;
+ char *local_ip;
+ char *listener_ip;
uint16 port;
struct SilcServerConfigSectionListenPortStruct *next;
struct SilcServerConfigSectionListenPortStruct *prev;
/* Holds server's execution identity, or the user and group which
to change from root when server starts */
typedef struct {
- char *user;
- char *group;
+ char *user;
+ char *group;
} SilcServerConfigSectionIdentity;
/* Holds all the configured log files. */
char *version;
uint32 class;
bool initiator;
+ bool backup_router;
+ bool backup_local;
struct SilcServerConfigSectionServerConnectionStruct *next;
struct SilcServerConfigSectionServerConnectionStruct *prev;
} SilcServerConfigSectionServerConnection;
silc_server_config_find_router_conn(SilcServerConfig config,
char *host, int port);
bool silc_server_config_is_primary_route(SilcServerConfig config);
+SilcServerConfigSectionServerConnection *
+silc_server_config_get_primary_router(SilcServerConfig config);
SilcServerConfigSectionAdminConnection *
silc_server_config_find_admin(SilcServerConfig config,
char *host, char *username, char *nickname);