]> jfr.im git - irc/evilnet/x3.git/blob - src/hosthiding.h
Minor typo in previous commit where returning 0 when it should have been 1 from opser...
[irc/evilnet/x3.git] / src / hosthiding.h
1 /* hosthiding.h - Host hiding
2 * Copyright 2000-2006 X3 Development Team
3 *
4 * This file is part of x3.
5 *
6 * x3 is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License as published by
8 * the Free Software Foundation; either version 3 of the License, or
9 * (at your option) any later version.
10 *
11 * This program is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 * GNU General Public License for more details.
15 *
16 * You should have received a copy of the GNU General Public License
17 * along with srvx; if not, write to the Free Software Foundation,
18 * Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.
19 */
20
21 #ifndef _hosthiding_h
22 #define _hosthiding_h
23
24 /*
25 * Proto types
26 */
27
28 extern int str2arr (char **, char *, char *);
29 extern unsigned long crc32 (const unsigned char *, unsigned int);
30 extern void make_virthost (char *curr, char *host, char *virt);
31 extern void make_virtip (char *curr, char *host, char *virt);
32
33 /* IPv6 Stuff */
34 extern void ip62arr (char *, char *);
35 extern void make_ipv6virthost (char *curr, char *host, char *new);
36
37 #endif