ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/svn/pxys-hybrid/trunk/pxyservd/src/irc_userbase.h
Revision: 3401
Committed: Mon Apr 28 18:47:55 2014 UTC (9 years, 11 months ago) by michael
Content type: text/x-chdr
File size: 1959 byte(s)
Log Message:
- Removed all channel and channel membership related code

File Contents

# Content
1 /* Copyright (C) 2003 Stephane Thiell
2 *
3 * This file is part of pxyservd (from pxys)
4 *
5 * This program is free software; you can redistribute it and/or
6 * modify it under the terms of the GNU General Public License
7 * as published by the Free Software Foundation; either version 2
8 * of the License, or (at your option) any later version.
9 *
10 * This program is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 * GNU General Public License for more details.
14 *
15 * You should have received a copy of the GNU General Public License
16 * along with this program; if not, write to the Free Software
17 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
18 *
19 * $Id: irc_userbase.h,v 1.1.1.1 2003/12/30 17:09:32 mbuna Exp $
20 */
21 #ifndef INCLUDED_IRC_USERBASE_H
22 #define INCLUDED_IRC_USERBASE_H
23
24 #include "irc_struct.h"
25
26 extern smat_head_t sUSmatHead;
27
28 extern void irc_userbase_init(void);
29 extern void irc_userbase_finalize(void);
30
31 extern int irc_userbase_get_count(void);
32 extern size_t irc_userbase_get_hash_table_size();
33 extern int irc_userbase_proxycount(const struct in_addr *addr);
34
35 extern void irc_userbase_add(const char *nick, const char *user,
36 time_t firsttime, const char *mode,
37 unsigned int flags, ClientAddr addr,
38 const char *numnick);
39 extern void irc_userbase_nick_change(const char *numnick,
40 const char *new_nick);
41 extern void irc_userbase_remove(const char *numnick);
42 extern void irc_userbase_purgeserv(struct Server *sptr);
43 extern struct Client * irc_userbase_get_by_nick(const char *nick);
44
45
46 #endif /* INCLUDED_IRC_USERBASE_H */