updates.
[silc.git] / apps / silcd / server_internal.h
index bc0e3d755d8bacb00cdb1bc43e946bc70e84471f..0d059f4f81dccf2fe7ea9ef1ea0c2e21ec410da4 100644 (file)
@@ -151,6 +151,15 @@ typedef struct {
   SilcServer server;
 } *SilcServerHBContext;
 
+/* Failure context. This is allocated when failure packet is received.
+   Failure packets are processed with timeout and data is saved in this
+   structure. */
+typedef struct {
+  SilcServer server;
+  SilcSocketConnection sock;
+  unsigned int failure;
+} *SilcServerFailureContext;
+
 /* Macros */
 
 /* Registers generic task for file descriptor for reading from network and