X-Git-Url: http://git.silcnet.org/gitweb/?a=blobdiff_plain;f=lib%2Fsilcclient%2Fcommand.c;h=935e5fd03c6186c5c2209ac40effb67ecb90c6f9;hb=40f8443d8d3a6577336ee66d18e04d9ac4d956bb;hp=a64353b9a999abf87349f894d99200eda52d79a7;hpb=0f0340b9fbce9704cc7171f8f0104ce9103d2de6;p=silc.git diff --git a/lib/silcclient/command.c b/lib/silcclient/command.c index a64353b9..935e5fd0 100644 --- a/lib/silcclient/command.c +++ b/lib/silcclient/command.c @@ -18,7 +18,7 @@ */ /* $Id$ */ -#include "silcincludes.h" +#include "silc.h" #include "silcclient.h" #include "client_internal.h" @@ -80,7 +80,7 @@ SilcClientCommand silc_client_command_find(SilcClient client, /* Executes a command */ -bool silc_client_command_call(SilcClient client, +SilcBool silc_client_command_call(SilcClient client, SilcClientConnection conn, const char *command_line, ...) { @@ -286,7 +286,7 @@ SILC_CLIENT_CMD_FUNC(whois) SilcBuffer buffer, attrs = NULL; unsigned char count[4], *tmp = NULL; int i; - bool details = FALSE, nick = FALSE; + SilcBool details = FALSE, nick = FALSE; unsigned char *pubkey = NULL; if (!cmd->conn) { @@ -1664,7 +1664,7 @@ SILC_CLIENT_CMD_FUNC(cmode) case 'C': if (add) { int k; - bool chadd = FALSE; + SilcBool chadd = FALSE; SilcPublicKey chpk = NULL; mode |= SILC_CHANNEL_MODE_CHANNEL_AUTH; @@ -2327,7 +2327,7 @@ SILC_CLIENT_CMD_FUNC(watch) SilcBuffer buffer, idp = NULL, args = NULL; int type = 0; const char *pubkey = NULL; - bool pubkey_add = TRUE; + SilcBool pubkey_add = TRUE; if (!cmd->conn) { SILC_NOT_CONNECTED(cmd->client, cmd->conn); @@ -2678,7 +2678,7 @@ SILC_CLIENT_CMD_FUNC(service) command identifier `ident'. Application usually does not need it and set it to zero value. */ -bool silc_client_command_register(SilcClient client, +SilcBool silc_client_command_register(SilcClient client, SilcCommand command, const char *name, SilcCommandCb command_function, @@ -2705,7 +2705,7 @@ bool silc_client_command_register(SilcClient client, `command_function' and command reply function `command_reply_function'. Returns TRUE if the command was found and unregistered. */ -bool silc_client_command_unregister(SilcClient client, +SilcBool silc_client_command_unregister(SilcClient client, SilcCommand command, SilcCommandCb command_function, SilcCommandCb command_reply_function,