OpenVAS Libraries  6.0+beta5
hg_add_hosts.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 HG_ADD_HOSTS_H__
20 #define HG_ADD_HOSTS_H__
21 
22 int hg_add_comma_delimited_hosts (struct hg_globals *, int);
23 void hg_add_host_with_options (struct hg_globals *, char *, struct in_addr, int,
24  int, int, struct in_addr *);
25 void hg_add_ipv6host_with_options (struct hg_globals *, char *,
26  struct in6_addr *, int, int, int,
27  struct in6_addr *);
28 void hg_add_domain (struct hg_globals *, char *);
29 void hg_add_subnet (struct hg_globals *, struct in_addr, int);
30 
31 #endif