/* All server command replys */
extern SilcServerCommandReply silc_command_reply_list[];
+/* Context holding pending command callbacks. */
+typedef struct {
+ SilcCommandCb callback;
+ void *context;
+} *SilcServerCommandPendingCallbacks;
+
/* Context sent as argument to all command reply functions */
typedef struct {
SilcServer server;
SilcArgumentPayload args;
/* If defined this executes the pending command. */
- SilcServerPendingDestructor destructor;
- SilcCommandCb callback;
- void *context;
- uint16 ident;
+ SilcServerCommandPendingCallbacks callbacks;
+ SilcUInt32 callbacks_count;
+ SilcUInt16 ident;
} *SilcServerCommandReplyContext;
/* Macros */
SILC_SERVER_CMD_REPLY_FUNC(join);
SILC_SERVER_CMD_REPLY_FUNC(users);
SILC_SERVER_CMD_REPLY_FUNC(getkey);
+SILC_SERVER_CMD_REPLY_FUNC(list);
#endif