]> jfr.im git - irc/quakenet/lightweight.git/blob - dblist.h
Make L auth to the network when it connects
[irc/quakenet/lightweight.git] / dblist.h
1 /*
2 This file is part of lightweight.
3
4 lightweight is free software; you can redistribute it and/or modify
5 it under the terms of the GNU General Public License as published by
6 the Free Software Foundation; either version 2 of the License, or
7 (at your option) any later version.
8
9 lightweight is distributed in the hope that it will be useful,
10 but WITHOUT ANY WARRANTY; without even the implied warranty of
11 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 GNU General Public License for more details.
13
14 You should have received a copy of the GNU General Public License
15 along with lightweight; if not, write to the Free Software
16 Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
17 */
18
19 /* $Id: dblist.h,v 1.9 2002/06/03 21:35:20 froo Exp $ */
20
21 #ifndef __DBLIST_H
22 #define __DBLIST_H
23
24 #ifdef __cplusplus
25 extern "C" {
26 #endif
27
28 /* GetWhois(value,NULL) == whoami */
29 /* char* is the username the whois is needed, everything is handled by the function */
30 void GetWhois(struct user *, char *);
31 void PrintChanlev(struct user *, char *, char *); /* prints the chanlev for user, char* channame */
32 void ChangeChanlev(struct user *, char *, char *, char *); /* who, #chan, whom, what */
33 void AddToChan(struct user *, char *, char *); /* adds a user to the channel */
34 void RemoveFromChan(struct user *, char *, char *); /* removes a user from the channel */
35
36 #ifdef __cplusplus
37 }
38 #endif
39 #endif /* __DBLIST_H */