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 f950447d35f8944fd3c28eeff6e71e47e339c300..3696f748226e23a1f0d21c874ce3cc290360a7e1 100644
(file)
--- a/
lib/silcclient/command_reply.h
+++ b/
lib/silcclient/command_reply.h
@@
-37,8
+37,8
@@
struct SilcClientCommandReplyContextStruct {
SilcClient client;
SilcSocketConnection sock;
SilcCommandPayload payload;
SilcClient client;
SilcSocketConnection sock;
SilcCommandPayload payload;
- Silc
Command
Status status;
- Silc
Command
Status error;
+ SilcStatus status;
+ SilcStatus error;
SilcArgumentPayload args;
SilcPacketContext *packet;
SilcArgumentPayload args;
SilcPacketContext *packet;
@@
-67,20
+67,20
@@
void silc_client_command_reply_##func(void *context, void *context2)
/* Status message structure. Messages are defined below. */
typedef struct {
/* Status message structure. Messages are defined below. */
typedef struct {
- Silc
Command
Status status;
+ SilcStatus status;
char *message;
char *message;
-} Silc
Command
StatusMessage;
+} SilcStatusMessage;
/* Status messages returned by the server */
#define STAT(x) SILC_STATUS_ERR_##x
/* Status messages returned by the server */
#define STAT(x) SILC_STATUS_ERR_##x
-DLLAPI extern const Silc
Command
StatusMessage silc_command_status_messages[];
+DLLAPI extern const SilcStatusMessage silc_command_status_messages[];
/* Prototypes */
/* Prototypes */
+char *silc_client_status_message(SilcStatus status);
void silc_client_command_reply_process(SilcClient client,
SilcSocketConnection sock,
SilcPacketContext *packet);
void silc_client_command_reply_process(SilcClient client,
SilcSocketConnection sock,
SilcPacketContext *packet);
-char *silc_client_command_status_message(SilcCommandStatus status);
void silc_client_command_reply_free(SilcClientCommandReplyContext cmd);
SILC_CLIENT_CMD_REPLY_FUNC(whois);
SILC_CLIENT_CMD_REPLY_FUNC(whowas);
void silc_client_command_reply_free(SilcClientCommandReplyContext cmd);
SILC_CLIENT_CMD_REPLY_FUNC(whois);
SILC_CLIENT_CMD_REPLY_FUNC(whowas);