mirror of
https://github.com/irssi/irssi.git
synced 2026-08-19 08:32:07 +02:00
..adding new files..
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@171 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
parent
d01b094151
commit
c95034c6de
206 changed files with 31247 additions and 0 deletions
30
src/irc/core/ignore.h
Normal file
30
src/irc/core/ignore.h
Normal file
|
|
@ -0,0 +1,30 @@
|
|||
#ifndef __IGNORE_H
|
||||
#define __IGNORE_H
|
||||
|
||||
typedef struct {
|
||||
char *mask; /* nick mask */
|
||||
char *servertag; /* this is for autoignoring */
|
||||
char **channels; /* ignore only in these channels */
|
||||
char *pattern; /* text body must match this pattern */
|
||||
|
||||
int level; /* ignore these levels */
|
||||
int except_level; /* don't ignore these levels */
|
||||
|
||||
int regexp:1;
|
||||
int fullword:1;
|
||||
} IGNORE_REC;
|
||||
|
||||
extern GSList *ignores;
|
||||
|
||||
int ignore_check(IRC_SERVER_REC *server, const char *nick, const char *host,
|
||||
const char *channel, const char *text, int level);
|
||||
|
||||
IGNORE_REC *ignore_find(const char *servertag, const char *mask, char **channels);
|
||||
|
||||
void ignore_add_rec(IGNORE_REC *rec);
|
||||
void ignore_update_rec(IGNORE_REC *rec);
|
||||
|
||||
void ignore_init(void);
|
||||
void ignore_deinit(void);
|
||||
|
||||
#endif
|
||||
Loading…
Add table
Add a link
Reference in a new issue