X-Git-Url: http://git.silcnet.org/gitweb/?a=blobdiff_plain;f=lib%2Fsilcclient%2Fcommand_reply.h;h=4e5cdbee8178e133c15d7940dfd7c73306bedb3e;hb=a818c5b5411bbc4436d1c5f011236985c96bb787;hp=33c412ca485e9c1dd5fd68e8c0452398095e20b3;hpb=6394d86063413bc1c473723f3ef971840195bcd3;p=silc.git diff --git a/lib/silcclient/command_reply.h b/lib/silcclient/command_reply.h index 33c412ca..4e5cdbee 100644 --- a/lib/silcclient/command_reply.h +++ b/lib/silcclient/command_reply.h @@ -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 */