/* Context sent as argument to all command reply functions */
typedef struct {
SilcServer server;
- SilcSocketConnection sock;
+ SilcPacketStream sock;
SilcCommandPayload payload;
SilcArgumentPayload args;
SilcServerCommandPendingCallbacks callbacks;
SilcUInt32 callbacks_count;
SilcUInt16 ident;
+ unsigned int pending : 1;
} *SilcServerCommandReplyContext;
/* Macros */
/* Prototypes */
void silc_server_command_reply_free(SilcServerCommandReplyContext cmd);
void silc_server_command_reply_process(SilcServer server,
- SilcSocketConnection sock,
+ SilcPacketStream sock,
SilcBuffer buffer);
SILC_SERVER_CMD_REPLY_FUNC(whois);
SILC_SERVER_CMD_REPLY_FUNC(whowas);