OpenVAS Libraries  7.0.9
resource_request.h
Go to the documentation of this file.
1 /* OpenVAS Libraries
2  * $Id$
3  * Description: Header for interface to external sources of resource
4  * information.
5  *
6  * Authors:
7  * Felix Wolfsteller <felix.wolfsteller@intevation.de>
8  *
9  * Copyright:
10  * Copyright (C) 2010 Greenbone Networks GmbH
11  *
12  * This program is free software; you can redistribute it and/or modify
13  * it under the terms of the GNU General Public License version 2,
14  * or, at your option, any later version as published by the Free
15  * Software Foundation
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., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
25  */
26 
27 #ifndef RESOURCE_REQUEST_H
28 #define RESOURCE_REQUEST_H
29 
30 #include <glib.h>
31 
33 typedef enum
34 {
38 
39 GSList* resource_request_sources (resource_type_t resource_type);
40 
41 GSList* resource_request_resource (const gchar* source,
42  resource_type_t resource_type,
43  const gchar* username,
44  const gchar* password);
45 
46 #endif /* RESOURCE_REQUEST_H */