OpenVAS Libraries  4.0+rc3.SVN
nasl/nasl_scanner_glue.h
00001 /* Nessus Attack Scripting Language 
00002  *
00003  * Copyright (C) 2002 - 2003 Michel Arboi and Renaud Deraison
00004  *
00005  * This program is free software; you can redistribute it and/or modify
00006  * it under the terms of the GNU General Public License version 2,
00007  * as published by the Free Software Foundation
00008  *
00009  * This program is distributed in the hope that it will be useful,
00010  * but WITHOUT ANY WARRANTY; without even the implied warranty of
00011  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00012  * GNU General Public License for more details.
00013  *
00014  * You should have received a copy of the GNU General Public License
00015  * along with this program; if not, write to the Free Software
00016  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
00017  */
00018 
00019 #ifndef NASL_SCANNER_GLUE_H
00020 #define NASL_SCANNER_GLUE_H
00021 tree_cell *script_timeout (lex_ctxt *);
00022 tree_cell *script_id (lex_ctxt *);
00023 tree_cell *script_oid (lex_ctxt *);
00024 tree_cell *script_cve_id (lex_ctxt *);
00025 tree_cell *script_bugtraq_id (lex_ctxt *);
00026 tree_cell *script_xref (lex_ctxt *);
00027 tree_cell *script_tag (lex_ctxt *);
00028 tree_cell *script_see_also (lex_ctxt *);
00029 tree_cell *script_name (lex_ctxt *);
00030 tree_cell *script_version (lex_ctxt *);
00031 tree_cell *script_description (lex_ctxt *);
00032 tree_cell *script_copyright (lex_ctxt *);
00033 tree_cell *script_summary (lex_ctxt *);
00034 tree_cell *script_category (lex_ctxt *);
00035 tree_cell *script_family (lex_ctxt *);
00036 tree_cell *script_dependencie (lex_ctxt *);
00037 tree_cell *script_require_keys (lex_ctxt *);
00038 tree_cell *script_mandatory_keys (lex_ctxt *);
00039 tree_cell *script_exclude_keys (lex_ctxt *);
00040 tree_cell *script_require_ports (lex_ctxt *);
00041 tree_cell *script_require_udp_ports (lex_ctxt *);
00042 tree_cell *nasl_get_preference (lex_ctxt *);
00043 tree_cell *script_add_preference (lex_ctxt *);
00044 tree_cell *script_get_preference (lex_ctxt *);
00045 tree_cell *script_get_preference_file_content (lex_ctxt *);
00046 tree_cell *script_get_preference_file_location (lex_ctxt *);
00047 tree_cell *safe_checks (lex_ctxt *);
00048 tree_cell *scan_phase (lex_ctxt *);
00049 tree_cell *network_targets (lex_ctxt *);
00050 tree_cell *get_kb_item (lex_ctxt *);
00051 tree_cell *get_kb_fresh_item (lex_ctxt *);
00052 tree_cell *get_kb_list (lex_ctxt *);
00053 tree_cell *set_kb_item (lex_ctxt *);
00054 tree_cell *replace_kb_item (lex_ctxt *);
00055 tree_cell *security_hole (lex_ctxt *);
00056 tree_cell *security_warning (lex_ctxt *);
00057 tree_cell *security_note (lex_ctxt *);
00058 tree_cell *log_message (lex_ctxt *);
00059 tree_cell *debug_message (lex_ctxt *);
00060 tree_cell *nasl_scanner_get_port (lex_ctxt *);
00061 tree_cell *nasl_scanner_add_port (lex_ctxt *);
00062 tree_cell *nasl_scanner_status (lex_ctxt *);
00063 
00064 tree_cell *nasl_shared_socket_register (lex_ctxt *);
00065 tree_cell *nasl_shared_socket_acquire (lex_ctxt *);
00066 tree_cell *nasl_shared_socket_release (lex_ctxt *);
00067 tree_cell *nasl_shared_socket_destroy (lex_ctxt *);
00068 #endif