summary refs log tree commit diff stats
path: root/src/common/modes.h
blob: 3f9c4a72756f7e75c570fa88589a13f4cfaebda7 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
#ifndef XCHAT_MODES_H
#define XCHAT_MODES_H

int is_channel (server *serv, char *chan);
char get_nick_prefix (server *serv, unsigned int access);
unsigned int nick_access (server *serv, char *nick, int *modechars);
int mode_access (server *serv, char mode, char *prefix);
void inbound_005 (server *serv, char *word[]);
void handle_mode (server *serv, char *word[], char *word_eol[], char *nick, int numeric_324);
void send_channel_modes (session *sess, char *tbuf, char *word[], int start, int end, char sign, char mode, int modes_per_line);

#endif