X-Git-Url: http://git.silcnet.org/gitweb/?a=blobdiff_plain;f=lib%2Fsilccore%2Fsilcnotify.h;h=bc6b5035f8cd52c0a1110b9f10bb7ea74a44952e;hb=48df45ce74e38c47a8a05a5dcb3b57a61eeb0b5d;hp=b95f09fd050d6b6fca66128762a4a0a5a8726fa5;hpb=0e035ff559c5c5c748b2fda72a1cd1935afec33a;p=silc.git diff --git a/lib/silccore/silcnotify.h b/lib/silccore/silcnotify.h index b95f09fd..bc6b5035 100644 --- a/lib/silccore/silcnotify.h +++ b/lib/silccore/silcnotify.h @@ -79,6 +79,7 @@ typedef SilcUInt16 SilcNotifyType; #define SILC_NOTIFY_TYPE_KILLED 13 /* Killed from the network */ #define SILC_NOTIFY_TYPE_UMODE_CHANGE 14 /* user mode was changed */ #define SILC_NOTIFY_TYPE_BAN 15 /* ban list change */ +#define SILC_NOTIFY_TYPE_ERROR 16 /* error notify */ /***/ /* Prototypes */ @@ -87,7 +88,7 @@ typedef SilcUInt16 SilcNotifyType; * * SYNOPSIS * - * SilcNotifyPayload + * SilcNotifyPayload * silc_notify_payload_parse(const unsigned char *payload, * SilcUInt32 payload_len); * @@ -104,14 +105,15 @@ SilcNotifyPayload silc_notify_payload_parse(const unsigned char *payload, * * SYNOPSIS * - * SilcBuffer silc_notify_payload_encode(SilcNotifyType type, SilcUInt32 argc, + * SilcBuffer silc_notify_payload_encode(SilcNotifyType type, + * SilcUInt32 argc, * va_list ap); * * DESCRIPTION * * Encode notify payload with variable argument list. If `argc' is > 0 * argument payloads will be associated to the notify payload. Variable - * arguments must be {usigned char *, SilcUInt32 (len)}. + * arguments must be {unsigned char *, SilcUInt32 (len)}. * ***/ SilcBuffer silc_notify_payload_encode(SilcNotifyType type, SilcUInt32 argc, @@ -121,7 +123,7 @@ SilcBuffer silc_notify_payload_encode(SilcNotifyType type, SilcUInt32 argc, * * SYNOPSIS * - * SilcBuffer silc_notify_payload_encode_args(SilcNotifyType type, + * SilcBuffer silc_notify_payload_encode_args(SilcNotifyType type, * SilcUInt32 argc, * SilcBuffer args); *