X-Git-Url: http://git.silcnet.org/gitweb/?p=silc.git;a=blobdiff_plain;f=lib%2Fsilccore%2Fsilccommand.h;h=059797e5bc5d03c95beb5dc299490f94d19b6b66;hp=dc0e64823b193f4622ba1f072205ca6266f20e7a;hb=HEAD;hpb=413da0f8686910f5e627393157566ae729ca99c4 diff --git a/lib/silccore/silccommand.h b/lib/silccore/silccommand.h index dc0e6482..059797e5 100644 --- a/lib/silccore/silccommand.h +++ b/lib/silccore/silccommand.h @@ -4,12 +4,11 @@ Author: Pekka Riikonen - Copyright (C) 1997 - 2001 Pekka Riikonen + Copyright (C) 1997 - 2008 Pekka Riikonen This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. + the Free Software Foundation; version 2 of the License. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of @@ -31,23 +30,6 @@ #ifndef SILCCOMMAND_H #define SILCCOMMAND_H -/****f* silccore/SilcCommandAPI/SilcCommandCb - * - * SYNOPSIS - * - * typedef void (*SilcCommandCb)(void *context, void *context2); - * - * DESCRIPTION - * - * Command function callback. The actual command function pointer. - * This is generic command callback that the application may choose to - * use with its command routines. However, none of the generic - * routines depend on this callback so application may freely define - * their own command callback if desired. - * - ***/ -typedef void (*SilcCommandCb)(void *context, void *context2); - /****s* silccore/SilcCommandAPI/SilcCommandPayload * * NAME @@ -383,7 +365,7 @@ SilcUInt16 silc_command_get_ident(SilcCommandPayload payload); * * SYNOPSIS * - * bool silc_command_get_status(SilcCommandPayload payload, + * SilcBool silc_command_get_status(SilcCommandPayload payload, * SilcStatus *status, * SilcStatus *error); * @@ -397,9 +379,9 @@ SilcUInt16 silc_command_get_ident(SilcCommandPayload payload); * which indicates that there will be list of errors. * ***/ -bool silc_command_get_status(SilcCommandPayload payload, - SilcStatus *status, - SilcStatus *error); +SilcBool silc_command_get_status(SilcCommandPayload payload, + SilcStatus *status, + SilcStatus *error); /****f* silccore/SilcCommandAPI/silc_command_set_ident *