/* silcnotify.h Author: Pekka Riikonen Copyright (C) 1997 - 2000 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. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. */ #ifndef SILCNOTIFY_H #define SILCNOTIFY_H /* Type definition of notify type */ typedef unsigned short SilcNotifyType; /* SILC notify types. Server may send these notify types to client to notify of some action. Server also sends human readable notify message to the client which client may ignore. */ #define SILC_NOTIFY_TYPE_NONE 0 /* no specific type */ #define SILC_NOTIFY_TYPE_INVITE 1 /* "invites you to channel" */ #define SILC_NOTIFY_TYPE_JOIN 2 /* "has joined channel" */ #define SILC_NOTIFY_TYPE_LEAVE 3 /* "has left channel" */ #define SILC_NOTIFY_TYPE_SIGNOFF 4 /* "signoff" */ #endif