]> jfr.im git - irc/evilnet/x3.git/blame - src/hosthiding.h
Merge pull request #39 from d7415/master
[irc/evilnet/x3.git] / src / hosthiding.h
CommitLineData
37ef8ee3 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
348683aa 8 * the Free Software Foundation; either version 3 of the License, or
37ef8ee3 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
37ef8ee3 28extern int str2arr (char **, char *, char *);
29extern unsigned long crc32 (const unsigned char *, unsigned int);
30extern void make_virthost (char *curr, char *host, char *virt);
31extern void make_virtip (char *curr, char *host, char *virt);
32
68b75482 33/* IPv6 Stuff */
34extern void ip62arr (char *, char *);
35extern void make_ipv6virthost (char *curr, char *host, char *new);
36
37ef8ee3 37#endif