X-Git-Url: http://git.silcnet.org/gitweb/?a=blobdiff_plain;f=apps%2Fsilcd%2Fserverconfig.h;h=2104976ed3e87275c5c485ab67a941d792cd930f;hb=413da0f8686910f5e627393157566ae729ca99c4;hp=ef9ce8b75e97378e1d16ac345a141cb7f3c755fa;hpb=dc44e6c61393a3f69a02e7e5c22df5e0506eb8bc;p=silc.git diff --git a/apps/silcd/serverconfig.h b/apps/silcd/serverconfig.h index ef9ce8b7..2104976e 100644 --- a/apps/silcd/serverconfig.h +++ b/apps/silcd/serverconfig.h @@ -2,7 +2,7 @@ serverconfig.h - Author: Johnny Mnemonic + Author: Giovanni Giacobbi Copyright (C) 1997 - 2002 Pekka Riikonen @@ -78,6 +78,7 @@ typedef struct SilcServerConfigLoggingStruct { /* Connection parameters */ typedef struct SilcServerConfigConnParams { + struct SilcServerConfigConnParams *next; char *name; char *version_protocol; char *version_software; @@ -89,10 +90,14 @@ typedef struct SilcServerConfigConnParams { SilcUInt32 reconnect_interval; SilcUInt32 reconnect_interval_max; SilcUInt32 key_exchange_rekey; - bool key_exchange_pfs; - bool reconnect_keep_trying; - bool anonymous; - struct SilcServerConfigConnParams *next; + SilcUInt32 qos_rate_limit; + SilcUInt32 qos_bytes_limit; + SilcUInt32 qos_limit_sec; + SilcUInt32 qos_limit_usec; + unsigned int key_exchange_pfs : 1; + unsigned int reconnect_keep_trying : 1; + unsigned int anonymous : 1; + unsigned int qos : 1; } SilcServerConfigConnParams; /* Holds all client authentication data from config file */ @@ -170,6 +175,7 @@ typedef struct { bool logging_timestamp; bool logging_quick; long logging_flushdelay; + char *debug_string; /* Other configuration sections */ SilcServerConfigCipher *cipher;