/[cvs]/eggdrop1.9/src/dns.h
ViewVC logotype

Contents of /eggdrop1.9/src/dns.h

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.13 - (show annotations) (download) (as text)
Tue Feb 25 10:28:22 2003 UTC (16 years, 7 months ago) by stdarg
Branch: MAIN
CVS Tags: HEAD
Changes since 1.12: +1 -1 lines
File MIME type: text/x-csrc
FILE REMOVED
* Cleanups

1 /*
2 * dns.h --
3 *
4 * stuff used by dns.c
5 */
6 /*
7 * Written by Fabian Knittel <fknittel@gmx.de>
8 *
9 * Copyright (C) 1999, 2000, 2001, 2002, 2003 Eggheads Development Team
10 *
11 * This program is free software; you can redistribute it and/or
12 * modify it under the terms of the GNU General Public License
13 * as published by the Free Software Foundation; either version 2
14 * of the License, or (at your option) any later version.
15 *
16 * This program is distributed in the hope that it will be useful,
17 * but WITHOUT ANY WARRANTY; without even the implied warranty of
18 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19 * GNU General Public License for more details.
20 *
21 * You should have received a copy of the GNU General Public License
22 * along with this program; if not, write to the Free Software
23 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
24 */
25 /*
26 * $Id: dns.h,v 1.12 2003/01/02 21:33:16 wcc Exp $
27 */
28
29 #ifndef _EGG_DNS_H
30 #define _EGG_DNS_H
31
32 /* Flags for dns_type
33 */
34 #define RES_HOSTBYIP 1 /* hostname to IP address */
35 #define RES_IPBYHOST 2 /* IP address to hostname */
36
37 #ifndef MAKING_MODS
38
39 void dns_hostbyip(char *);
40 void dns_ipbyhost(char *);
41 void call_hostbyip(char *, char *, int);
42 void call_ipbyhost(char *, char *, int);
43 void dcc_dnshostbyip(char *);
44 void dcc_dnsipbyhost(char *);
45
46 #endif /* MAKING_MODS */
47
48 #endif /* !_EGG_DNS_H */

webmaster@eggheads.org
ViewVC Help
Powered by ViewVC 1.1.23