1 | /* $Id: mgmt.cpp,v 1.1 2000-04-04 19:49:03 davidr Exp $ */
|
---|
2 |
|
---|
3 | /*
|
---|
4 | * RPCRT4 library
|
---|
5 | * Mgmt Stubs
|
---|
6 | *
|
---|
7 | * 2000/04/03
|
---|
8 | *
|
---|
9 | * Copyright 2000 David J. Raison
|
---|
10 | *
|
---|
11 | * Project Odin Software License can be found in LICENSE.TXT
|
---|
12 | *
|
---|
13 | */
|
---|
14 |
|
---|
15 | #include "rpcrt4.h"
|
---|
16 |
|
---|
17 | // ----------------------------------------------------------------------
|
---|
18 | // RpcMgmtInqDefaultProtectLevel
|
---|
19 | // ----------------------------------------------------------------------
|
---|
20 | RPCRTAPI RPC_STATUS RPC_ENTRY
|
---|
21 | RpcMgmtInqDefaultProtectLevel(
|
---|
22 | IN unsigned long AuthnSvc,
|
---|
23 | OUT unsigned long __RPC_FAR *AuthnLevel
|
---|
24 | )
|
---|
25 | {
|
---|
26 | dprintf(("RPCRT4: %s - Stub", __FUNCTION__));
|
---|
27 | return RPC_S_OUT_OF_MEMORY;
|
---|
28 | }
|
---|
29 |
|
---|
30 |
|
---|
31 | /* client */
|
---|
32 | // ----------------------------------------------------------------------
|
---|
33 | // RpcMgmtInqComTimeout
|
---|
34 | // ----------------------------------------------------------------------
|
---|
35 | RPCRTAPI RPC_STATUS RPC_ENTRY
|
---|
36 | RpcMgmtInqComTimeout (
|
---|
37 | IN RPC_BINDING_HANDLE Binding,
|
---|
38 | OUT unsigned int __RPC_FAR * Timeout
|
---|
39 | )
|
---|
40 | {
|
---|
41 | dprintf(("RPCRT4: %s - Stub", __FUNCTION__));
|
---|
42 | return RPC_S_OUT_OF_MEMORY;
|
---|
43 | }
|
---|
44 |
|
---|
45 |
|
---|
46 | /* client */
|
---|
47 | // ----------------------------------------------------------------------
|
---|
48 | // RpcMgmtSetComTimeout
|
---|
49 | // ----------------------------------------------------------------------
|
---|
50 | RPCRTAPI RPC_STATUS RPC_ENTRY
|
---|
51 | RpcMgmtSetComTimeout (
|
---|
52 | IN RPC_BINDING_HANDLE Binding,
|
---|
53 | IN unsigned int Timeout
|
---|
54 | )
|
---|
55 | {
|
---|
56 | dprintf(("RPCRT4: %s - Stub", __FUNCTION__));
|
---|
57 | return RPC_S_OUT_OF_MEMORY;
|
---|
58 | }
|
---|
59 |
|
---|
60 |
|
---|
61 | /* client */
|
---|
62 | // ----------------------------------------------------------------------
|
---|
63 | // RpcMgmtSetCancelTimeout
|
---|
64 | // ----------------------------------------------------------------------
|
---|
65 | RPCRTAPI RPC_STATUS RPC_ENTRY
|
---|
66 | RpcMgmtSetCancelTimeout(
|
---|
67 | long Timeout
|
---|
68 | )
|
---|
69 | {
|
---|
70 | dprintf(("RPCRT4: %s - Stub", __FUNCTION__));
|
---|
71 | return RPC_S_OUT_OF_MEMORY;
|
---|
72 | }
|
---|
73 |
|
---|
74 |
|
---|
75 | /* server */
|
---|
76 | // ----------------------------------------------------------------------
|
---|
77 | // RpcMgmtStatsVectorFree
|
---|
78 | // ----------------------------------------------------------------------
|
---|
79 | RPCRTAPI RPC_STATUS RPC_ENTRY
|
---|
80 | RpcMgmtStatsVectorFree (
|
---|
81 | IN RPC_STATS_VECTOR ** StatsVector
|
---|
82 | )
|
---|
83 | {
|
---|
84 | dprintf(("RPCRT4: %s - Stub", __FUNCTION__));
|
---|
85 | return RPC_S_OUT_OF_MEMORY;
|
---|
86 | }
|
---|
87 |
|
---|
88 |
|
---|
89 | /* server */
|
---|
90 | // ----------------------------------------------------------------------
|
---|
91 | // RpcMgmtInqStats
|
---|
92 | // ----------------------------------------------------------------------
|
---|
93 | RPCRTAPI RPC_STATUS RPC_ENTRY
|
---|
94 | RpcMgmtInqStats (
|
---|
95 | IN RPC_BINDING_HANDLE Binding,
|
---|
96 | OUT RPC_STATS_VECTOR ** Statistics
|
---|
97 | )
|
---|
98 | {
|
---|
99 | dprintf(("RPCRT4: %s - Stub", __FUNCTION__));
|
---|
100 | return RPC_S_OUT_OF_MEMORY;
|
---|
101 | }
|
---|
102 |
|
---|
103 |
|
---|
104 | /* server */
|
---|
105 | // ----------------------------------------------------------------------
|
---|
106 | // RpcMgmtIsServerListening
|
---|
107 | // ----------------------------------------------------------------------
|
---|
108 | RPCRTAPI RPC_STATUS RPC_ENTRY
|
---|
109 | RpcMgmtIsServerListening (
|
---|
110 | IN RPC_BINDING_HANDLE Binding
|
---|
111 | )
|
---|
112 | {
|
---|
113 | dprintf(("RPCRT4: %s - Stub", __FUNCTION__));
|
---|
114 | return RPC_S_OUT_OF_MEMORY;
|
---|
115 | }
|
---|
116 |
|
---|
117 |
|
---|
118 | /* server */
|
---|
119 | // ----------------------------------------------------------------------
|
---|
120 | // RpcMgmtStopServerListening
|
---|
121 | // ----------------------------------------------------------------------
|
---|
122 | RPCRTAPI RPC_STATUS RPC_ENTRY
|
---|
123 | RpcMgmtStopServerListening (
|
---|
124 | IN RPC_BINDING_HANDLE Binding
|
---|
125 | )
|
---|
126 | {
|
---|
127 | dprintf(("RPCRT4: %s - Stub", __FUNCTION__));
|
---|
128 | return RPC_S_OUT_OF_MEMORY;
|
---|
129 | }
|
---|
130 |
|
---|
131 |
|
---|
132 | /* server */
|
---|
133 | // ----------------------------------------------------------------------
|
---|
134 | // RpcMgmtWaitServerListen
|
---|
135 | // ----------------------------------------------------------------------
|
---|
136 | RPCRTAPI RPC_STATUS RPC_ENTRY
|
---|
137 | RpcMgmtWaitServerListen (
|
---|
138 | void
|
---|
139 | )
|
---|
140 | {
|
---|
141 | dprintf(("RPCRT4: %s - Stub", __FUNCTION__));
|
---|
142 | return RPC_S_OUT_OF_MEMORY;
|
---|
143 | }
|
---|
144 |
|
---|
145 |
|
---|
146 | /* server */
|
---|
147 | // ----------------------------------------------------------------------
|
---|
148 | // RpcMgmtSetServerStackSize
|
---|
149 | // ----------------------------------------------------------------------
|
---|
150 | RPCRTAPI RPC_STATUS RPC_ENTRY
|
---|
151 | RpcMgmtSetServerStackSize (
|
---|
152 | IN unsigned long ThreadStackSize
|
---|
153 | )
|
---|
154 | {
|
---|
155 | dprintf(("RPCRT4: %s - Stub", __FUNCTION__));
|
---|
156 | return RPC_S_OUT_OF_MEMORY;
|
---|
157 | }
|
---|
158 |
|
---|
159 | /* client */
|
---|
160 | // ----------------------------------------------------------------------
|
---|
161 | // RpcMgmtEnableIdleCleanup
|
---|
162 | // ----------------------------------------------------------------------
|
---|
163 | RPCRTAPI RPC_STATUS RPC_ENTRY
|
---|
164 | RpcMgmtEnableIdleCleanup (
|
---|
165 | void
|
---|
166 | )
|
---|
167 | {
|
---|
168 | dprintf(("RPCRT4: %s - Stub", __FUNCTION__));
|
---|
169 | return RPC_S_OUT_OF_MEMORY;
|
---|
170 | }
|
---|
171 |
|
---|
172 |
|
---|
173 | // ----------------------------------------------------------------------
|
---|
174 | // RpcMgmtInqIfIds
|
---|
175 | // ----------------------------------------------------------------------
|
---|
176 | RPCRTAPI RPC_STATUS RPC_ENTRY
|
---|
177 | RpcMgmtInqIfIds (
|
---|
178 | IN RPC_BINDING_HANDLE Binding,
|
---|
179 | OUT RPC_IF_ID_VECTOR __RPC_FAR * __RPC_FAR * IfIdVector
|
---|
180 | )
|
---|
181 | {
|
---|
182 | dprintf(("RPCRT4: %s - Stub", __FUNCTION__));
|
---|
183 | return RPC_S_OUT_OF_MEMORY;
|
---|
184 | }
|
---|
185 |
|
---|
186 |
|
---|
187 | // ----------------------------------------------------------------------
|
---|
188 | // RpcMgmtInqServerPrincNameA
|
---|
189 | // ----------------------------------------------------------------------
|
---|
190 | RPCRTAPI RPC_STATUS RPC_ENTRY
|
---|
191 | RpcMgmtInqServerPrincNameA (
|
---|
192 | IN RPC_BINDING_HANDLE Binding,
|
---|
193 | IN unsigned long AuthnSvc,
|
---|
194 | OUT unsigned char __RPC_FAR * __RPC_FAR * ServerPrincName
|
---|
195 | )
|
---|
196 | {
|
---|
197 | dprintf(("RPCRT4: %s - Stub", __FUNCTION__));
|
---|
198 | return RPC_S_OUT_OF_MEMORY;
|
---|
199 | }
|
---|
200 |
|
---|
201 |
|
---|
202 | // ----------------------------------------------------------------------
|
---|
203 | // RpcMgmtInqServerPrincNameW
|
---|
204 | // ----------------------------------------------------------------------
|
---|
205 | RPCRTAPI RPC_STATUS RPC_ENTRY
|
---|
206 | RpcMgmtInqServerPrincNameW (
|
---|
207 | IN RPC_BINDING_HANDLE Binding,
|
---|
208 | IN unsigned long AuthnSvc,
|
---|
209 | OUT unsigned short __RPC_FAR * __RPC_FAR * ServerPrincName
|
---|
210 | )
|
---|
211 | {
|
---|
212 | dprintf(("RPCRT4: %s - Stub", __FUNCTION__));
|
---|
213 | return RPC_S_OUT_OF_MEMORY;
|
---|
214 | }
|
---|
215 |
|
---|
216 | // ----------------------------------------------------------------------
|
---|
217 | // RpcMgmtEpEltInqBegin
|
---|
218 | // ----------------------------------------------------------------------
|
---|
219 | RPCRTAPI RPC_STATUS RPC_ENTRY
|
---|
220 | RpcMgmtEpEltInqBegin (
|
---|
221 | IN RPC_BINDING_HANDLE EpBinding OPTIONAL,
|
---|
222 | IN unsigned long InquiryType,
|
---|
223 | IN RPC_IF_ID __RPC_FAR * IfId OPTIONAL,
|
---|
224 | IN unsigned long VersOption OPTIONAL,
|
---|
225 | IN UUID __RPC_FAR * ObjectUuid OPTIONAL,
|
---|
226 | OUT RPC_EP_INQ_HANDLE __RPC_FAR * InquiryContext
|
---|
227 | )
|
---|
228 | {
|
---|
229 | dprintf(("RPCRT4: %s - Stub", __FUNCTION__));
|
---|
230 | return RPC_S_OUT_OF_MEMORY;
|
---|
231 | }
|
---|
232 |
|
---|
233 |
|
---|
234 | // ----------------------------------------------------------------------
|
---|
235 | // RpcMgmtEpEltInqDone
|
---|
236 | // ----------------------------------------------------------------------
|
---|
237 | RPCRTAPI RPC_STATUS RPC_ENTRY
|
---|
238 | RpcMgmtEpEltInqDone (
|
---|
239 | IN OUT RPC_EP_INQ_HANDLE __RPC_FAR * InquiryContext
|
---|
240 | )
|
---|
241 | {
|
---|
242 | dprintf(("RPCRT4: %s - Stub", __FUNCTION__));
|
---|
243 | return RPC_S_OUT_OF_MEMORY;
|
---|
244 | }
|
---|
245 |
|
---|
246 |
|
---|
247 | // ----------------------------------------------------------------------
|
---|
248 | // RpcMgmtEpEltInqNextA
|
---|
249 | // ----------------------------------------------------------------------
|
---|
250 | RPCRTAPI RPC_STATUS RPC_ENTRY
|
---|
251 | RpcMgmtEpEltInqNextA (
|
---|
252 | IN RPC_EP_INQ_HANDLE InquiryContext,
|
---|
253 | OUT RPC_IF_ID __RPC_FAR * IfId,
|
---|
254 | OUT RPC_BINDING_HANDLE __RPC_FAR * Binding OPTIONAL,
|
---|
255 | OUT UUID __RPC_FAR * ObjectUuid OPTIONAL,
|
---|
256 | OUT unsigned char __RPC_FAR * __RPC_FAR * Annotation OPTIONAL
|
---|
257 | )
|
---|
258 | {
|
---|
259 | dprintf(("RPCRT4: %s - Stub", __FUNCTION__));
|
---|
260 | return RPC_S_OUT_OF_MEMORY;
|
---|
261 | }
|
---|
262 |
|
---|
263 |
|
---|
264 | // ----------------------------------------------------------------------
|
---|
265 | // RpcMgmtEpEltInqNextW
|
---|
266 | // ----------------------------------------------------------------------
|
---|
267 | RPCRTAPI RPC_STATUS RPC_ENTRY
|
---|
268 | RpcMgmtEpEltInqNextW (
|
---|
269 | IN RPC_EP_INQ_HANDLE InquiryContext,
|
---|
270 | OUT RPC_IF_ID __RPC_FAR * IfId,
|
---|
271 | OUT RPC_BINDING_HANDLE __RPC_FAR * Binding OPTIONAL,
|
---|
272 | OUT UUID __RPC_FAR * ObjectUuid OPTIONAL,
|
---|
273 | OUT unsigned short __RPC_FAR * __RPC_FAR * Annotation OPTIONAL
|
---|
274 | )
|
---|
275 | {
|
---|
276 | dprintf(("RPCRT4: %s - Stub", __FUNCTION__));
|
---|
277 | return RPC_S_OUT_OF_MEMORY;
|
---|
278 | }
|
---|
279 |
|
---|
280 |
|
---|
281 | // ----------------------------------------------------------------------
|
---|
282 | // RpcMgmtEpUnregister
|
---|
283 | // ----------------------------------------------------------------------
|
---|
284 | RPCRTAPI RPC_STATUS RPC_ENTRY
|
---|
285 | RpcMgmtEpUnregister (
|
---|
286 | IN RPC_BINDING_HANDLE EpBinding OPTIONAL,
|
---|
287 | IN RPC_IF_ID __RPC_FAR * IfId,
|
---|
288 | IN RPC_BINDING_HANDLE Binding,
|
---|
289 | IN UUID __RPC_FAR * ObjectUuid OPTIONAL
|
---|
290 | )
|
---|
291 | {
|
---|
292 | dprintf(("RPCRT4: %s - Stub", __FUNCTION__));
|
---|
293 | return RPC_S_OUT_OF_MEMORY;
|
---|
294 | }
|
---|
295 |
|
---|
296 |
|
---|
297 | // ----------------------------------------------------------------------
|
---|
298 | // RpcMgmtSetAuthorizationFn
|
---|
299 | // ----------------------------------------------------------------------
|
---|
300 | RPCRTAPI RPC_STATUS RPC_ENTRY
|
---|
301 | RpcMgmtSetAuthorizationFn (
|
---|
302 | IN RPC_MGMT_AUTHORIZATION_FN AuthorizationFn
|
---|
303 | )
|
---|
304 | {
|
---|
305 | dprintf(("RPCRT4: %s - Stub", __FUNCTION__));
|
---|
306 | return RPC_S_OUT_OF_MEMORY;
|
---|
307 | }
|
---|
308 |
|
---|
309 |
|
---|
310 | // ----------------------------------------------------------------------
|
---|
311 | // RpcMgmtInqParameter
|
---|
312 | // ----------------------------------------------------------------------
|
---|
313 | RPCRTAPI RPC_STATUS RPC_ENTRY
|
---|
314 | RpcMgmtInqParameter (
|
---|
315 | IN unsigned Parameter,
|
---|
316 | IN unsigned long __RPC_FAR * Value
|
---|
317 | )
|
---|
318 | {
|
---|
319 | dprintf(("RPCRT4: %s - Stub", __FUNCTION__));
|
---|
320 | return RPC_S_OUT_OF_MEMORY;
|
---|
321 | }
|
---|
322 |
|
---|
323 |
|
---|
324 | // ----------------------------------------------------------------------
|
---|
325 | // RpcMgmtSetParameter
|
---|
326 | // ----------------------------------------------------------------------
|
---|
327 | RPCRTAPI RPC_STATUS RPC_ENTRY RpcMgmtSetParameter (
|
---|
328 | IN unsigned Parameter,
|
---|
329 | IN unsigned long Value
|
---|
330 | )
|
---|
331 | {
|
---|
332 | dprintf(("RPCRT4: %s - Stub", __FUNCTION__));
|
---|
333 | return RPC_S_OUT_OF_MEMORY;
|
---|
334 | }
|
---|
335 |
|
---|
336 |
|
---|
337 | // ----------------------------------------------------------------------
|
---|
338 | // RpcMgmtBindingInqParameter
|
---|
339 | // ----------------------------------------------------------------------
|
---|
340 | RPCRTAPI RPC_STATUS RPC_ENTRY
|
---|
341 | RpcMgmtBindingInqParameter (
|
---|
342 | IN RPC_BINDING_HANDLE Handle,
|
---|
343 | IN unsigned Parameter,
|
---|
344 | IN unsigned long __RPC_FAR * Value
|
---|
345 | )
|
---|
346 | {
|
---|
347 | dprintf(("RPCRT4: %s - Stub", __FUNCTION__));
|
---|
348 | return RPC_S_OUT_OF_MEMORY;
|
---|
349 | }
|
---|
350 |
|
---|
351 |
|
---|
352 | // ----------------------------------------------------------------------
|
---|
353 | // RpcMgmtBindingSetParameter
|
---|
354 | // ----------------------------------------------------------------------
|
---|
355 | RPCRTAPI RPC_STATUS RPC_ENTRY
|
---|
356 | RpcMgmtBindingSetParameter (
|
---|
357 | IN RPC_BINDING_HANDLE Handle,
|
---|
358 | IN unsigned Parameter,
|
---|
359 | IN unsigned long Value
|
---|
360 | )
|
---|
361 | {
|
---|
362 | dprintf(("RPCRT4: %s - Stub", __FUNCTION__));
|
---|
363 | return RPC_S_OUT_OF_MEMORY;
|
---|
364 | }
|
---|
365 |
|
---|
366 |
|
---|