Added NICK_CHANGE and TOPIC_SET notify types.
[silc.git] / lib / silccore / silcnotify.h
1 /*
2
3   silcnotify.h
4
5   Author: Pekka Riikonen <priikone@poseidon.pspt.fi>
6
7   Copyright (C) 1997 - 2000 Pekka Riikonen
8
9   This program is free software; you can redistribute it and/or modify
10   it under the terms of the GNU General Public License as published by
11   the Free Software Foundation; either version 2 of the License, or
12   (at your option) any later version.
13   
14   This program is distributed in the hope that it will be useful,
15   but WITHOUT ANY WARRANTY; without even the implied warranty of
16   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
17   GNU General Public License for more details.
18
19 */
20
21 #ifndef SILCNOTIFY_H
22 #define SILCNOTIFY_H
23
24 /* Type definition of notify type */
25 typedef unsigned short SilcNotifyType;
26
27 /* SILC notify types. Server may send these notify types to client to
28    notify of some action. Server also sends human readable notify message
29    to the client which client may ignore. */
30 #define SILC_NOTIFY_TYPE_NONE            0 /* no specific type */
31 #define SILC_NOTIFY_TYPE_INVITE          1 /* "invites you to channel" */
32 #define SILC_NOTIFY_TYPE_JOIN            2 /* "has joined channel" */
33 #define SILC_NOTIFY_TYPE_LEAVE           3 /* "has left channel" */
34 #define SILC_NOTIFY_TYPE_SIGNOFF         4 /* "signoff" */
35 #define SILC_NOTIFY_TYPE_TOPIC_SET       5 /* "topic has been changed" */
36 #define SILC_NOTIFY_TYPE_NICK_CHANGE     6 /* "has changed nickname" */
37
38 #endif