OpenVAS Libraries
4.0+rc3.SVN
Main Page
Related Pages
Data Structures
Files
File List
Globals
base
array.h
1
/* openvas-libraries/base
2
* $Id$
3
* Description: Array utilities.
4
*
5
* Authors:
6
* Matthew Mundell <matthew.mundell@greenbone.net>
7
*
8
* Copyright:
9
* Copyright (C) 2009,2010 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
26
#ifndef _OPENVAS_ARRAY_H
27
#define _OPENVAS_ARRAY_H
28
29
#include <glib.h>
30
31
typedef
GPtrArray array_t;
32
33
GPtrArray *
make_array
();
34
35
void
array_reset
(array_t ** array);
36
37
void
array_free
(GPtrArray * array);
38
39
void
array_add
(array_t * array, gpointer pointer);
40
41
void
array_terminate
(array_t * array);
42
43
#endif
/* not _OPENVAS_ARRAY_H */
Generated by
1.8.1.1