mirror of
https://github.com/irssi/irssi.git
synced 2026-08-18 08:02:13 +02:00
Don't break the API.
Have a ignore_find_full method that is the one that all the new code should be using and provide some working stubs for ignore_find and ignore_find_noact.
This commit is contained in:
parent
609f3ba6c2
commit
dbee606c60
4 changed files with 22 additions and 7 deletions
|
|
@ -36,8 +36,13 @@ enum {
|
|||
IGNORE_FIND_NOACT = 0x02, // Exclude the targets with NOACT level
|
||||
};
|
||||
|
||||
IGNORE_REC *ignore_find(const char *servertag, const char *mask, const char *pattern,
|
||||
char **channels, const int flags);
|
||||
IGNORE_REC *ignore_find_full (const char *servertag, const char *mask, const char *pattern,
|
||||
char **channels, const int flags);
|
||||
|
||||
// Convenience wrappers around ignore_find_full, for compatibility purpose
|
||||
|
||||
IGNORE_REC *ignore_find(const char *servertag, const char *mask, char **channels);
|
||||
IGNORE_REC *ignore_find_noact(const char *servertag, const char *mask, char **channels, int noact);
|
||||
|
||||
void ignore_add_rec(IGNORE_REC *rec);
|
||||
void ignore_update_rec(IGNORE_REC *rec);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue