libnetapi: add libnetapi_set_use_kerberos
[Samba/gebeck_regimport.git] / source3 / include / rpc_ntsvcs.h
blob0056d16eb9639a3718f1ecb6a326c593835cb078
1 /*
2 Unix SMB/CIFS implementation.
3 SMB parameters and setup
4 Copyright (C) Gerald (Jerry) Carter 2005
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.
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.
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/>.
20 #ifndef _RPC_NTSVCS_H /* _RPC_NTSVCS_H */
21 #define _RPC_NTSVCS_H
23 /* ntsvcs pipe */
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
36 /**************************/
38 typedef struct {
39 UNISTR2 *devicename;
40 uint32 buffer_size;
41 uint32 flags;
42 } NTSVCS_Q_GET_DEVICE_LIST;
44 typedef struct {
45 UNISTR2 devicepath;
46 uint32 needed;
47 WERROR status;
48 } NTSVCS_R_GET_DEVICE_LIST;
50 /**************************/
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;
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;
69 #endif /* _RPC_NTSVCS_H */