X-Git-Url: http://git.silcnet.org/gitweb/?p=silc.git;a=blobdiff_plain;f=lib%2Fsilcclient%2Fcommand_reply.h;fp=apps%2Fsilc%2Fcommand_reply.h;h=1a7e057867405232e565b21640e793ee77230a52;hp=36b312860733035d2df58f02f963c30bc38c93ad;hb=318d79b391bf6288e3e28c840217a7097f3d0392;hpb=0f9738ce962b8498bbed0a75d5fb6fa127e3577f diff --git a/apps/silc/command_reply.h b/lib/silcclient/command_reply.h similarity index 96% rename from apps/silc/command_reply.h rename to lib/silcclient/command_reply.h index 36b31286..1a7e0578 100644 --- a/apps/silc/command_reply.h +++ b/lib/silcclient/command_reply.h @@ -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); @@ -85,7 +86,6 @@ SILC_CLIENT_CMD_REPLY_FUNC(info); SILC_CLIENT_CMD_REPLY_FUNC(links); SILC_CLIENT_CMD_REPLY_FUNC(stats); SILC_CLIENT_CMD_REPLY_FUNC(users); -SILC_CLIENT_CMD_REPLY_FUNC(away); SILC_CLIENT_CMD_REPLY_FUNC(connect); SILC_CLIENT_CMD_REPLY_FUNC(ping); SILC_CLIENT_CMD_REPLY_FUNC(pong); @@ -101,6 +101,5 @@ SILC_CLIENT_CMD_REPLY_FUNC(die); SILC_CLIENT_CMD_REPLY_FUNC(silcoper); SILC_CLIENT_CMD_REPLY_FUNC(leave); SILC_CLIENT_CMD_REPLY_FUNC(names); -SILC_CLIENT_CMD_REPLY_FUNC(msg); #endif