fixed options argument to ldb connect in python
[kai/samba.git] / source3 / include / rpc_ntsvcs.h
1 /* 
2    Unix SMB/CIFS implementation.
3    SMB parameters and setup
4    Copyright (C) Gerald (Jerry) Carter        2005
5    
6    This program is free software; you can redistribute it and/or modify
7    it under the terms of the GNU General Public License as published by
8    the Free Software Foundation; either version 3 of the License, or
9    (at your option) any later version.
10    
11    This program is distributed in the hope that it will be useful,
12    but WITHOUT ANY WARRANTY; without even the implied warranty of
13    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14    GNU General Public License for more details.
15    
16    You should have received a copy of the GNU General Public License
17    along with this program.  If not, see <http://www.gnu.org/licenses/>.
18 */
19
20 #ifndef _RPC_NTSVCS_H /* _RPC_NTSVCS_H */
21 #define _RPC_NTSVCS_H
22
23 /* ntsvcs pipe */
24
25 #define NTSVCS_GET_VERSION              0x02
26 #define NTSVCS_VALIDATE_DEVICE_INSTANCE 0x06
27 #define NTSVCS_GET_ROOT_DEVICE_INSTANCE 0x07
28 #define NTSVCS_GET_DEVICE_LIST          0x0a
29 #define NTSVCS_GET_DEVICE_LIST_SIZE     0x0b
30 #define NTSVCS_GET_DEVICE_REG_PROPERTY  0x0d
31 #define NTSVCS_HW_PROFILE_FLAGS         0x28
32 #define NTSVCS_GET_HW_PROFILE_INFO      0x29
33 #define NTSVCS_GET_VERSION_INTERNAL     0x3e
34
35
36 /**************************/
37
38 typedef struct {
39         UNISTR2 *devicename;
40         uint32 buffer_size;
41         uint32 flags;
42 } NTSVCS_Q_GET_DEVICE_LIST;
43
44 typedef struct {
45         UNISTR2 devicepath;
46         uint32 needed;
47         WERROR status;
48 } NTSVCS_R_GET_DEVICE_LIST;
49
50 /**************************/
51
52 typedef struct {
53         UNISTR2 devicepath;
54         uint32 property;
55         uint32 unknown2;
56         uint32 buffer_size1;
57         uint32 buffer_size2;
58         uint32 unknown5;
59 } NTSVCS_Q_GET_DEVICE_REG_PROPERTY;
60
61 typedef struct {
62         uint32 unknown1;
63         REGVAL_BUFFER value;
64         uint32 size;
65         uint32 needed;
66         WERROR status;
67 } NTSVCS_R_GET_DEVICE_REG_PROPERTY;
68
69 #endif /* _RPC_NTSVCS_H */