OpenVAS Libraries  4.0+rc3.SVN
nasl_misc_funcs.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_MISC_FUNCS_H
20 #define NASL_MISC_FUNCS_H
21 
22 tree_cell *nasl_rand (lex_ctxt *);
23 tree_cell *nasl_usleep (lex_ctxt *);
24 tree_cell *nasl_sleep (lex_ctxt *);
25 tree_cell *nasl_ftp_log_in (lex_ctxt *);
26 tree_cell *nasl_ftp_get_pasv_address (lex_ctxt *);
27 tree_cell *nasl_telnet_init (lex_ctxt *);
28 tree_cell *nasl_start_denial (lex_ctxt *);
29 tree_cell *nasl_end_denial (lex_ctxt *);
30 tree_cell *nasl_dump_ctxt (lex_ctxt *);
31 tree_cell *nasl_do_exit (lex_ctxt *);
32 tree_cell *nasl_isnull (lex_ctxt *);
33 tree_cell *nasl_make_list (lex_ctxt *);
34 tree_cell *nasl_make_array (lex_ctxt *);
35 tree_cell *nasl_keys (lex_ctxt *);
36 tree_cell *nasl_max_index (lex_ctxt *);
37 tree_cell *nasl_typeof (lex_ctxt *);
38 tree_cell *nasl_defined_func (lex_ctxt *);
39 tree_cell *nasl_func_named_args (lex_ctxt *);
40 tree_cell *nasl_func_unnamed_args (lex_ctxt *);
41 tree_cell *nasl_func_has_arg (lex_ctxt *);
42 tree_cell *nasl_sort_array (lex_ctxt *);
43 tree_cell *nasl_unixtime (lex_ctxt *);
44 tree_cell *nasl_gettimeofday (lex_ctxt *);
45 tree_cell *nasl_localtime (lex_ctxt *);
46 tree_cell *nasl_mktime (lex_ctxt *);
47 tree_cell *nasl_open_sock_kdc (lex_ctxt *);
48 tree_cell *nasl_dec2str (lex_ctxt *);
49 tree_cell *nasl_get_byte_order(lex_ctxt *);
50 
51 #endif