OpenVAS Libraries
4.0+rc3.SVN
Main Page
Related Pages
Data Structures
Files
File List
Globals
nasl
nasl_global_ctxt.h
1
/* Nessus Attack Scripting Language
2
*
3
* Copyright (C) 2002 - 2003 Michel Arboi and Renaud Deraison
4
*
5
* This program is free software; you can redistribute it and/or modify
6
* it under the terms of the GNU General Public License version 2,
7
* as published by the Free Software Foundation
8
*
9
* This program 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
12
* GNU General Public License for more details.
13
*
14
* You should have received a copy of the GNU General Public License
15
* along with this program; if not, write to the Free Software
16
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
17
*/
18
19
#ifndef _NASL_CTX_H
20
#define _NASL_CTX_H
21
22
/* for FILE */
23
#include <stdio.h>
24
25
typedef
struct
26
{
27
int
line_nb;
28
FILE *fp;
29
tree_cell
*tree;
30
char
*buffer;
31
int
authenticated;
32
int
always_authenticated;
33
int
maxlen;
34
}
naslctxt
;
35
36
int
init_nasl_ctx (
naslctxt
*,
const
char
*);
37
void
nasl_clean_ctx (
naslctxt
*);
38
39
#endif
Generated by
1.8.1.1