Added SILC Thread Queue API
[crypto.git] / lib / silcske / silcske_i.h
index 7edfa04a9d65cc1aef4f474370b072a3ddcdef45..caa491a90f5ee95d5c3015654438063385478470 100644 (file)
@@ -4,7 +4,7 @@
 
   Author: Pekka Riikonen <priikone@silcnet.org>
 
-  Copyright (C) 2005 - 2006 Pekka Riikonen
+  Copyright (C) 2005 - 2007 Pekka Riikonen
 
   This program is free software; you can redistribute it and/or modify
   it under the terms of the GNU General Public License as published by
@@ -75,6 +75,7 @@ struct SilcSKEStruct {
   SilcSchedule schedule;
   SilcFSMStruct fsm;
   SilcAsyncOperationStruct op;
+  SilcAsyncOperation key_op;
   SilcUInt16 session_port;
 
   /* Packet retransmission */
@@ -87,6 +88,9 @@ struct SilcSKEStruct {
     SilcUInt32 data_len;
   } retrans;
 
+  SilcUInt16 timeout;                /* SKE timeout */
+  SilcUInt16 refcnt;                 /* Reference counter */
+
   unsigned int aborted    : 1;        /* Set when SKE aborted */
   unsigned int freed      : 1;       /* Set when freed during session */
   unsigned int responder  : 1;       /* Set when we are responder side */