X-Git-Url: http://git.silcnet.org/gitweb/?a=blobdiff_plain;f=apps%2Firssi%2Fsrc%2Fsilc%2Fcore%2Fsilc-channels.h;fp=apps%2Firssi%2Fsrc%2Fsilc%2Fcore%2Fsilc-channels.h;h=0000000000000000000000000000000000000000;hb=72c2de619079457f7a68100eb13385275a424a23;hp=60e12dc5fb0d8b1bb30365c3da1a95350cb6573a;hpb=e7b6c157b80152bf9fb9266e6bdd93f9fb0db776;p=runtime.git diff --git a/apps/irssi/src/silc/core/silc-channels.h b/apps/irssi/src/silc/core/silc-channels.h deleted file mode 100644 index 60e12dc5..00000000 --- a/apps/irssi/src/silc/core/silc-channels.h +++ /dev/null @@ -1,38 +0,0 @@ -#ifndef __SILC_CHANNELS_H -#define __SILC_CHANNELS_H - -#include "chat-protocols.h" -#include "channels.h" -#include "silc-servers.h" - -/* Returns SILC_CHANNEL_REC if it's SILC channel, NULL if it isn't. */ -#define SILC_CHANNEL(channel) \ - PROTO_CHECK_CAST(CHANNEL(channel), SILC_CHANNEL_REC, chat_type, "SILC") -#define IS_SILC_CHANNEL(channel) \ - (SILC_CHANNEL(channel) ? TRUE : FALSE) -#define silc_channel_find(server, name) \ - SILC_CHANNEL(channel_find(SERVER(server), name)) - -#define STRUCT_SERVER_REC SILC_SERVER_REC -typedef struct { -#include "channel-rec.h" - GSList *banlist; /* list of bans */ - GSList *ebanlist; /* list of ban exceptions */ - GSList *invitelist; /* invite list */ - SilcUInt32 cur_key; - SilcChannelEntry entry; -} SILC_CHANNEL_REC; - -void silc_channels_init(void); -void silc_channels_deinit(void); - -/* Create new SILC channel record */ -SILC_CHANNEL_REC *silc_channel_create(SILC_SERVER_REC *server, - const char *name, - const char *visible_name, - int automatic); -SILC_CHANNEL_REC *silc_channel_find_entry(SILC_SERVER_REC *server, - SilcChannelEntry entry); - -bool silc_set_away(const char *reason, SILC_SERVER_REC *server); -#endif