[go: up one dir, main page]

File: bans.h

package info (click to toggle)
irssi-text 0.8.4-3.1
  • links: PTS
  • area: main
  • in suites: woody
  • size: 6,048 kB
  • ctags: 5,670
  • sloc: ansic: 51,220; sh: 8,913; perl: 1,076; makefile: 1,017
file content (14 lines) | stat: -rw-r--r-- 425 bytes parent folder | download | duplicates (16)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#ifndef __BANS_H
#define __BANS_H

void bans_init(void);
void bans_deinit(void);

/* if ban_type is <= 0, use the default */
char *ban_get_mask(IRC_CHANNEL_REC *channel, const char *nick, int ban_type);
char *ban_get_masks(IRC_CHANNEL_REC *channel, const char *nicks, int ban_type);

void ban_set(IRC_CHANNEL_REC *channel, const char *bans, int ban_type);
void ban_remove(IRC_CHANNEL_REC *channel, const char *bans);

#endif