/* Holds all client authentication data from config file */
typedef struct SilcServerConfigSectionClientConnectionStruct {
char *host;
- int auth_meth;
- char *auth_data;
+ SilcAuthMethod auth_meth;
+ void *auth_data;
+ unsigned int auth_data_len;
unsigned short port;
unsigned int class;
struct SilcServerConfigSectionClientConnectionStruct *next;
char *host;
char *username;
char *nickname;
- int auth_meth;
- char *auth_data;
+ SilcAuthMethod auth_meth;
+ void *auth_data;
+ unsigned int auth_data_len;
struct SilcServerConfigSectionAdminConnectionStruct *next;
struct SilcServerConfigSectionAdminConnectionStruct *prev;
} SilcServerConfigSectionAdminConnection;
/* Holds all configured server/router connections from config file */
typedef struct SilcServerConfigSectionServerConnectionStruct {
char *host;
- int auth_meth;
- char *auth_data;
+ SilcAuthMethod auth_meth;
+ void *auth_data;
+ unsigned int auth_data_len;
unsigned short port;
char *version;
unsigned int class;