/[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.10 - (show annotations) (download) (as text)
Thu Feb 7 22:19:05 2002 UTC (17 years, 11 months ago) by wcc
Branch: MAIN
Changes since 1.9: +2 -2 lines
File MIME type: text/x-csrc
Updated copyright info for 2002

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

webmaster@eggheads.org
ViewVC Help
Powered by ViewVC 1.1.23