OpenVAS Libraries  4.0+rc3.SVN
nasl_cmd_exec.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_UNSAFE_H
20 #define NASL_UNSAFE_H
21 
22 tree_cell *nasl_pread (lex_ctxt *);
23 tree_cell *nasl_find_in_path (lex_ctxt *);
24 
25 tree_cell *nasl_fread (lex_ctxt *);
26 tree_cell *nasl_fwrite (lex_ctxt *);
27 tree_cell *nasl_unlink (lex_ctxt *);
28 tree_cell *nasl_get_tmp_dir (lex_ctxt *);
29 tree_cell *nasl_file_stat (lex_ctxt *);
30 tree_cell *nasl_file_open (lex_ctxt *);
31 tree_cell *nasl_file_close (lex_ctxt *);
32 tree_cell *nasl_file_read (lex_ctxt *);
33 tree_cell *nasl_file_write (lex_ctxt *);
34 tree_cell *nasl_file_seek (lex_ctxt *);
35 
36 #endif