More client library rewrites (added rekey)
[silc.git] / lib / silcclient / silcclient.h
index 2426cb57e5da8798e3c90f9c97c9d2bdeb296143..f6fdb7588efbcdec18861ac18b9d1385c162b978 100644 (file)
@@ -643,10 +643,6 @@ typedef struct {
      in the callbacks to protect application specific data. */
   SilcBool threads;
 
-  /* Rekey timeout in seconds. The client will perform rekey in this
-     time interval. If set to zero, the default value will be used. */
-  unsigned int rekey_secs;
-
   /* Connection authentication method request timeout. If server does not
      reply back the current authentication method when we've requested it
      in this time interval we'll assume the reply will not come at all.
@@ -926,6 +922,12 @@ typedef struct {
   /* Connection timeout.  If non-zero, the connection will timeout unless
      the SILC connection is completed in the specified amount of time. */
   SilcUInt32 timeout_secs;
+
+  /* Rekey timeout in seconds.  The client will perform rekey in this
+     time interval.  If set to zero, the default value will be used
+     (3600 seconds, 1 hour). */
+  unsigned int rekey_secs;
+
 } SilcClientConnectionParams;
 /***/