s4:librpc/ndr: if uninitialized variable in string_array code
[Samba/gbeck.git] / librpc / gen_ndr / srv_ntsvcs.h
blob40d28a9e55e7a31e38879b8158ebcaab18a9a97a
1 #include "../librpc/gen_ndr/ndr_ntsvcs.h"
2 #ifndef __SRV_NTSVCS__
3 #define __SRV_NTSVCS__
4 WERROR _PNP_Disconnect(pipes_struct *p, struct PNP_Disconnect *r);
5 WERROR _PNP_Connect(pipes_struct *p, struct PNP_Connect *r);
6 WERROR _PNP_GetVersion(pipes_struct *p, struct PNP_GetVersion *r);
7 WERROR _PNP_GetGlobalState(pipes_struct *p, struct PNP_GetGlobalState *r);
8 WERROR _PNP_InitDetection(pipes_struct *p, struct PNP_InitDetection *r);
9 WERROR _PNP_ReportLogOn(pipes_struct *p, struct PNP_ReportLogOn *r);
10 WERROR _PNP_ValidateDeviceInstance(pipes_struct *p, struct PNP_ValidateDeviceInstance *r);
11 WERROR _PNP_GetRootDeviceInstance(pipes_struct *p, struct PNP_GetRootDeviceInstance *r);
12 WERROR _PNP_GetRelatedDeviceInstance(pipes_struct *p, struct PNP_GetRelatedDeviceInstance *r);
13 WERROR _PNP_EnumerateSubKeys(pipes_struct *p, struct PNP_EnumerateSubKeys *r);
14 WERROR _PNP_GetDeviceList(pipes_struct *p, struct PNP_GetDeviceList *r);
15 WERROR _PNP_GetDeviceListSize(pipes_struct *p, struct PNP_GetDeviceListSize *r);
16 WERROR _PNP_GetDepth(pipes_struct *p, struct PNP_GetDepth *r);
17 WERROR _PNP_GetDeviceRegProp(pipes_struct *p, struct PNP_GetDeviceRegProp *r);
18 WERROR _PNP_SetDeviceRegProp(pipes_struct *p, struct PNP_SetDeviceRegProp *r);
19 WERROR _PNP_GetClassInstance(pipes_struct *p, struct PNP_GetClassInstance *r);
20 WERROR _PNP_CreateKey(pipes_struct *p, struct PNP_CreateKey *r);
21 WERROR _PNP_DeleteRegistryKey(pipes_struct *p, struct PNP_DeleteRegistryKey *r);
22 WERROR _PNP_GetClassCount(pipes_struct *p, struct PNP_GetClassCount *r);
23 WERROR _PNP_GetClassName(pipes_struct *p, struct PNP_GetClassName *r);
24 WERROR _PNP_DeleteClassKey(pipes_struct *p, struct PNP_DeleteClassKey *r);
25 WERROR _PNP_GetInterfaceDeviceAlias(pipes_struct *p, struct PNP_GetInterfaceDeviceAlias *r);
26 WERROR _PNP_GetInterfaceDeviceList(pipes_struct *p, struct PNP_GetInterfaceDeviceList *r);
27 WERROR _PNP_GetInterfaceDeviceListSize(pipes_struct *p, struct PNP_GetInterfaceDeviceListSize *r);
28 WERROR _PNP_RegisterDeviceClassAssociation(pipes_struct *p, struct PNP_RegisterDeviceClassAssociation *r);
29 WERROR _PNP_UnregisterDeviceClassAssociation(pipes_struct *p, struct PNP_UnregisterDeviceClassAssociation *r);
30 WERROR _PNP_GetClassRegProp(pipes_struct *p, struct PNP_GetClassRegProp *r);
31 WERROR _PNP_SetClassRegProp(pipes_struct *p, struct PNP_SetClassRegProp *r);
32 WERROR _PNP_CreateDevInst(pipes_struct *p, struct PNP_CreateDevInst *r);
33 WERROR _PNP_DeviceInstanceAction(pipes_struct *p, struct PNP_DeviceInstanceAction *r);
34 WERROR _PNP_GetDeviceStatus(pipes_struct *p, struct PNP_GetDeviceStatus *r);
35 WERROR _PNP_SetDeviceProblem(pipes_struct *p, struct PNP_SetDeviceProblem *r);
36 WERROR _PNP_DisableDevInst(pipes_struct *p, struct PNP_DisableDevInst *r);
37 WERROR _PNP_UninstallDevInst(pipes_struct *p, struct PNP_UninstallDevInst *r);
38 WERROR _PNP_AddID(pipes_struct *p, struct PNP_AddID *r);
39 WERROR _PNP_RegisterDriver(pipes_struct *p, struct PNP_RegisterDriver *r);
40 WERROR _PNP_QueryRemove(pipes_struct *p, struct PNP_QueryRemove *r);
41 WERROR _PNP_RequestDeviceEject(pipes_struct *p, struct PNP_RequestDeviceEject *r);
42 WERROR _PNP_IsDockStationPresent(pipes_struct *p, struct PNP_IsDockStationPresent *r);
43 WERROR _PNP_RequestEjectPC(pipes_struct *p, struct PNP_RequestEjectPC *r);
44 WERROR _PNP_HwProfFlags(pipes_struct *p, struct PNP_HwProfFlags *r);
45 WERROR _PNP_GetHwProfInfo(pipes_struct *p, struct PNP_GetHwProfInfo *r);
46 WERROR _PNP_AddEmptyLogConf(pipes_struct *p, struct PNP_AddEmptyLogConf *r);
47 WERROR _PNP_FreeLogConf(pipes_struct *p, struct PNP_FreeLogConf *r);
48 WERROR _PNP_GetFirstLogConf(pipes_struct *p, struct PNP_GetFirstLogConf *r);
49 WERROR _PNP_GetNextLogConf(pipes_struct *p, struct PNP_GetNextLogConf *r);
50 WERROR _PNP_GetLogConfPriority(pipes_struct *p, struct PNP_GetLogConfPriority *r);
51 WERROR _PNP_AddResDes(pipes_struct *p, struct PNP_AddResDes *r);
52 WERROR _PNP_FreeResDes(pipes_struct *p, struct PNP_FreeResDes *r);
53 WERROR _PNP_GetNextResDes(pipes_struct *p, struct PNP_GetNextResDes *r);
54 WERROR _PNP_GetResDesData(pipes_struct *p, struct PNP_GetResDesData *r);
55 WERROR _PNP_GetResDesDataSize(pipes_struct *p, struct PNP_GetResDesDataSize *r);
56 WERROR _PNP_ModifyResDes(pipes_struct *p, struct PNP_ModifyResDes *r);
57 WERROR _PNP_DetectResourceLimit(pipes_struct *p, struct PNP_DetectResourceLimit *r);
58 WERROR _PNP_QueryResConfList(pipes_struct *p, struct PNP_QueryResConfList *r);
59 WERROR _PNP_SetHwProf(pipes_struct *p, struct PNP_SetHwProf *r);
60 WERROR _PNP_QueryArbitratorFreeData(pipes_struct *p, struct PNP_QueryArbitratorFreeData *r);
61 WERROR _PNP_QueryArbitratorFreeSize(pipes_struct *p, struct PNP_QueryArbitratorFreeSize *r);
62 WERROR _PNP_RunDetection(pipes_struct *p, struct PNP_RunDetection *r);
63 WERROR _PNP_RegisterNotification(pipes_struct *p, struct PNP_RegisterNotification *r);
64 WERROR _PNP_UnregisterNotification(pipes_struct *p, struct PNP_UnregisterNotification *r);
65 WERROR _PNP_GetCustomDevProp(pipes_struct *p, struct PNP_GetCustomDevProp *r);
66 WERROR _PNP_GetVersionInternal(pipes_struct *p, struct PNP_GetVersionInternal *r);
67 WERROR _PNP_GetBlockedDriverInfo(pipes_struct *p, struct PNP_GetBlockedDriverInfo *r);
68 WERROR _PNP_GetServerSideDeviceInstallFlags(pipes_struct *p, struct PNP_GetServerSideDeviceInstallFlags *r);
69 void ntsvcs_get_pipe_fns(struct api_struct **fns, int *n_fns);
70 NTSTATUS rpc_ntsvcs_dispatch(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx, const struct ndr_interface_table *table, uint32_t opnum, void *r);
71 WERROR _PNP_Disconnect(pipes_struct *p, struct PNP_Disconnect *r);
72 WERROR _PNP_Connect(pipes_struct *p, struct PNP_Connect *r);
73 WERROR _PNP_GetVersion(pipes_struct *p, struct PNP_GetVersion *r);
74 WERROR _PNP_GetGlobalState(pipes_struct *p, struct PNP_GetGlobalState *r);
75 WERROR _PNP_InitDetection(pipes_struct *p, struct PNP_InitDetection *r);
76 WERROR _PNP_ReportLogOn(pipes_struct *p, struct PNP_ReportLogOn *r);
77 WERROR _PNP_ValidateDeviceInstance(pipes_struct *p, struct PNP_ValidateDeviceInstance *r);
78 WERROR _PNP_GetRootDeviceInstance(pipes_struct *p, struct PNP_GetRootDeviceInstance *r);
79 WERROR _PNP_GetRelatedDeviceInstance(pipes_struct *p, struct PNP_GetRelatedDeviceInstance *r);
80 WERROR _PNP_EnumerateSubKeys(pipes_struct *p, struct PNP_EnumerateSubKeys *r);
81 WERROR _PNP_GetDeviceList(pipes_struct *p, struct PNP_GetDeviceList *r);
82 WERROR _PNP_GetDeviceListSize(pipes_struct *p, struct PNP_GetDeviceListSize *r);
83 WERROR _PNP_GetDepth(pipes_struct *p, struct PNP_GetDepth *r);
84 WERROR _PNP_GetDeviceRegProp(pipes_struct *p, struct PNP_GetDeviceRegProp *r);
85 WERROR _PNP_SetDeviceRegProp(pipes_struct *p, struct PNP_SetDeviceRegProp *r);
86 WERROR _PNP_GetClassInstance(pipes_struct *p, struct PNP_GetClassInstance *r);
87 WERROR _PNP_CreateKey(pipes_struct *p, struct PNP_CreateKey *r);
88 WERROR _PNP_DeleteRegistryKey(pipes_struct *p, struct PNP_DeleteRegistryKey *r);
89 WERROR _PNP_GetClassCount(pipes_struct *p, struct PNP_GetClassCount *r);
90 WERROR _PNP_GetClassName(pipes_struct *p, struct PNP_GetClassName *r);
91 WERROR _PNP_DeleteClassKey(pipes_struct *p, struct PNP_DeleteClassKey *r);
92 WERROR _PNP_GetInterfaceDeviceAlias(pipes_struct *p, struct PNP_GetInterfaceDeviceAlias *r);
93 WERROR _PNP_GetInterfaceDeviceList(pipes_struct *p, struct PNP_GetInterfaceDeviceList *r);
94 WERROR _PNP_GetInterfaceDeviceListSize(pipes_struct *p, struct PNP_GetInterfaceDeviceListSize *r);
95 WERROR _PNP_RegisterDeviceClassAssociation(pipes_struct *p, struct PNP_RegisterDeviceClassAssociation *r);
96 WERROR _PNP_UnregisterDeviceClassAssociation(pipes_struct *p, struct PNP_UnregisterDeviceClassAssociation *r);
97 WERROR _PNP_GetClassRegProp(pipes_struct *p, struct PNP_GetClassRegProp *r);
98 WERROR _PNP_SetClassRegProp(pipes_struct *p, struct PNP_SetClassRegProp *r);
99 WERROR _PNP_CreateDevInst(pipes_struct *p, struct PNP_CreateDevInst *r);
100 WERROR _PNP_DeviceInstanceAction(pipes_struct *p, struct PNP_DeviceInstanceAction *r);
101 WERROR _PNP_GetDeviceStatus(pipes_struct *p, struct PNP_GetDeviceStatus *r);
102 WERROR _PNP_SetDeviceProblem(pipes_struct *p, struct PNP_SetDeviceProblem *r);
103 WERROR _PNP_DisableDevInst(pipes_struct *p, struct PNP_DisableDevInst *r);
104 WERROR _PNP_UninstallDevInst(pipes_struct *p, struct PNP_UninstallDevInst *r);
105 WERROR _PNP_AddID(pipes_struct *p, struct PNP_AddID *r);
106 WERROR _PNP_RegisterDriver(pipes_struct *p, struct PNP_RegisterDriver *r);
107 WERROR _PNP_QueryRemove(pipes_struct *p, struct PNP_QueryRemove *r);
108 WERROR _PNP_RequestDeviceEject(pipes_struct *p, struct PNP_RequestDeviceEject *r);
109 WERROR _PNP_IsDockStationPresent(pipes_struct *p, struct PNP_IsDockStationPresent *r);
110 WERROR _PNP_RequestEjectPC(pipes_struct *p, struct PNP_RequestEjectPC *r);
111 WERROR _PNP_HwProfFlags(pipes_struct *p, struct PNP_HwProfFlags *r);
112 WERROR _PNP_GetHwProfInfo(pipes_struct *p, struct PNP_GetHwProfInfo *r);
113 WERROR _PNP_AddEmptyLogConf(pipes_struct *p, struct PNP_AddEmptyLogConf *r);
114 WERROR _PNP_FreeLogConf(pipes_struct *p, struct PNP_FreeLogConf *r);
115 WERROR _PNP_GetFirstLogConf(pipes_struct *p, struct PNP_GetFirstLogConf *r);
116 WERROR _PNP_GetNextLogConf(pipes_struct *p, struct PNP_GetNextLogConf *r);
117 WERROR _PNP_GetLogConfPriority(pipes_struct *p, struct PNP_GetLogConfPriority *r);
118 WERROR _PNP_AddResDes(pipes_struct *p, struct PNP_AddResDes *r);
119 WERROR _PNP_FreeResDes(pipes_struct *p, struct PNP_FreeResDes *r);
120 WERROR _PNP_GetNextResDes(pipes_struct *p, struct PNP_GetNextResDes *r);
121 WERROR _PNP_GetResDesData(pipes_struct *p, struct PNP_GetResDesData *r);
122 WERROR _PNP_GetResDesDataSize(pipes_struct *p, struct PNP_GetResDesDataSize *r);
123 WERROR _PNP_ModifyResDes(pipes_struct *p, struct PNP_ModifyResDes *r);
124 WERROR _PNP_DetectResourceLimit(pipes_struct *p, struct PNP_DetectResourceLimit *r);
125 WERROR _PNP_QueryResConfList(pipes_struct *p, struct PNP_QueryResConfList *r);
126 WERROR _PNP_SetHwProf(pipes_struct *p, struct PNP_SetHwProf *r);
127 WERROR _PNP_QueryArbitratorFreeData(pipes_struct *p, struct PNP_QueryArbitratorFreeData *r);
128 WERROR _PNP_QueryArbitratorFreeSize(pipes_struct *p, struct PNP_QueryArbitratorFreeSize *r);
129 WERROR _PNP_RunDetection(pipes_struct *p, struct PNP_RunDetection *r);
130 WERROR _PNP_RegisterNotification(pipes_struct *p, struct PNP_RegisterNotification *r);
131 WERROR _PNP_UnregisterNotification(pipes_struct *p, struct PNP_UnregisterNotification *r);
132 WERROR _PNP_GetCustomDevProp(pipes_struct *p, struct PNP_GetCustomDevProp *r);
133 WERROR _PNP_GetVersionInternal(pipes_struct *p, struct PNP_GetVersionInternal *r);
134 WERROR _PNP_GetBlockedDriverInfo(pipes_struct *p, struct PNP_GetBlockedDriverInfo *r);
135 WERROR _PNP_GetServerSideDeviceInstallFlags(pipes_struct *p, struct PNP_GetServerSideDeviceInstallFlags *r);
136 NTSTATUS rpc_ntsvcs_init(void);
137 #endif /* __SRV_NTSVCS__ */