OpenVAS Libraries
4.0+rc3.SVN
|
00001 /* OpenVAS 00002 * 00003 * $Id$ 00004 * Description: API protos describing the interface of a wmi interface 00005 * implementation. 00006 * 00007 * Authors: 00008 * Jan-Oliver Wagner <jan-oliver.wagner@greenbone.net> 00009 * 00010 * Copyright: 00011 * Copyright (c) 2009 Greenbone Networks GmbH, http://www.greenbone.net 00012 * 00013 * This program is free software; you can redistribute it and/or modify 00014 * it under the terms of the GNU General Public License version 2 00015 * (or any later version), as published by the Free Software Foundation. 00016 * 00017 * This program is distributed in the hope that it will be useful, 00018 * but WITHOUT ANY WARRANTY; without even the implied warranty of 00019 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00020 * GNU General Public License for more details. 00021 * 00022 * You should have received a copy of the GNU General Public License 00023 * along with this program; if not, write to the Free Software 00024 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 00025 */ 00026 00035 #ifndef _NASL_OPENVAS_WMI_INTERFACE_H 00036 #define _NASL_OPENVAS_WMI_INTERFACE_H 00037 00038 typedef int WMI_HANDLE; 00039 00040 char *wmi_versioninfo (); 00041 int wmi_connect (int argc, char **argv, WMI_HANDLE * handle); 00042 int wmi_close (WMI_HANDLE); 00043 int wmi_query (WMI_HANDLE, const char *, char **); 00044 00045 int wmi_connect_rsop (int argc, char **argv, WMI_HANDLE * handle); 00046 int wmi_query_rsop (WMI_HANDLE, const char *, char **); 00047 00048 int wmi_connect_reg (int argc, char **argv, WMI_HANDLE * handle); 00049 int wmi_reg_get_sz (WMI_HANDLE, unsigned int, const char *, const char *, 00050 char **); 00051 int wmi_reg_enum_value (WMI_HANDLE, unsigned int, const char *, char **); 00052 int wmi_reg_enum_key (WMI_HANDLE, unsigned int, const char *, char **); 00053 int wmi_reg_get_bin_val (WMI_HANDLE, unsigned int, const char *, const char *, 00054 char **); 00055 int wmi_reg_get_dword_val (WMI_HANDLE, unsigned int, const char *, const char *, 00056 char **); 00057 int wmi_reg_get_ex_string_val (WMI_HANDLE, unsigned int, const char *, 00058 const char *, char **); 00059 int wmi_reg_get_mul_string_val (WMI_HANDLE, unsigned int, const char *, 00060 const char *, char **); 00061 int wmi_reg_get_qword_val (WMI_HANDLE, unsigned int, const char *, const char *, 00062 char **); 00063 00064 #endif