OpenVAS Libraries
7.0.6
Main Page
Related Pages
Data Structures
Files
File List
Globals
nasl
openvas_smb_interface.h
Go to the documentation of this file.
1
/* OpenVAS
2
*
3
* $Id$
4
* Description: API protos describing the interface of a smb interface
5
* implementation.
6
*
7
* Authors:
8
* Chandrashekhar B <bchandra@secpod.com>
9
*
10
* Copyright:
11
* Copyright (c) 2009 Greenbone Networks GmbH, http://www.greenbone.net
12
*
13
* This program is free software; you can redistribute it and/or modify
14
* it under the terms of the GNU General Public License version 2
15
* (or any later version), as published by the Free Software Foundation.
16
*
17
* This program is distributed in the hope that it will be useful,
18
* but WITHOUT ANY WARRANTY; without even the implied warranty of
19
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20
* GNU General Public License for more details.
21
*
22
* You should have received a copy of the GNU General Public License
23
* along with this program; if not, write to the Free Software
24
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
25
*/
26
35
#ifndef _NASL_OPENVAS_SMB_INTERFACE_H
36
#define _NASL_OPENVAS_SMB_INTERFACE_H
37
38
typedef
int
SMB_HANDLE
;
39
40
char
*
smb_versioninfo
();
41
int
smb_connect
(
const
char
*,
const
char
*,
const
char
*,
const
char
*,
42
SMB_HANDLE
*);
43
int
smb_close
(
SMB_HANDLE
);
44
char
*
smb_file_SDDL
(
SMB_HANDLE
,
const
char
*);
45
char
*
smb_file_OwnerSID
(
SMB_HANDLE
,
const
char
*);
46
char
*
smb_file_GroupSID
(
SMB_HANDLE
,
const
char
*);
47
char
*
smb_file_TrusteeRights
(
SMB_HANDLE
,
const
char
*);
48
int
wincmd
(
int
argc,
char
*argv[],
char
**res);
49
50
#endif
Generated by
1.8.3.1