updates.
[silc.git] / apps / silcd / protocol.h
index f5ab3c5b2a48d764ad2bd3f0b0d9603c9e72133a..21c3d193bd987bf00aa024713eae8b88e2a6e439 100644 (file)
@@ -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;