| 19 |
|
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 |
| 20 |
|
* USA |
| 21 |
|
* |
| 22 |
< |
* $Id: s_user.h,v 7.51 2005/09/17 10:30:21 michael Exp $ |
| 22 |
> |
* $Id$ |
| 23 |
|
*/ |
| 24 |
|
|
| 25 |
|
#ifndef INCLUDED_s_user_h |
| 31 |
|
|
| 32 |
|
struct Client; |
| 33 |
|
struct AccessItem; |
| 34 |
+ |
struct ConfItem; |
| 35 |
|
|
| 36 |
< |
extern int MaxClientCount; /* GLOBAL - highest number of clients */ |
| 37 |
< |
extern int MaxConnectionCount; /* GLOBAL - highest number of connections */ |
| 38 |
< |
extern struct Callback *entering_umode_cb; |
| 39 |
< |
extern struct Callback *umode_cb; |
| 40 |
< |
extern struct Callback *uid_get_cb; |
| 41 |
< |
extern unsigned int user_modes[]; |
| 42 |
< |
|
| 43 |
< |
extern void assemble_umode_buffer(void); |
| 44 |
< |
extern void set_user_mode(struct Client *, struct Client *, int, char **); |
| 45 |
< |
extern void send_umode(struct Client *, struct Client *, |
| 36 |
> |
void init_uid(void); |
| 37 |
> |
void init_isupport(void); |
| 38 |
> |
|
| 39 |
> |
EXTERN int MaxClientCount; /* GLOBAL - highest number of clients */ |
| 40 |
> |
EXTERN int MaxConnectionCount; /* GLOBAL - highest number of connections */ |
| 41 |
> |
EXTERN struct Callback *entering_umode_cb; |
| 42 |
> |
EXTERN struct Callback *umode_cb; |
| 43 |
> |
EXTERN struct Callback *uid_get_cb; |
| 44 |
> |
EXTERN unsigned int user_modes[]; |
| 45 |
> |
|
| 46 |
> |
EXTERN void assemble_umode_buffer(void); |
| 47 |
> |
EXTERN void set_user_mode(struct Client *, struct Client *, int, char **); |
| 48 |
> |
EXTERN void send_umode(struct Client *, struct Client *, |
| 49 |
|
unsigned int, unsigned int, char *); |
| 50 |
< |
extern void send_umode_out(struct Client *, struct Client *, unsigned int); |
| 51 |
< |
extern void show_lusers(struct Client *); |
| 52 |
< |
extern void show_isupport(struct Client *); |
| 53 |
< |
extern void oper_up(struct Client *); |
| 50 |
> |
EXTERN void send_umode_out(struct Client *, struct Client *, unsigned int); |
| 51 |
> |
EXTERN void show_lusers(struct Client *); |
| 52 |
> |
EXTERN void show_isupport(struct Client *); |
| 53 |
> |
EXTERN void oper_up(struct Client *, struct ConfItem *); |
| 54 |
|
|
| 55 |
< |
extern void register_local_user(struct Client *, struct Client *, |
| 55 |
> |
EXTERN void register_local_user(struct Client *, struct Client *, |
| 56 |
|
const char *, const char *); |
| 57 |
< |
extern void register_remote_user(struct Client *, struct Client *, |
| 57 |
> |
EXTERN void register_remote_user(struct Client *, struct Client *, |
| 58 |
|
const char *, const char *, |
| 59 |
|
const char *, const char *); |
| 60 |
< |
extern void do_local_user(const char *, struct Client *, struct Client *, |
| 60 |
> |
EXTERN void do_local_user(const char *, struct Client *, struct Client *, |
| 61 |
|
const char *, const char *, const char *, |
| 62 |
|
const char *); |
| 63 |
< |
extern void init_uid(void); |
| 64 |
< |
extern int valid_hostname(const char *); |
| 65 |
< |
extern int valid_username(const char *); |
| 66 |
< |
extern void add_isupport(const char *, const char *, int); |
| 67 |
< |
extern void delete_isupport(const char *); |
| 64 |
< |
extern void init_isupport(void); |
| 65 |
< |
extern void rebuild_isupport_message_line(void); |
| 63 |
> |
EXTERN int valid_hostname(const char *); |
| 64 |
> |
EXTERN int valid_username(const char *); |
| 65 |
> |
EXTERN void add_isupport(const char *, const char *, int); |
| 66 |
> |
EXTERN void delete_isupport(const char *); |
| 67 |
> |
EXTERN void rebuild_isupport_message_line(void); |
| 68 |
|
|
| 69 |
|
#endif |