Changes to LEAVE command -- more consistent now and does error
[silc.git] / apps / silc / command_reply.h
index 36b312860733035d2df58f02f963c30bc38c93ad..0af5dddf0643aa0f6e1ce8853652d976841a0948 100644 (file)
@@ -35,6 +35,7 @@ typedef struct {
   SilcClient client;
   SilcSocketConnection sock;
   SilcCommandPayload payload;
+  SilcPacketContext *packet;
 
   /* If defined this executes the pending command. */
   void *context;
@@ -71,7 +72,7 @@ do {                                                  \
 /* Prototypes */
 void silc_client_command_reply_process(SilcClient client,
                                       SilcSocketConnection sock,
-                                      SilcBuffer buffer);
+                                      SilcPacketContext *packet);
 SILC_CLIENT_CMD_REPLY_FUNC(whois);
 SILC_CLIENT_CMD_REPLY_FUNC(whowas);
 SILC_CLIENT_CMD_REPLY_FUNC(identify);