OpenVAS Libraries  6.0+beta5
hg_subnet.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_SUBNET_H__
20 #define HG_SUBNET_H__
21 
22 void hg_gather_subnet_hosts (struct hg_globals *, struct hg_host *);
23 struct in_addr cidr_get_first_ip (struct in_addr, int);
24 struct in_addr cidr_get_last_ip (struct in_addr, int);
25 
26 #endif