updates.
[silc.git] / lib / silcclient / command_reply.h
index ea180ae273fe5965b6ec1052fdb46a89a3cae636..afc14f9a1802335f7201a1dd215108ad8072ab37 100644 (file)
@@ -27,18 +27,19 @@ typedef struct {
 } SilcClientCommandReply;
 
 /* Context sent as argument to all command reply functions */
-typedef struct {
+struct SilcClientCommandReplyContextStruct {
   SilcClient client;
   SilcSocketConnection sock;
   SilcCommandPayload payload;
+  SilcCommandStatus status;
   SilcArgumentPayload args;
   SilcPacketContext *packet;
 
   /* If defined this executes the pending command. */
   SilcCommandCb callback;
   void *context;
-  uint16 ident;
-} *SilcClientCommandReplyContext;
+  SilcUInt16 ident;
+};
 
 /* Macros */
 
@@ -54,7 +55,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 */