X-Git-Url: http://git.silcnet.org/gitweb/?a=blobdiff_plain;f=apps%2Fsilc%2Fclientconfig.h;fp=apps%2Fsilc%2Fclientconfig.h;h=8405bded377f28f94f56de4421b46906a6c7ec76;hb=72cfa31520ebc0058763a30e21c13f6e9a964aa0;hp=30221a7ac5a09a42dc4b3a9261b6cc676613b5c6;hpb=2be0be2432fff760084c4093291e79f1fa6262d8;p=silc.git diff --git a/apps/silc/clientconfig.h b/apps/silc/clientconfig.h index 30221a7a..8405bded 100644 --- a/apps/silc/clientconfig.h +++ b/apps/silc/clientconfig.h @@ -25,8 +25,8 @@ typedef struct SilcClientConfigSectionAlgStruct { char *alg_name; char *sim_name; - unsigned int block_len; - unsigned int key_len; + uint32 block_len; + uint32 key_len; struct SilcClientConfigSectionAlgStruct *next; struct SilcClientConfigSectionAlgStruct *prev; #define SILC_CLIENT_CONFIG_MODNAME "builtin" @@ -37,7 +37,7 @@ typedef struct SilcClientConfigSectionConnectionStruct { char *host; int auth_meth; char *auth_data; - unsigned short port; + uint16 port; struct SilcClientConfigSectionConnectionStruct *next; struct SilcClientConfigSectionConnectionStruct *prev; #define SILC_CLIENT_CONFIG_AUTH_METH_PASSWD "passwd" @@ -91,7 +91,7 @@ typedef enum { typedef struct { const char *section; SilcClientConfigSectionType type; - unsigned int maxfields; + int maxfields; } SilcClientConfigSection; /* List of all possible config sections in SILC client */ @@ -101,7 +101,7 @@ extern SilcClientConfigSection silc_client_config_sections[]; from a file to this structure before parsing it further. */ typedef struct SilcClientConfigParseStruct { SilcBuffer line; - unsigned int linenum; + int linenum; SilcClientConfigSection *section; struct SilcClientConfigParseStruct *next; struct SilcClientConfigParseStruct *prev; @@ -114,7 +114,7 @@ int silc_client_config_parse(SilcClientConfig config, SilcBuffer buffer, SilcClientConfigParse *return_config); int silc_client_config_parse_lines(SilcClientConfig config, SilcClientConfigParse parse_config); -int silc_client_config_check_sections(unsigned int checkmask); +int silc_client_config_check_sections(uint32 checkmask); void silc_client_config_setlogfiles(SilcClientConfig config); void silc_client_config_register_ciphers(SilcClientConfig config); void silc_client_config_register_pkcs(SilcClientConfig config);