projects
/
silc.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Added support for multiple PublicKey instances in the config
[silc.git]
/
apps
/
silcd
/
serverconfig.h
diff --git
a/apps/silcd/serverconfig.h
b/apps/silcd/serverconfig.h
index c4190e36dffcfc070d4c1b8a6ee7baa99a13c50e..2af85bbd8618fffb7ed540cfd335dd213d5a7f96 100644
(file)
--- a/
apps/silcd/serverconfig.h
+++ b/
apps/silcd/serverconfig.h
@@
-90,7
+90,7
@@
typedef struct SilcServerConfigClientStruct {
char *host;
unsigned char *passphrase;
SilcUInt32 passphrase_len;
char *host;
unsigned char *passphrase;
SilcUInt32 passphrase_len;
-
void *publickey
;
+
SilcHashTable publickeys
;
SilcServerConfigConnParams *param;
struct SilcServerConfigClientStruct *next;
} SilcServerConfigClient;
SilcServerConfigConnParams *param;
struct SilcServerConfigClientStruct *next;
} SilcServerConfigClient;
@@
-102,7
+102,7
@@
typedef struct SilcServerConfigAdminStruct {
char *nick;
unsigned char *passphrase;
SilcUInt32 passphrase_len;
char *nick;
unsigned char *passphrase;
SilcUInt32 passphrase_len;
-
void *publickey
;
+
SilcHashTable publickeys
;
struct SilcServerConfigAdminStruct *next;
} SilcServerConfigAdmin;
struct SilcServerConfigAdminStruct *next;
} SilcServerConfigAdmin;
@@
-118,7
+118,7
@@
typedef struct SilcServerConfigServerStruct {
char *host;
unsigned char *passphrase;
SilcUInt32 passphrase_len;
char *host;
unsigned char *passphrase;
SilcUInt32 passphrase_len;
-
void *publickey
;
+
SilcHashTable publickeys
;
char *version;
SilcServerConfigConnParams *param;
bool backup_router;
char *version;
SilcServerConfigConnParams *param;
bool backup_router;
@@
-130,7
+130,7
@@
typedef struct SilcServerConfigRouterStruct {
char *host;
unsigned char *passphrase;
SilcUInt32 passphrase_len;
char *host;
unsigned char *passphrase;
SilcUInt32 passphrase_len;
-
void *publickey
;
+
SilcHashTable publickeys
;
SilcUInt16 port;
char *version;
SilcServerConfigConnParams *param;
SilcUInt16 port;
char *version;
SilcServerConfigConnParams *param;