OpenVAS Libraries
4.0+rc3.SVN
|
00001 /* OpenVAS 00002 * 00003 * $Id$ 00004 * Description: NASL API implementation for SMB 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_SMB_H 00034 #define _NASL_NASL_SMB_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_smb_versioninfo (lex_ctxt * lexic); 00043 tree_cell *nasl_smb_connect (lex_ctxt * lexic); 00044 tree_cell *nasl_smb_close (lex_ctxt * lexic); 00045 tree_cell *nasl_smb_file_SDDL (lex_ctxt * lexic); 00046 tree_cell *nasl_smb_file_owner_sid (lex_ctxt * lexic); 00047 tree_cell *nasl_smb_file_group_sid (lex_ctxt * lexic); 00048 tree_cell *nasl_smb_file_trustee_rights (lex_ctxt * lexic); 00049 00050 #endif