source: branches/samba-3.0/source/librpc/gen_ndr/wkssvc.h

Last change on this file was 1, checked in by Paul Smedley, 19 years ago

Initial code import

File size: 9.9 KB
Line 
1/* header auto-generated by pidl */
2
3#include "librpc/gen_ndr/srvsvc.h"
4#ifndef _HEADER_wkssvc
5#define _HEADER_wkssvc
6
7struct wkssvc_NetWkstaInfo100 {
8 uint16_t platform_id;
9 const char *server_name;/* [unique,charset(UTF16)] */
10 const char *domain_name;/* [unique,charset(UTF16)] */
11 uint32_t version_major;
12 uint32_t version_minor;
13};
14
15struct wkssvc_NetWkstaInfo101 {
16 uint16_t platform_id;
17 const char *server_name;/* [unique,charset(UTF16)] */
18 const char *domain_name;/* [unique,charset(UTF16)] */
19 uint32_t version_major;
20 uint32_t version_minor;
21 const char *lan_root;/* [unique,charset(UTF16)] */
22};
23
24struct wkssvc_NetWkstaInfo102 {
25 uint16_t platform_id;
26 const char *server_name;/* [unique,charset(UTF16)] */
27 const char *domain_name;/* [unique,charset(UTF16)] */
28 uint32_t version_major;
29 uint32_t version_minor;
30 const char *lan_root;/* [unique,charset(UTF16)] */
31 uint32_t logged_on_users;
32};
33
34struct wkssvc_NetWkstaInfo502 {
35 uint32_t char_wait;
36 uint32_t collection_time;
37 uint32_t maximum_collection_count;
38 uint32_t keep_connection;
39 uint32_t max_commands;
40 uint32_t session_timeout;
41 uint32_t size_char_buf;
42 uint32_t max_threads;
43 uint32_t lock_quota;
44 uint32_t lock_increment;
45 uint32_t lock_maximum;
46 uint32_t pipe_increment;
47 uint32_t pipe_maximum;
48 uint32_t cache_file_timeout;
49 uint32_t dormant_file_limit;
50 uint32_t read_ahead_throughput;
51 uint32_t num_mailslot_buffers;
52 uint32_t num_srv_announce_buffers;
53 uint32_t max_illegal_dgram_events;
54 uint32_t dgram_event_reset_freq;
55 uint32_t log_election_packets;
56 uint32_t use_opportunistic_locking;
57 uint32_t use_unlock_behind;
58 uint32_t use_close_behind;
59 uint32_t buf_named_pipes;
60 uint32_t use_lock_read_unlock;
61 uint32_t utilize_nt_caching;
62 uint32_t use_raw_read;
63 uint32_t use_raw_write;
64 uint32_t use_write_raw_data;
65 uint32_t use_encryption;
66 uint32_t buf_files_deny_write;
67 uint32_t buf_read_only_files;
68 uint32_t force_core_create_mode;
69 uint32_t use_512_byte_max_transfer;
70};
71
72struct wkssvc_NetWkstaInfo1010 {
73 uint32_t char_wait;
74};
75
76struct wkssvc_NetWkstaInfo1011 {
77 uint32_t collection_time;
78};
79
80struct wkssvc_NetWkstaInfo1012 {
81 uint32_t maximum_collection_count;
82};
83
84struct wkssvc_NetWkstaInfo1013 {
85 uint32_t keep_connection;
86};
87
88struct wkssvc_NetWkstaInfo1018 {
89 uint32_t session_timeout;
90};
91
92struct wkssvc_NetWkstaInfo1023 {
93 uint32_t size_char_buf;
94};
95
96struct wkssvc_NetWkstaInfo1027 {
97 uint32_t errorlog_sz;
98};
99
100struct wkssvc_NetWkstaInfo1033 {
101 uint32_t max_threads;
102};
103
104union wkssvc_NetWkstaInfo {
105 struct wkssvc_NetWkstaInfo100 *info100;/* [unique,case(100)] */
106 struct wkssvc_NetWkstaInfo101 *info101;/* [unique,case(101)] */
107 struct wkssvc_NetWkstaInfo102 *info102;/* [unique,case(102)] */
108 struct wkssvc_NetWkstaInfo502 *info502;/* [unique,case(502)] */
109 struct wkssvc_NetWkstaInfo1010 *info1010;/* [unique,case(1010)] */
110 struct wkssvc_NetWkstaInfo1011 *info1011;/* [unique,case(1011)] */
111 struct wkssvc_NetWkstaInfo1012 *info1012;/* [unique,case(1012)] */
112 struct wkssvc_NetWkstaInfo1013 *info1013;/* [unique,case(1013)] */
113 struct wkssvc_NetWkstaInfo1018 *info1018;/* [unique,case(1018)] */
114 struct wkssvc_NetWkstaInfo1023 *info1023;/* [unique,case(1023)] */
115 struct wkssvc_NetWkstaInfo1027 *info1027;/* [unique,case(1027)] */
116 struct wkssvc_NetWkstaInfo1033 *info1033;/* [unique,case(1033)] */
117};
118
119struct USER_INFO_0 {
120 const char *user;/* [unique,charset(UTF16)] */
121};
122
123struct USER_INFO_0_CONTAINER {
124 uint32_t entries_read;
125 struct USER_INFO_0 *user0;/* [unique,size_is(entries_read)] */
126};
127
128struct USER_INFO_1 {
129 const char *user_name;/* [unique,charset(UTF16)] */
130 const char *logon_domain;/* [unique,charset(UTF16)] */
131 const char *other_domains;/* [unique,charset(UTF16)] */
132 const char *logon_server;/* [unique,charset(UTF16)] */
133};
134
135struct USER_INFO_1_CONTAINER {
136 uint32_t entries_read;
137 struct USER_INFO_1 *user1;/* [unique,size_is(entries_read)] */
138};
139
140union WKS_USER_ENUM_UNION {
141 struct USER_INFO_0_CONTAINER *user0;/* [unique,case(0)] */
142 struct USER_INFO_1_CONTAINER *user1;/* [unique,case] */
143}/* [switch_type(uint32)] */;
144
145struct wkssvc_NetWkstaTransportInfo0 {
146 uint32_t quality_of_service;
147 uint32_t vc_count;
148 const char *name;/* [unique,charset(UTF16)] */
149 const char *address;/* [unique,charset(UTF16)] */
150 uint32_t wan_link;
151};
152
153struct wkssvc_NetWkstaTransportCtr0 {
154 uint32_t count;
155 struct wkssvc_NetWkstaTransportInfo0 *array;/* [unique,size_is(count)] */
156};
157
158union wkssvc_NetWkstaTransportCtr {
159 struct wkssvc_NetWkstaTransportCtr0 *ctr0;/* [unique,case(0)] */
160};
161
162struct wkssvc_PasswordBuffer {
163 uint8_t data[524];
164};
165
166/* bitmap wkssvc_joinflags */
167#define WKSSVC_JOIN_FLAGS_DEFER_SPN ( 0x00000100 )
168#define WKSSVC_JOIN_FLAGS_MACHINE_PWD_PASSED ( 0x00000080 )
169#define WKSSVC_JOIN_FLAGS_JOIN_UNSECURE ( 0x00000040 )
170#define WKSSVC_JOIN_FLAGS_DOMAIN_JOIN_IF_JOINED ( 0x00000020 )
171#define WKSSVC_JOIN_FLAGS_WIN9X_UPGRADE ( 0x00000010 )
172#define WKSSVC_JOIN_FLAGS_ACCOUNT_DELETE ( 0x00000004 )
173#define WKSSVC_JOIN_FLAGS_ACCOUNT_CREATE ( 0x00000002 )
174#define WKSSVC_JOIN_FLAGS_JOIN_TYPE ( 0x00000001 )
175
176/* bitmap wkssvc_renameflags */
177#define WKSSVC_JOIN_FLAGS_ACCOUNT_CREATE ( 0x00000002 )
178
179
180struct wkssvc_NetWkstaGetInfo {
181 struct {
182 const char *server_name;/* [unique,charset(UTF16)] */
183 uint32_t level;
184 } in;
185
186 struct {
187 union wkssvc_NetWkstaInfo *info;/* [ref,switch_is(level)] */
188 WERROR result;
189 } out;
190
191};
192
193
194struct wkssvc_NetWkstaSetInfo {
195 struct {
196 const char *server_name;/* [unique,charset(UTF16)] */
197 uint32_t level;
198 union wkssvc_NetWkstaInfo *info;/* [ref,switch_is(level)] */
199 uint32_t *parm_error;/* [ref] */
200 } in;
201
202 struct {
203 uint32_t *parm_error;/* [ref] */
204 WERROR result;
205 } out;
206
207};
208
209
210struct wkssvc_NetWkstaEnumUsers {
211 struct {
212 const char *server_name;/* [unique,charset(UTF16)] */
213 uint32_t level;
214 union WKS_USER_ENUM_UNION *users;/* [ref] */
215 uint32_t prefmaxlen;
216 uint32_t *resumehandle;/* [ref] */
217 } in;
218
219 struct {
220 union WKS_USER_ENUM_UNION *users;/* [ref] */
221 uint32_t *entriesread;/* [unique] */
222 uint32_t *totalentries;/* [unique] */
223 uint32_t *resumehandle;/* [ref] */
224 WERROR result;
225 } out;
226
227};
228
229
230struct WKSSVC_NETRWKSTAUSERGETINFO {
231 struct {
232 WERROR result;
233 } out;
234
235};
236
237
238struct WKSSVC_NETRWKSTAUSERSETINFO {
239 struct {
240 WERROR result;
241 } out;
242
243};
244
245
246struct wkssvc_NetWkstaTransportEnum {
247 struct {
248 const char *server_name;/* [unique,charset(UTF16)] */
249 uint32_t *level;/* [ref] */
250 union wkssvc_NetWkstaTransportCtr *ctr;/* [ref,switch_is(*level)] */
251 uint32_t max_buffer;
252 uint32_t *resume_handle;/* [ref] */
253 } in;
254
255 struct {
256 uint32_t *level;/* [ref] */
257 union wkssvc_NetWkstaTransportCtr *ctr;/* [ref,switch_is(*level)] */
258 uint32_t *totalentries;/* [unique] */
259 uint32_t *resume_handle;/* [ref] */
260 WERROR result;
261 } out;
262
263};
264
265
266struct WKSSVC_NETRWKSTATRANSPORTADD {
267 struct {
268 WERROR result;
269 } out;
270
271};
272
273
274struct WKSSVC_NETRWKSTATRANSPORTDEL {
275 struct {
276 WERROR result;
277 } out;
278
279};
280
281
282struct WKSSVC_NETRUSEADD {
283 struct {
284 WERROR result;
285 } out;
286
287};
288
289
290struct WKSSVC_NETRUSEGETINFO {
291 struct {
292 WERROR result;
293 } out;
294
295};
296
297
298struct WKSSVC_NETRUSEDEL {
299 struct {
300 WERROR result;
301 } out;
302
303};
304
305
306struct WKSSVC_NETRUSEENUM {
307 struct {
308 WERROR result;
309 } out;
310
311};
312
313
314struct WKSSVC_NETRMESSAGEBUFFERSEND {
315 struct {
316 WERROR result;
317 } out;
318
319};
320
321
322struct WKSSVC_NETRWORKSTATIONSTATISTICSGET {
323 struct {
324 WERROR result;
325 } out;
326
327};
328
329
330struct WKSSVC_NETRLOGONDOMAINNAMEADD {
331 struct {
332 WERROR result;
333 } out;
334
335};
336
337
338struct WKSSVC_NETRLOGONDOMAINNAMEDEL {
339 struct {
340 WERROR result;
341 } out;
342
343};
344
345
346struct WKSSVC_NETRJOINDOMAIN {
347 struct {
348 WERROR result;
349 } out;
350
351};
352
353
354struct WKSSVC_NETRUNJOINDOMAIN {
355 struct {
356 WERROR result;
357 } out;
358
359};
360
361
362struct WKSSVC_NETRRENAMEMACHINEINDOMAIN {
363 struct {
364 WERROR result;
365 } out;
366
367};
368
369
370struct WKSSVC_NETRVALIDATENAME {
371 struct {
372 WERROR result;
373 } out;
374
375};
376
377
378struct WKSSVC_NETRGETJOININFORMATION {
379 struct {
380 WERROR result;
381 } out;
382
383};
384
385
386struct WKSSVC_NETRGETJOINABLEOUS {
387 struct {
388 WERROR result;
389 } out;
390
391};
392
393
394struct wkssvc_NetrJoinDomain2 {
395 struct {
396 const char *server_name;/* [unique,charset(UTF16)] */
397 const char *domain_name;/* [ref,charset(UTF16)] */
398 const char *account_name;/* [unique,charset(UTF16)] */
399 const char *admin_account;/* [unique,charset(UTF16)] */
400 struct wkssvc_PasswordBuffer *encrypted_password;/* [unique] */
401 uint32_t join_flags;
402 } in;
403
404 struct {
405 WERROR result;
406 } out;
407
408};
409
410
411struct wkssvc_NetrUnjoinDomain2 {
412 struct {
413 const char *server_name;/* [unique,charset(UTF16)] */
414 const char *account;/* [unique,charset(UTF16)] */
415 struct wkssvc_PasswordBuffer *encrypted_password;/* [unique] */
416 uint32_t unjoin_flags;
417 } in;
418
419 struct {
420 WERROR result;
421 } out;
422
423};
424
425
426struct wkssvc_NetrRenameMachineInDomain2 {
427 struct {
428 const char *server_name;/* [unique,charset(UTF16)] */
429 const char *NewMachineName;/* [unique,charset(UTF16)] */
430 const char *Account;/* [unique,charset(UTF16)] */
431 struct wkssvc_PasswordBuffer *EncryptedPassword;/* [unique] */
432 uint32_t RenameOptions;
433 } in;
434
435 struct {
436 WERROR result;
437 } out;
438
439};
440
441
442struct WKSSVC_NETRVALIDATENAME2 {
443 struct {
444 WERROR result;
445 } out;
446
447};
448
449
450struct WKSSVC_NETRGETJOINABLEOUS2 {
451 struct {
452 WERROR result;
453 } out;
454
455};
456
457
458struct wkssvc_NetrAddAlternateComputerName {
459 struct {
460 const char *server_name;/* [unique,charset(UTF16)] */
461 const char *NewAlternateMachineName;/* [unique,charset(UTF16)] */
462 const char *Account;/* [unique,charset(UTF16)] */
463 struct wkssvc_PasswordBuffer *EncryptedPassword;/* [unique] */
464 uint32_t Reserved;
465 } in;
466
467 struct {
468 WERROR result;
469 } out;
470
471};
472
473
474struct wkssvc_NetrRemoveAlternateComputerName {
475 struct {
476 const char *server_name;/* [unique,charset(UTF16)] */
477 const char *AlternateMachineNameToRemove;/* [unique,charset(UTF16)] */
478 const char *Account;/* [unique,charset(UTF16)] */
479 struct wkssvc_PasswordBuffer *EncryptedPassword;/* [unique] */
480 uint32_t Reserved;
481 } in;
482
483 struct {
484 WERROR result;
485 } out;
486
487};
488
489
490struct WKSSVC_NETRSETPRIMARYCOMPUTERNAME {
491 struct {
492 WERROR result;
493 } out;
494
495};
496
497
498struct WKSSVC_NETRENUMERATECOMPUTERNAMES {
499 struct {
500 WERROR result;
501 } out;
502
503};
504
505#endif /* _HEADER_wkssvc */
Note: See TracBrowser for help on using the repository browser.