Integer type name change.
[silc.git] / lib / silcclient / command_reply.h
index 33c412ca485e9c1dd5fd68e8c0452398095e20b3..4e5cdbee8178e133c15d7940dfd7c73306bedb3e 100644 (file)
@@ -27,7 +27,7 @@ typedef struct {
 } SilcClientCommandReply;
 
 /* Context sent as argument to all command reply functions */
-typedef struct {
+struct SilcClientCommandReplyContextStruct {
   SilcClient client;
   SilcSocketConnection sock;
   SilcCommandPayload payload;
@@ -35,11 +35,10 @@ typedef struct {
   SilcPacketContext *packet;
 
   /* If defined this executes the pending command. */
-  SilcClientPendingDestructor destructor;
   SilcCommandCb callback;
   void *context;
-  uint16 ident;
-} *SilcClientCommandReplyContext;
+  SilcUInt16 ident;
+};
 
 /* Macros */
 
@@ -55,7 +54,7 @@ typedef struct {
 
 /* Status messages returned by the server */
 #define STAT(x) SILC_STATUS_ERR_##x
-extern const SilcCommandStatusMessage silc_command_status_messages[];
+DLLAPI extern const SilcCommandStatusMessage silc_command_status_messages[];
 
 /* Prototypes */