Move shared gen_ndr files to librpc/gen_ndr in the root.
[amitay/samba.git] / librpc / gen_ndr / ndr_svcctl.h
1 /* header auto-generated by pidl */
2
3 #include "librpc/ndr/libndr.h"
4 #include "librpc/gen_ndr/svcctl.h"
5
6 #ifndef _HEADER_NDR_svcctl
7 #define _HEADER_NDR_svcctl
8
9 #define NDR_SVCCTL_UUID "367abb81-9844-35f1-ad32-98f038001003"
10 #define NDR_SVCCTL_VERSION 2.0
11 #define NDR_SVCCTL_NAME "svcctl"
12 #define NDR_SVCCTL_HELPSTRING "Service Control"
13 extern const struct ndr_interface_table ndr_table_svcctl;
14 #define NDR_SVCCTL_CLOSESERVICEHANDLE (0x00)
15
16 #define NDR_SVCCTL_CONTROLSERVICE (0x01)
17
18 #define NDR_SVCCTL_DELETESERVICE (0x02)
19
20 #define NDR_SVCCTL_LOCKSERVICEDATABASE (0x03)
21
22 #define NDR_SVCCTL_QUERYSERVICEOBJECTSECURITY (0x04)
23
24 #define NDR_SVCCTL_SETSERVICEOBJECTSECURITY (0x05)
25
26 #define NDR_SVCCTL_QUERYSERVICESTATUS (0x06)
27
28 #define NDR_SVCCTL_SETSERVICESTATUS (0x07)
29
30 #define NDR_SVCCTL_UNLOCKSERVICEDATABASE (0x08)
31
32 #define NDR_SVCCTL_NOTIFYBOOTCONFIGSTATUS (0x09)
33
34 #define NDR_SVCCTL_SCSETSERVICEBITSW (0x0a)
35
36 #define NDR_SVCCTL_CHANGESERVICECONFIGW (0x0b)
37
38 #define NDR_SVCCTL_CREATESERVICEW (0x0c)
39
40 #define NDR_SVCCTL_ENUMDEPENDENTSERVICESW (0x0d)
41
42 #define NDR_SVCCTL_ENUMSERVICESSTATUSW (0x0e)
43
44 #define NDR_SVCCTL_OPENSCMANAGERW (0x0f)
45
46 #define NDR_SVCCTL_OPENSERVICEW (0x10)
47
48 #define NDR_SVCCTL_QUERYSERVICECONFIGW (0x11)
49
50 #define NDR_SVCCTL_QUERYSERVICELOCKSTATUSW (0x12)
51
52 #define NDR_SVCCTL_STARTSERVICEW (0x13)
53
54 #define NDR_SVCCTL_GETSERVICEDISPLAYNAMEW (0x14)
55
56 #define NDR_SVCCTL_GETSERVICEKEYNAMEW (0x15)
57
58 #define NDR_SVCCTL_SCSETSERVICEBITSA (0x16)
59
60 #define NDR_SVCCTL_CHANGESERVICECONFIGA (0x17)
61
62 #define NDR_SVCCTL_CREATESERVICEA (0x18)
63
64 #define NDR_SVCCTL_ENUMDEPENDENTSERVICESA (0x19)
65
66 #define NDR_SVCCTL_ENUMSERVICESSTATUSA (0x1a)
67
68 #define NDR_SVCCTL_OPENSCMANAGERA (0x1b)
69
70 #define NDR_SVCCTL_OPENSERVICEA (0x1c)
71
72 #define NDR_SVCCTL_QUERYSERVICECONFIGA (0x1d)
73
74 #define NDR_SVCCTL_QUERYSERVICELOCKSTATUSA (0x1e)
75
76 #define NDR_SVCCTL_STARTSERVICEA (0x1f)
77
78 #define NDR_SVCCTL_GETSERVICEDISPLAYNAMEA (0x20)
79
80 #define NDR_SVCCTL_GETSERVICEKEYNAMEA (0x21)
81
82 #define NDR_SVCCTL_GETCURRENTGROUPESTATEW (0x22)
83
84 #define NDR_SVCCTL_ENUMSERVICEGROUPW (0x23)
85
86 #define NDR_SVCCTL_CHANGESERVICECONFIG2A (0x24)
87
88 #define NDR_SVCCTL_CHANGESERVICECONFIG2W (0x25)
89
90 #define NDR_SVCCTL_QUERYSERVICECONFIG2A (0x26)
91
92 #define NDR_SVCCTL_QUERYSERVICECONFIG2W (0x27)
93
94 #define NDR_SVCCTL_QUERYSERVICESTATUSEX (0x28)
95
96 #define NDR_ENUMSERVICESSTATUSEXA (0x29)
97
98 #define NDR_ENUMSERVICESSTATUSEXW (0x2a)
99
100 #define NDR_SVCCTL_SCSENDTSMESSAGE (0x2b)
101
102 #define NDR_SVCCTL_CALL_COUNT (44)
103 void ndr_print_SERVICE_LOCK_STATUS(struct ndr_print *ndr, const char *name, const struct SERVICE_LOCK_STATUS *r);
104 void ndr_print_SERVICE_STATUS(struct ndr_print *ndr, const char *name, const struct SERVICE_STATUS *r);
105 void ndr_print_ENUM_SERVICE_STATUS(struct ndr_print *ndr, const char *name, const struct ENUM_SERVICE_STATUS *r);
106 enum ndr_err_code ndr_push_svcctl_ServerType(struct ndr_push *ndr, int ndr_flags, uint32_t r);
107 enum ndr_err_code ndr_pull_svcctl_ServerType(struct ndr_pull *ndr, int ndr_flags, uint32_t *r);
108 void ndr_print_svcctl_ServerType(struct ndr_print *ndr, const char *name, uint32_t r);
109 void ndr_print_SERVICE_CONTROL(struct ndr_print *ndr, const char *name, enum SERVICE_CONTROL r);
110 void ndr_print_svcctl_MgrAccessMask(struct ndr_print *ndr, const char *name, uint32_t r);
111 void ndr_print_svcctl_ServiceAccessMask(struct ndr_print *ndr, const char *name, uint32_t r);
112 enum ndr_err_code ndr_push_QUERY_SERVICE_CONFIG(struct ndr_push *ndr, int ndr_flags, const struct QUERY_SERVICE_CONFIG *r);
113 enum ndr_err_code ndr_pull_QUERY_SERVICE_CONFIG(struct ndr_pull *ndr, int ndr_flags, struct QUERY_SERVICE_CONFIG *r);
114 void ndr_print_QUERY_SERVICE_CONFIG(struct ndr_print *ndr, const char *name, const struct QUERY_SERVICE_CONFIG *r);
115 size_t ndr_size_QUERY_SERVICE_CONFIG(const struct QUERY_SERVICE_CONFIG *r, int flags);
116 void ndr_print_svcctl_CloseServiceHandle(struct ndr_print *ndr, const char *name, int flags, const struct svcctl_CloseServiceHandle *r);
117 void ndr_print_svcctl_ControlService(struct ndr_print *ndr, const char *name, int flags, const struct svcctl_ControlService *r);
118 void ndr_print_svcctl_DeleteService(struct ndr_print *ndr, const char *name, int flags, const struct svcctl_DeleteService *r);
119 void ndr_print_svcctl_LockServiceDatabase(struct ndr_print *ndr, const char *name, int flags, const struct svcctl_LockServiceDatabase *r);
120 void ndr_print_svcctl_QueryServiceObjectSecurity(struct ndr_print *ndr, const char *name, int flags, const struct svcctl_QueryServiceObjectSecurity *r);
121 void ndr_print_svcctl_SetServiceObjectSecurity(struct ndr_print *ndr, const char *name, int flags, const struct svcctl_SetServiceObjectSecurity *r);
122 void ndr_print_svcctl_QueryServiceStatus(struct ndr_print *ndr, const char *name, int flags, const struct svcctl_QueryServiceStatus *r);
123 void ndr_print_svcctl_SetServiceStatus(struct ndr_print *ndr, const char *name, int flags, const struct svcctl_SetServiceStatus *r);
124 void ndr_print_svcctl_UnlockServiceDatabase(struct ndr_print *ndr, const char *name, int flags, const struct svcctl_UnlockServiceDatabase *r);
125 void ndr_print_svcctl_NotifyBootConfigStatus(struct ndr_print *ndr, const char *name, int flags, const struct svcctl_NotifyBootConfigStatus *r);
126 void ndr_print_svcctl_SCSetServiceBitsW(struct ndr_print *ndr, const char *name, int flags, const struct svcctl_SCSetServiceBitsW *r);
127 void ndr_print_svcctl_ChangeServiceConfigW(struct ndr_print *ndr, const char *name, int flags, const struct svcctl_ChangeServiceConfigW *r);
128 void ndr_print_svcctl_CreateServiceW(struct ndr_print *ndr, const char *name, int flags, const struct svcctl_CreateServiceW *r);
129 void ndr_print_svcctl_EnumDependentServicesW(struct ndr_print *ndr, const char *name, int flags, const struct svcctl_EnumDependentServicesW *r);
130 void ndr_print_svcctl_EnumServicesStatusW(struct ndr_print *ndr, const char *name, int flags, const struct svcctl_EnumServicesStatusW *r);
131 void ndr_print_svcctl_OpenSCManagerW(struct ndr_print *ndr, const char *name, int flags, const struct svcctl_OpenSCManagerW *r);
132 void ndr_print_svcctl_OpenServiceW(struct ndr_print *ndr, const char *name, int flags, const struct svcctl_OpenServiceW *r);
133 void ndr_print_svcctl_QueryServiceConfigW(struct ndr_print *ndr, const char *name, int flags, const struct svcctl_QueryServiceConfigW *r);
134 void ndr_print_svcctl_QueryServiceLockStatusW(struct ndr_print *ndr, const char *name, int flags, const struct svcctl_QueryServiceLockStatusW *r);
135 void ndr_print_svcctl_StartServiceW(struct ndr_print *ndr, const char *name, int flags, const struct svcctl_StartServiceW *r);
136 void ndr_print_svcctl_GetServiceDisplayNameW(struct ndr_print *ndr, const char *name, int flags, const struct svcctl_GetServiceDisplayNameW *r);
137 void ndr_print_svcctl_GetServiceKeyNameW(struct ndr_print *ndr, const char *name, int flags, const struct svcctl_GetServiceKeyNameW *r);
138 void ndr_print_svcctl_SCSetServiceBitsA(struct ndr_print *ndr, const char *name, int flags, const struct svcctl_SCSetServiceBitsA *r);
139 void ndr_print_svcctl_ChangeServiceConfigA(struct ndr_print *ndr, const char *name, int flags, const struct svcctl_ChangeServiceConfigA *r);
140 void ndr_print_svcctl_CreateServiceA(struct ndr_print *ndr, const char *name, int flags, const struct svcctl_CreateServiceA *r);
141 void ndr_print_svcctl_EnumDependentServicesA(struct ndr_print *ndr, const char *name, int flags, const struct svcctl_EnumDependentServicesA *r);
142 void ndr_print_svcctl_EnumServicesStatusA(struct ndr_print *ndr, const char *name, int flags, const struct svcctl_EnumServicesStatusA *r);
143 void ndr_print_svcctl_OpenSCManagerA(struct ndr_print *ndr, const char *name, int flags, const struct svcctl_OpenSCManagerA *r);
144 void ndr_print_svcctl_OpenServiceA(struct ndr_print *ndr, const char *name, int flags, const struct svcctl_OpenServiceA *r);
145 void ndr_print_svcctl_QueryServiceConfigA(struct ndr_print *ndr, const char *name, int flags, const struct svcctl_QueryServiceConfigA *r);
146 void ndr_print_svcctl_QueryServiceLockStatusA(struct ndr_print *ndr, const char *name, int flags, const struct svcctl_QueryServiceLockStatusA *r);
147 void ndr_print_svcctl_StartServiceA(struct ndr_print *ndr, const char *name, int flags, const struct svcctl_StartServiceA *r);
148 void ndr_print_svcctl_GetServiceDisplayNameA(struct ndr_print *ndr, const char *name, int flags, const struct svcctl_GetServiceDisplayNameA *r);
149 void ndr_print_svcctl_GetServiceKeyNameA(struct ndr_print *ndr, const char *name, int flags, const struct svcctl_GetServiceKeyNameA *r);
150 void ndr_print_svcctl_GetCurrentGroupeStateW(struct ndr_print *ndr, const char *name, int flags, const struct svcctl_GetCurrentGroupeStateW *r);
151 void ndr_print_svcctl_EnumServiceGroupW(struct ndr_print *ndr, const char *name, int flags, const struct svcctl_EnumServiceGroupW *r);
152 void ndr_print_svcctl_ChangeServiceConfig2A(struct ndr_print *ndr, const char *name, int flags, const struct svcctl_ChangeServiceConfig2A *r);
153 void ndr_print_svcctl_ChangeServiceConfig2W(struct ndr_print *ndr, const char *name, int flags, const struct svcctl_ChangeServiceConfig2W *r);
154 void ndr_print_svcctl_QueryServiceConfig2A(struct ndr_print *ndr, const char *name, int flags, const struct svcctl_QueryServiceConfig2A *r);
155 void ndr_print_svcctl_QueryServiceConfig2W(struct ndr_print *ndr, const char *name, int flags, const struct svcctl_QueryServiceConfig2W *r);
156 void ndr_print_svcctl_QueryServiceStatusEx(struct ndr_print *ndr, const char *name, int flags, const struct svcctl_QueryServiceStatusEx *r);
157 void ndr_print_EnumServicesStatusExA(struct ndr_print *ndr, const char *name, int flags, const struct EnumServicesStatusExA *r);
158 void ndr_print_EnumServicesStatusExW(struct ndr_print *ndr, const char *name, int flags, const struct EnumServicesStatusExW *r);
159 void ndr_print_svcctl_SCSendTSMessage(struct ndr_print *ndr, const char *name, int flags, const struct svcctl_SCSendTSMessage *r);
160 #endif /* _HEADER_NDR_svcctl */