OpenVAS Libraries
4.0+rc3.SVN
Main Page
Related Pages
Data Structures
Files
File List
Globals
base
nvticache.h
Go to the documentation of this file.
1
/* openvas-libraries/base
2
* $Id$
3
* Description: API (structs and protos) for NVT Info Cache
4
*
5
* Authors:
6
* Jan-Oliver Wagner <jan-oliver.wagner@greenbone.net>
7
*
8
* Copyright:
9
* Copyright (C) 2009 Greenbone Networks GmbH
10
*
11
* This program is free software; you can redistribute it and/or modify
12
* it under the terms of the GNU General Public License version 2,
13
* or, at your option, any later version as published by the Free
14
* Software Foundation
15
*
16
* This program is distributed in the hope that it will be useful,
17
* but WITHOUT ANY WARRANTY; without even the implied warranty of
18
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19
* GNU General Public License for more details.
20
*
21
* You should have received a copy of the GNU General Public License
22
* along with this program; if not, write to the Free Software
23
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
24
*/
25
33
#ifndef _NVTICACHE_H
34
#define _NVTICACHE_H
35
36
/* for gchar */
37
#include <glib.h>
38
39
/* for nvtis_t */
40
#include "
nvti.h
"
41
48
typedef
struct
nvticache
49
{
50
gchar *
cache_path
;
51
gchar *
src_path
;
52
}
nvticache_t
;
53
54
nvticache_t
*
nvticache_new
(
const
gchar *,
const
gchar *);
55
void
nvticache_free
(
const
nvticache_t
*);
56
nvti_t
*
nvticache_get
(
const
nvticache_t
*,
const
gchar *);
57
58
#endif
/* not _NVTICACHE_H */
Generated by
1.8.1.1