mirror of
https://github.com/irssi/irssi.git
synced 2026-08-17 15:42:26 +02:00
Lots of moving stuff around - hopefully I didn't break too much :)
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@632 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
parent
3d124da13b
commit
e395e87ded
160 changed files with 3954 additions and 2959 deletions
33
src/core/channels-setup.h
Normal file
33
src/core/channels-setup.h
Normal file
|
|
@ -0,0 +1,33 @@
|
|||
#ifndef __CHANNELS_SETUP_H
|
||||
#define __CHANNELS_SETUP_H
|
||||
|
||||
#include "modules.h"
|
||||
|
||||
typedef struct {
|
||||
char *name;
|
||||
char *chatnet;
|
||||
char *password;
|
||||
|
||||
char *botmasks;
|
||||
char *autosendcmd;
|
||||
|
||||
int autojoin:1;
|
||||
GHashTable *module_data;
|
||||
} CHANNEL_SETUP_REC;
|
||||
|
||||
extern GSList *setupchannels;
|
||||
|
||||
void channels_setup_init(void);
|
||||
void channels_setup_deinit(void);
|
||||
|
||||
void channels_setup_create(CHANNEL_SETUP_REC *channel);
|
||||
void channels_setup_destroy(CHANNEL_SETUP_REC *channel);
|
||||
|
||||
CHANNEL_SETUP_REC *channels_setup_find(const char *channel,
|
||||
const char *chatnet);
|
||||
|
||||
#define channel_chatnet_match(rec, chatnet) \
|
||||
((rec) == NULL || (rec)[0] == '\0' || \
|
||||
((chatnet) != NULL && g_strcasecmp(rec, chatnet) == 0))
|
||||
|
||||
#endif
|
||||
Loading…
Add table
Add a link
Reference in a new issue