OpenVAS Libraries  6.0+beta5
hg_utils.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) 1999 Renaud Deraison
3  *
4  * This library is free software; you can redistribute it and/or
5  * modify it under the terms of the GNU Library General Public
6  * License as published by the Free Software Foundation; either
7  * version 2 of the License, or (at your option) any later version.
8  *
9  * This library 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 GNU
12  * Library General Public License for more details.
13  *
14  * You should have received a copy of the GNU Library General Public
15  * License along with this library; if not, write to the Free
16  * Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
17  */
18 
19 #ifndef HL2_UTILS_H__
20 #define HL2_UTILS_H__
21 
22 int hg_resolv (char *, struct in6_addr *, int);
23 char *hg_name_to_domain (char *name);
24 void hg_hosts_cleanup (struct hg_host *);
25 void hg_host_cleanup (struct hg_host *);
26 int hg_get_name_from_ip (struct in6_addr *, char *, int);
27 int hg_valid_ip_addr (char *);
28 
29 #endif