X-Git-Url: http://git.silcnet.org/gitweb/?p=silc.git;a=blobdiff_plain;f=apps%2Fsilcd%2Fprotocol.h;h=21c3d193bd987bf00aa024713eae8b88e2a6e439;hp=f5ab3c5b2a48d764ad2bd3f0b0d9603c9e72133a;hb=e5d8d3db6caa344b3d419b884556c21b15e7d123;hpb=981c96d5e7e5d654c0da7912626a44afcc960bed diff --git a/apps/silcd/protocol.h b/apps/silcd/protocol.h index f5ab3c5b..21c3d193 100644 --- a/apps/silcd/protocol.h +++ b/apps/silcd/protocol.h @@ -26,6 +26,7 @@ #define SILC_PROTOCOL_SERVER_CONNECTION_AUTH 1 #define SILC_PROTOCOL_SERVER_KEY_EXCHANGE 2 #define SILC_PROTOCOL_SERVER_REKEY 3 +#define SILC_PROTOCOL_SERVER_BACKUP 4 /* #define SILC_PROTOCOL_SERVER_MAX 255 */ /* Internal context for Key Exchange protocol. */ @@ -43,8 +44,10 @@ typedef struct { void *dest_id; SilcIdType dest_id_type; - /* Pointer to the configuration. */ - void *config; + /* Pointer to the configurations. */ + void *cconfig; + void *sconfig; + void *rconfig; SilcTask timeout_task; SilcPacketContext *packet; @@ -79,8 +82,10 @@ typedef struct { void *dest_id; SilcIdType dest_id_type; - /* Pointer to the configuration. */ - void *config; + /* Pointer to the configurations. */ + void *cconfig; + void *sconfig; + void *rconfig; SilcTask timeout_task; SilcPacketContext *packet;