silcclient: auto-negotiation of private message key using SKE over SILCnet
[silc.git] / lib / silcclient / client_internal.h
index 54582e20e3af80fb0b1143397209fb85c8dc5f63..dac40c41d41d6c13c7590dd24c7dd7fd2b8ce6ef 100644 (file)
@@ -4,7 +4,7 @@
 
   Author: Pekka Riikonen <priikone@silcnet.org>
 
-  Copyright (C) 1997 - 2007 Pekka Riikonen
+  Copyright (C) 1997 - 2014 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
 typedef struct {
   SilcSKE ske;
   SilcSKEVerifyCbCompletion completion;
+  SilcPublicKey public_key;
   void *completion_context;
+  void *context;
+  SilcBool aborted;
 } *SilcVerifyKeyContext;
 
 /* Command and command reply context used to hold registered commands
@@ -150,6 +153,7 @@ struct SilcClientConnectionInternalStruct {
   SilcUInt8 retry_timer;                /* Packet retry timer */
   SilcClientConnectionStatus status;    /* Connection callback status */
   SilcStatus error;                     /* Connection callback error */
+  SilcUInt32 ake_generation;            /* next AKE rekey generation */
 
   /* Events */
   unsigned int connect            : 1;  /* Connect remote host */