OpenVAS Libraries  4.0+rc3.SVN
nasl/nasl_wmi.h
Go to the documentation of this file.
00001 /* OpenVAS
00002  *
00003  * $Id$
00004  * Description: NASL API implementation for WMI support
00005  *
00006  * Authors:
00007  * Chandrashekhar B <bchandra@secpod.com>
00008  *
00009  * Copyright:
00010  * Copyright (c) 2009 Greenbone Networks GmbH, http://www.greenbone.net
00011  *
00012  * This program is free software; you can redistribute it and/or modify
00013  * it under the terms of the GNU General Public License version 2
00014  * (or any later version), as published by the Free Software Foundation.
00015  *
00016  * This program is distributed in the hope that it will be useful,
00017  * but WITHOUT ANY WARRANTY; without even the implied warranty of
00018  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
00019  * GNU General Public License for more details.
00020  *
00021  * You should have received a copy of the GNU General Public License
00022  * along with this program; if not, write to the Free Software
00023  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
00024  */
00025 
00033 #ifndef _NASL_NASL_WMI_H
00034 #define _NASL_NASL_WMI_H
00035 
00036 /* for lex_ctxt */
00037 #include "nasl_lex_ctxt.h"
00038 
00039 /* for tree_cell */
00040 #include "nasl_tree.h"
00041 
00042 tree_cell *nasl_wmi_versioninfo (lex_ctxt * lexic);
00043 tree_cell *nasl_wmi_connect (lex_ctxt * lexic);
00044 tree_cell *nasl_wmi_close (lex_ctxt * lexic);
00045 tree_cell *nasl_wmi_query (lex_ctxt * lexic);
00046 
00047 tree_cell *nasl_wmi_connect_rsop (lex_ctxt * lexic);
00048 tree_cell *nasl_wmi_query_rsop (lex_ctxt * lexic);
00049 
00050 tree_cell *nasl_wmi_connect_reg (lex_ctxt * lexic);
00051 tree_cell *nasl_wmi_reg_get_sz (lex_ctxt * lexic);
00052 tree_cell *nasl_wmi_reg_enum_value (lex_ctxt * lexic);
00053 tree_cell *nasl_wmi_reg_enum_key (lex_ctxt * lexic);
00054 tree_cell *nasl_wmi_reg_get_bin_val (lex_ctxt * lexic);
00055 tree_cell *nasl_wmi_reg_get_dword_val (lex_ctxt * lexic);
00056 tree_cell *nasl_wmi_reg_get_ex_string_val (lex_ctxt * lexic);
00057 tree_cell *nasl_wmi_reg_get_mul_string_val (lex_ctxt * lexic);
00058 tree_cell *nasl_wmi_reg_get_qword_val (lex_ctxt * lexic);
00059 
00060 #endif