ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/svn/ircd-hybrid/include/user.h
Revision: 801
Committed: Wed Aug 30 16:54:25 2006 UTC (19 years, 11 months ago) by adx
Content type: text/x-chdr
File size: 2645 byte(s)
Log Message:
+ only filename changes

File Contents

# User Rev Content
1 adx 30 /*
2     * ircd-hybrid: an advanced Internet Relay Chat Daemon(ircd).
3     * s_user.h: A header for the user functions.
4     *
5     * Copyright (C) 2002 by the past and present ircd coders, and others.
6     *
7     * This program is free software; you can redistribute it and/or modify
8     * it under the terms of the GNU General Public License as published by
9     * the Free Software Foundation; either version 2 of the License, or
10     * (at your option) any later version.
11     *
12     * This program is distributed in the hope that it will be useful,
13     * but WITHOUT ANY WARRANTY; without even the implied warranty of
14     * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15     * GNU General Public License for more details.
16     *
17     * You should have received a copy of the GNU General Public License
18     * along with this program; if not, write to the Free Software
19     * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
20     * USA
21     *
22 knight 31 * $Id$
23 adx 30 */
24    
25     #ifndef INCLUDED_s_user_h
26     #define INCLUDED_s_user_h
27    
28     #define IRC_MAXSID 3
29     #define IRC_MAXUID 6
30     #define TOTALSIDUID (IRC_MAXSID + IRC_MAXUID)
31    
32     struct Client;
33 adx 719 struct OperatorConf;
34 adx 30
35 adx 211 extern char new_uid[];
36    
37 adx 190 void init_uid(void);
38     void init_isupport(void);
39 adx 211 void *change_simple_umode(va_list);
40 adx 743 void *do_uid_get(va_list);
41     void *do_authorize_client(va_list);
42 adx 30
43 adx 190 EXTERN int MaxClientCount; /* GLOBAL - highest number of clients */
44     EXTERN int MaxConnectionCount; /* GLOBAL - highest number of connections */
45 adx 743 EXTERN struct Callback *authorize_client;
46 adx 190 EXTERN struct Callback *entering_umode_cb;
47     EXTERN struct Callback *umode_cb;
48 adx 743 EXTERN struct Callback *uid_get;
49 adx 190 EXTERN unsigned int user_modes[];
50    
51     EXTERN void assemble_umode_buffer(void);
52     EXTERN void set_user_mode(struct Client *, struct Client *, int, char **);
53     EXTERN void send_umode(struct Client *, struct Client *,
54 adx 30 unsigned int, unsigned int, char *);
55 adx 190 EXTERN void send_umode_out(struct Client *, struct Client *, unsigned int);
56     EXTERN void show_lusers(struct Client *);
57 adx 719 EXTERN void oper_up(struct Client *, struct OperatorConf *);
58 adx 764 EXTERN void *reject_user(struct Client *, const char *, int);
59 adx 743 EXTERN void *register_local_user(struct Client *, const char *);
60 adx 190 EXTERN void register_remote_user(struct Client *, struct Client *,
61 adx 30 const char *, const char *,
62     const char *, const char *);
63 adx 190 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 adx 746 EXTERN char *get_oper_name(const struct Client *);
69 adx 30
70     #endif

Properties

Name Value
svn:eol-style native
svn:keywords Id Revision