| 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 |
| 30 |
|
#define TOTALSIDUID (IRC_MAXSID + IRC_MAXUID) |
| 31 |
|
|
| 32 |
|
struct Client; |
| 33 |
– |
struct AccessItem; |
| 33 |
|
|
| 35 |
– |
extern int MaxClientCount; /* GLOBAL - highest number of clients */ |
| 36 |
– |
extern int MaxConnectionCount; /* GLOBAL - highest number of connections */ |
| 34 |
|
extern struct Callback *entering_umode_cb; |
| 35 |
|
extern struct Callback *umode_cb; |
| 39 |
– |
extern struct Callback *uid_get_cb; |
| 36 |
|
extern unsigned int user_modes[]; |
| 37 |
|
|
| 38 |
|
extern void assemble_umode_buffer(void); |
| 44 |
|
extern void show_isupport(struct Client *); |
| 45 |
|
extern void oper_up(struct Client *); |
| 46 |
|
|
| 47 |
< |
extern void register_local_user(struct Client *, struct Client *, |
| 48 |
< |
const char *, const char *); |
| 53 |
< |
extern void register_remote_user(struct Client *, struct Client *, |
| 47 |
> |
extern void register_local_user(struct Client *); |
| 48 |
> |
extern void register_remote_user(struct Client *, |
| 49 |
|
const char *, const char *, |
| 50 |
|
const char *, const char *); |
| 56 |
– |
extern void do_local_user(const char *, struct Client *, struct Client *, |
| 57 |
– |
const char *, const char *, const char *, |
| 58 |
– |
const char *); |
| 51 |
|
extern void init_uid(void); |
| 52 |
+ |
extern int valid_sid(const char *); |
| 53 |
|
extern int valid_hostname(const char *); |
| 54 |
|
extern int valid_username(const char *); |
| 55 |
+ |
extern int valid_nickname(const char *, const int); |
| 56 |
|
extern void add_isupport(const char *, const char *, int); |
| 57 |
|
extern void delete_isupport(const char *); |
| 58 |
|
extern void init_isupport(void); |
| 59 |
|
extern void rebuild_isupport_message_line(void); |
| 60 |
+ |
extern void user_set_hostmask(struct Client *, const char *); |
| 61 |
|
|
| 62 |
|
#endif |