projects
/
silc.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
updates.
[silc.git]
/
lib
/
silcclient
/
command_reply.h
diff --git
a/lib/silcclient/command_reply.h
b/lib/silcclient/command_reply.h
index 782b0aa244c2f106087641f8deed76ac454b979b..f950447d35f8944fd3c28eeff6e71e47e339c300 100644
(file)
--- a/
lib/silcclient/command_reply.h
+++ b/
lib/silcclient/command_reply.h
@@
-26,6
+26,12
@@
typedef struct {
SilcCommand cmd;
} SilcClientCommandReply;
SilcCommand cmd;
} SilcClientCommandReply;
+/* Context holding pending command callbacks. */
+typedef struct {
+ SilcCommandCb callback;
+ void *context;
+} *SilcClientCommandPendingCallbacks;
+
/* Context sent as argument to all command reply functions */
struct SilcClientCommandReplyContextStruct {
SilcClient client;
/* Context sent as argument to all command reply functions */
struct SilcClientCommandReplyContextStruct {
SilcClient client;
@@
-37,8
+43,8
@@
struct SilcClientCommandReplyContextStruct {
SilcPacketContext *packet;
/* If defined this executes the pending command. */
SilcPacketContext *packet;
/* If defined this executes the pending command. */
- SilcC
ommandCb callback
;
-
void *contex
t;
+ SilcC
lientCommandPendingCallbacks callbacks
;
+
SilcUInt32 callbacks_coun
t;
SilcUInt16 ident;
};
SilcUInt16 ident;
};