Merge branch 'master' of git://valera-ext.nynaeve.net/silc into silc.1.1.branch
[silc.git] / lib / silcske / silcske_i.h
index 6e1550ea774938f0e626ec585f3296732b4c4a18..b7b6e2e76157315174ed1e609b838f1728efbd17 100644 (file)
@@ -4,7 +4,7 @@
 
   Author: Pekka Riikonen <priikone@silcnet.org>
 
-  Copyright (C) 2005 - 2006 Pekka Riikonen
+  Copyright (C) 2005 - 2008 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
@@ -87,10 +87,14 @@ struct SilcSKEStruct {
     SilcUInt32 data_len;
   } retrans;
 
-  unsigned int aborted    : 1;
-  unsigned int freed      : 1;
-  unsigned int responder  : 1;
-  unsigned int running    : 1;
+  SilcUInt16 timeout;                /* SKE timeout */
+  SilcUInt16 refcnt;                 /* Reference counter */
+
+  unsigned int aborted          : 1;  /* Set when SKE aborted */
+  unsigned int responder        : 1;  /* Set when we are responder side */
+  unsigned int rekeying         : 1;  /* Set when rekeying */
+  unsigned int failure_notified : 1;  /* Set to indicate that we already called
+                                        the failure notify routine */
 };
 
 #endif /* SILCSKE_I_H */