updates. New data types.
[silc.git] / apps / silcd / protocol.h
index 7b57da2d67448d0dade022515de06478803d3f9c..e26a58e0d1b6b6d42dfefc25d24114a4b187e875 100644 (file)
@@ -63,13 +63,13 @@ typedef struct {
   /* Auth method that must be used. This is resolved before this
      connection authentication protocol is started. Used when we are
      initiating. */
-  unsigned int auth_meth;
+  uint32 auth_meth;
 
   /* Authentication data if we alreay know it. This is filled before
      starting the protocol if we know the authentication data. Otherwise
      these are and remain NULL. Used when we are initiating. */
-  unsigned char *auth_data;
-  unsigned int auth_data_len;
+  void *auth_data;
+  uint32 auth_data_len;
 
   /* Destinations ID from KE protocol context */
   void *dest_id;
@@ -77,7 +77,7 @@ typedef struct {
 
   SilcTask timeout_task;
   SilcPacketContext *packet;
-  unsigned short conn_type;
+  uint16 conn_type;
 } SilcServerConnAuthInternalContext;
 
 /* Prototypes */