This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
/* Holds all client authentication data from config file */
typedef struct SilcServerConfigSectionClientStruct {
char *host;
/* Holds all client authentication data from config file */
typedef struct SilcServerConfigSectionClientStruct {
char *host;
/* Holds all configured server connections from config file */
typedef struct SilcServerConfigSectionServerStruct {
char *host;
/* Holds all configured server connections from config file */
typedef struct SilcServerConfigSectionServerStruct {
char *host;
/* Holds all configured router connections from config file */
typedef struct SilcServerConfigSectionRouterStruct {
char *host;
/* Holds all configured router connections from config file */
typedef struct SilcServerConfigSectionRouterStruct {
char *host;
SilcServerConfig silc_server_config_alloc(char *filename);
void silc_server_config_destroy(SilcServerConfig config);
SilcServerConfig silc_server_config_alloc(char *filename);
void silc_server_config_destroy(SilcServerConfig config);
bool silc_server_config_register_ciphers(SilcServer server);
bool silc_server_config_register_hashfuncs(SilcServer server);
bool silc_server_config_register_hmacs(SilcServer server);
bool silc_server_config_register_pkcs(SilcServer server);
bool silc_server_config_register_ciphers(SilcServer server);
bool silc_server_config_register_hashfuncs(SilcServer server);
bool silc_server_config_register_hmacs(SilcServer server);
bool silc_server_config_register_pkcs(SilcServer server);
-silc_server_config_find_admin(SilcServerConfig config,
- char *host, char *user, char *nick);
-
+silc_server_config_find_admin(SilcServer server, char *host, char *user,
+ char *nick);
-silc_server_config_find_denied(SilcServerConfig config,
- char *host, uint16 port);
-
-/* Prototypes - OLD */
+silc_server_config_find_denied(SilcServer server, char *host, uint16 port);
-silc_server_config_find_router_conn(SilcServerConfig config,
- char *host, int port);
-bool silc_server_config_is_primary_route(SilcServerConfig config);
+silc_server_config_find_router_conn(SilcServer server, char *host, int port);
+bool silc_server_config_is_primary_route(SilcServer server);