projects
/
silc.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Integer type name change.
[silc.git]
/
lib
/
silcclient
/
command.c
diff --git
a/lib/silcclient/command.c
b/lib/silcclient/command.c
index f886e75915e3b4115d24b09e6b0c01c25c6a0e51..2a388e96459215d6f69dc6448a17747e27ff65ca 100644
(file)
--- a/
lib/silcclient/command.c
+++ b/
lib/silcclient/command.c
@@
-41,8
+41,8
@@
encoded into correct form and in correct order. */
void silc_client_command_send(SilcClient client, SilcClientConnection conn,
encoded into correct form and in correct order. */
void silc_client_command_send(SilcClient client, SilcClientConnection conn,
- SilcCommand command,
ui
nt16 ident,
-
ui
nt32 argc, ...)
+ SilcCommand command,
SilcUI
nt16 ident,
+
SilcUI
nt32 argc, ...)
{
SilcBuffer packet;
va_list ap;
{
SilcBuffer packet;
va_list ap;
@@
-93,7
+93,7
@@
void silc_client_command_call(SilcClientCommand command,
void silc_client_command_pending(SilcClientConnection conn,
SilcCommand reply_cmd,
void silc_client_command_pending(SilcClientConnection conn,
SilcCommand reply_cmd,
-
ui
nt16 ident,
+
SilcUI
nt16 ident,
SilcCommandCb callback,
void *context)
{
SilcCommandCb callback,
void *context)
{
@@
-111,7
+111,7
@@
void silc_client_command_pending(SilcClientConnection conn,
void silc_client_command_pending_del(SilcClientConnection conn,
SilcCommand reply_cmd,
void silc_client_command_pending_del(SilcClientConnection conn,
SilcCommand reply_cmd,
-
ui
nt16 ident)
+
SilcUI
nt16 ident)
{
SilcClientCommandPending *r;
{
SilcClientCommandPending *r;
@@
-130,7
+130,7
@@
void silc_client_command_pending_del(SilcClientConnection conn,
int silc_client_command_pending_check(SilcClientConnection conn,
SilcClientCommandReplyContext ctx,
SilcCommand command,
int silc_client_command_pending_check(SilcClientConnection conn,
SilcClientCommandReplyContext ctx,
SilcCommand command,
-
ui
nt16 ident)
+
SilcUI
nt16 ident)
{
SilcClientCommandPending *r;
{
SilcClientCommandPending *r;
@@
-546,7
+546,7
@@
SILC_CLIENT_CMD_FUNC(invite)
SilcClientEntry client_entry = NULL;
SilcChannelEntry channel;
SilcBuffer buffer, clidp, chidp;
SilcClientEntry client_entry = NULL;
SilcChannelEntry channel;
SilcBuffer buffer, clidp, chidp;
-
ui
nt32 type = 0;
+
SilcUI
nt32 type = 0;
char *nickname = NULL, *name;
char *invite = NULL;
char *nickname = NULL, *name;
char *invite = NULL;
@@
-1076,7
+1076,7
@@
SILC_CLIENT_CMD_FUNC(umode)
SilcClientConnection conn = cmd->conn;
SilcBuffer buffer, idp;
unsigned char *cp, modebuf[4];
SilcClientConnection conn = cmd->conn;
SilcBuffer buffer, idp;
unsigned char *cp, modebuf[4];
-
ui
nt32 mode, add, len;
+
SilcUI
nt32 mode, add, len;
int i;
if (!cmd->conn) {
int i;
if (!cmd->conn) {
@@
-1171,7
+1171,7
@@
SILC_CLIENT_CMD_FUNC(cmode)
SilcChannelEntry channel;
SilcBuffer buffer, chidp, auth = NULL;
unsigned char *name, *cp, modebuf[4], tmp[4], *arg = NULL;
SilcChannelEntry channel;
SilcBuffer buffer, chidp, auth = NULL;
unsigned char *name, *cp, modebuf[4], tmp[4], *arg = NULL;
-
ui
nt32 mode, add, type, len, arg_len = 0;
+
SilcUI
nt32 mode, add, type, len, arg_len = 0;
int i;
if (!cmd->conn) {
int i;
if (!cmd->conn) {
@@
-1401,7
+1401,7
@@
SILC_CLIENT_CMD_FUNC(cumode)
SilcClientEntry client_entry;
SilcBuffer buffer, clidp, chidp, auth = NULL;
unsigned char *name, *cp, modebuf[4];
SilcClientEntry client_entry;
SilcBuffer buffer, clidp, chidp, auth = NULL;
unsigned char *name, *cp, modebuf[4];
-
ui
nt32 mode = 0, add, len;
+
SilcUI
nt32 mode = 0, add, len;
char *nickname = NULL;
int i;
char *nickname = NULL;
int i;
@@
-1650,7
+1650,7
@@
SILC_CLIENT_CMD_FUNC(kick)
}
static void silc_client_command_oper_send(unsigned char *data,
}
static void silc_client_command_oper_send(unsigned char *data,
-
ui
nt32 data_len, void *context)
+
SilcUI
nt32 data_len, void *context)
{
SilcClientCommandContext cmd = (SilcClientCommandContext)context;
SilcClientConnection conn = cmd->conn;
{
SilcClientCommandContext cmd = (SilcClientCommandContext)context;
SilcClientConnection conn = cmd->conn;
@@
-1718,7
+1718,7
@@
SILC_CLIENT_CMD_FUNC(oper)
}
static void silc_client_command_silcoper_send(unsigned char *data,
}
static void silc_client_command_silcoper_send(unsigned char *data,
-
ui
nt32 data_len, void *context)
+
SilcUI
nt32 data_len, void *context)
{
SilcClientCommandContext cmd = (SilcClientCommandContext)context;
SilcClientConnection conn = cmd->conn;
{
SilcClientCommandContext cmd = (SilcClientCommandContext)context;
SilcClientConnection conn = cmd->conn;
@@
-1793,7
+1793,7
@@
SILC_CLIENT_CMD_FUNC(connect)
SilcClientConnection conn = cmd->conn;
SilcBuffer buffer;
unsigned char port[4];
SilcClientConnection conn = cmd->conn;
SilcBuffer buffer;
unsigned char port[4];
-
ui
nt32 tmp;
+
SilcUI
nt32 tmp;
if (!cmd->conn) {
SILC_NOT_CONNECTED(cmd->client, cmd->conn);
if (!cmd->conn) {
SILC_NOT_CONNECTED(cmd->client, cmd->conn);
@@
-1920,7
+1920,7
@@
SILC_CLIENT_CMD_FUNC(close)
SilcClientConnection conn = cmd->conn;
SilcBuffer buffer;
unsigned char port[4];
SilcClientConnection conn = cmd->conn;
SilcBuffer buffer;
unsigned char port[4];
-
ui
nt32 tmp;
+
SilcUI
nt32 tmp;
if (!cmd->conn) {
SILC_NOT_CONNECTED(cmd->client, cmd->conn);
if (!cmd->conn) {
SILC_NOT_CONNECTED(cmd->client, cmd->conn);
@@
-2240,8
+2240,8
@@
bool silc_client_command_register(SilcClient client,
const char *name,
SilcCommandCb command_function,
SilcCommandCb command_reply_function,
const char *name,
SilcCommandCb command_function,
SilcCommandCb command_reply_function,
-
ui
nt8 max_args,
-
ui
nt16 ident)
+
SilcUI
nt8 max_args,
+
SilcUI
nt16 ident)
{
SilcClientCommand cmd;
{
SilcClientCommand cmd;
@@
-2266,7
+2266,7
@@
bool silc_client_command_unregister(SilcClient client,
SilcCommand command,
SilcCommandCb command_function,
SilcCommandCb command_reply_function,
SilcCommand command,
SilcCommandCb command_function,
SilcCommandCb command_reply_function,
-
ui
nt16 ident)
+
SilcUI
nt16 ident)
{
SilcClientCommand cmd;
{
SilcClientCommand cmd;