~ubuntu-branches/ubuntu/precise/samba/precise

« back to all changes in this revision

Viewing changes to librpc/gen_ndr/ntsvcs.h

  • Committer: Package Import Robot
  • Author(s): Chuck Short
  • Date: 2011-12-21 13:18:04 UTC
  • mfrom: (0.39.21 sid)
  • Revision ID: package-import@ubuntu.com-20111221131804-xtlr39wx6njehxxr
Tags: 2:3.6.1-3ubuntu1
* Merge from Debian testing.  Remaining changes:
  + debian/patches/VERSION.patch:
    - set SAMBA_VERSION_SUFFIX to Ubuntu.
  + debian/patches/error-trans.fix-276472:
    - Add the translation of Unix Error code -ENOTSUP to NT Error Code
    - NT_STATUS_NOT_SUPPORTED to prevent the Permission denied error.
  + debian/smb.conf:
    - add "(Samba, Ubuntu)" to server string.
    - comment out the default [homes] share, and add a comment about
      "valid users = %S" to show users how to restrict access to
      \\server\username to only username.
    - Set 'usershare allow guests', so that usershare admins are 
      allowed to create public shares in addition to authenticated
      ones.
    - add map to guest = Bad user, maps bad username to guest access.
  + debian/samba-common.config:
    - Do not change priority to high if dhclient3 is installed.
    - Use priority medium instead of high for the workgroup question.
  + debian/control:
    - Don't build against or suggest ctdb.
    - Add dependency on samba-common-bin to samba.
  + Add ufw integration:
    - Created debian/samba.ufw.profile
    - debian/rules, debian/samba.dirs, debian/samba.files: install
      profile
    - debian/control: have samba suggest ufw
  + Add apport hook:
    - Created debian/source_samba.py.
    - debian/rules, debian/samba.dirs, debian/samba-common-bin.files: install
  + Switch to upstart:
    - Add debian/samba.{nmbd,smbd}.upstart.
  + debian/samba.logrotate, debian/samba-common.dhcp, debian/samba.if-up:
    - Make them upstart compatible
  + debian/samba.postinst: 
    - Avoid scary pdbedit warnings on first import.
  + debian/samba-common.postinst: Add more informative error message for
    the case where smb.conf was manually deleted
  + debian/patches/fix-debuglevel-name-conflict.patch: don't use 'debug_level'
    as a global variable name in an NSS module 
  + Dropped:
    - debian/patches/error-trans.fix-276472
    - debian/patches/fix-debuglevel-name-conflict.patch

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/* header auto-generated by pidl */
2
 
 
3
 
#include <stdint.h>
4
 
 
5
 
#include "libcli/util/ntstatus.h"
6
 
 
7
 
#include "librpc/gen_ndr/misc.h"
8
 
#ifndef _HEADER_ntsvcs
9
 
#define _HEADER_ntsvcs
10
 
 
11
 
#define CM_GETIDLIST_FILTER_NONE        ( 0x00000000 )
12
 
#define DEV_REGPROP_DESC        ( 1 )
13
 
/* bitmap PNP_GetIdListFlags */
14
 
#define CM_GETIDLIST_FILTER_ENUMERATOR ( 0x00000001 )
15
 
#define CM_GETIDLIST_FILTER_SERVICE ( 0x00000002 )
16
 
#define CM_GETIDLIST_FILTER_EJECTRELATIONS ( 0x00000004 )
17
 
#define CM_GETIDLIST_FILTER_REMOVALRELATIONS ( 0x00000008 )
18
 
#define CM_GETIDLIST_FILTER_POWERRELATIONS ( 0x00000010 )
19
 
#define CM_GETIDLIST_FILTER_BUSRELATIONS ( 0x00000020 )
20
 
#define CM_GETIDLIST_DONOTGENERATE ( 0x10000040 )
21
 
#define CM_GETIDLIST_FILTER_TRANSPORTRELATIONS ( 0x00000080 )
22
 
#define CM_GETIDLIST_FILTER_PRESENT ( 0x00000100 )
23
 
#define CM_GETIDLIST_FILTER_CLASS ( 0x00000200 )
24
 
 
25
 
struct PNP_HwProfInfo {
26
 
        uint32_t profile_handle;
27
 
        uint16_t friendly_name[80];
28
 
        uint32_t flags;
29
 
};
30
 
 
31
 
 
32
 
struct PNP_Disconnect {
33
 
        struct {
34
 
                WERROR result;
35
 
        } out;
36
 
 
37
 
};
38
 
 
39
 
 
40
 
struct PNP_Connect {
41
 
        struct {
42
 
                WERROR result;
43
 
        } out;
44
 
 
45
 
};
46
 
 
47
 
 
48
 
struct PNP_GetVersion {
49
 
        struct {
50
 
                uint16_t *version;/* [ref] */
51
 
                WERROR result;
52
 
        } out;
53
 
 
54
 
};
55
 
 
56
 
 
57
 
struct PNP_GetGlobalState {
58
 
        struct {
59
 
                WERROR result;
60
 
        } out;
61
 
 
62
 
};
63
 
 
64
 
 
65
 
struct PNP_InitDetection {
66
 
        struct {
67
 
                WERROR result;
68
 
        } out;
69
 
 
70
 
};
71
 
 
72
 
 
73
 
struct PNP_ReportLogOn {
74
 
        struct {
75
 
                WERROR result;
76
 
        } out;
77
 
 
78
 
};
79
 
 
80
 
 
81
 
struct PNP_ValidateDeviceInstance {
82
 
        struct {
83
 
                const char *devicepath;/* [ref,charset(UTF16)] */
84
 
                uint32_t flags;
85
 
        } in;
86
 
 
87
 
        struct {
88
 
                WERROR result;
89
 
        } out;
90
 
 
91
 
};
92
 
 
93
 
 
94
 
struct PNP_GetRootDeviceInstance {
95
 
        struct {
96
 
                WERROR result;
97
 
        } out;
98
 
 
99
 
};
100
 
 
101
 
 
102
 
struct PNP_GetRelatedDeviceInstance {
103
 
        struct {
104
 
                WERROR result;
105
 
        } out;
106
 
 
107
 
};
108
 
 
109
 
 
110
 
struct PNP_EnumerateSubKeys {
111
 
        struct {
112
 
                WERROR result;
113
 
        } out;
114
 
 
115
 
};
116
 
 
117
 
 
118
 
struct PNP_GetDeviceList {
119
 
        struct {
120
 
                const char *filter;/* [unique,charset(UTF16)] */
121
 
                uint32_t flags;
122
 
                uint32_t *length;/* [ref] */
123
 
        } in;
124
 
 
125
 
        struct {
126
 
                uint16_t *buffer;/* [ref,length_is(*length),size_is(*length)] */
127
 
                uint32_t *length;/* [ref] */
128
 
                WERROR result;
129
 
        } out;
130
 
 
131
 
};
132
 
 
133
 
 
134
 
struct PNP_GetDeviceListSize {
135
 
        struct {
136
 
                const char *devicename;/* [unique,charset(UTF16)] */
137
 
                uint32_t flags;
138
 
        } in;
139
 
 
140
 
        struct {
141
 
                uint32_t *size;/* [ref] */
142
 
                WERROR result;
143
 
        } out;
144
 
 
145
 
};
146
 
 
147
 
 
148
 
struct PNP_GetDepth {
149
 
        struct {
150
 
                WERROR result;
151
 
        } out;
152
 
 
153
 
};
154
 
 
155
 
 
156
 
struct PNP_GetDeviceRegProp {
157
 
        struct {
158
 
                const char *devicepath;/* [ref,charset(UTF16)] */
159
 
                uint32_t property;
160
 
                uint32_t flags;
161
 
                enum winreg_Type *reg_data_type;/* [ref] */
162
 
                uint32_t *buffer_size;/* [ref] */
163
 
                uint32_t *needed;/* [ref] */
164
 
        } in;
165
 
 
166
 
        struct {
167
 
                uint8_t *buffer;/* [ref,length_is(*buffer_size),size_is(*buffer_size)] */
168
 
                enum winreg_Type *reg_data_type;/* [ref] */
169
 
                uint32_t *buffer_size;/* [ref] */
170
 
                uint32_t *needed;/* [ref] */
171
 
                WERROR result;
172
 
        } out;
173
 
 
174
 
};
175
 
 
176
 
 
177
 
struct PNP_SetDeviceRegProp {
178
 
        struct {
179
 
                WERROR result;
180
 
        } out;
181
 
 
182
 
};
183
 
 
184
 
 
185
 
struct PNP_GetClassInstance {
186
 
        struct {
187
 
                WERROR result;
188
 
        } out;
189
 
 
190
 
};
191
 
 
192
 
 
193
 
struct PNP_CreateKey {
194
 
        struct {
195
 
                WERROR result;
196
 
        } out;
197
 
 
198
 
};
199
 
 
200
 
 
201
 
struct PNP_DeleteRegistryKey {
202
 
        struct {
203
 
                WERROR result;
204
 
        } out;
205
 
 
206
 
};
207
 
 
208
 
 
209
 
struct PNP_GetClassCount {
210
 
        struct {
211
 
                WERROR result;
212
 
        } out;
213
 
 
214
 
};
215
 
 
216
 
 
217
 
struct PNP_GetClassName {
218
 
        struct {
219
 
                WERROR result;
220
 
        } out;
221
 
 
222
 
};
223
 
 
224
 
 
225
 
struct PNP_DeleteClassKey {
226
 
        struct {
227
 
                WERROR result;
228
 
        } out;
229
 
 
230
 
};
231
 
 
232
 
 
233
 
struct PNP_GetInterfaceDeviceAlias {
234
 
        struct {
235
 
                WERROR result;
236
 
        } out;
237
 
 
238
 
};
239
 
 
240
 
 
241
 
struct PNP_GetInterfaceDeviceList {
242
 
        struct {
243
 
                WERROR result;
244
 
        } out;
245
 
 
246
 
};
247
 
 
248
 
 
249
 
struct PNP_GetInterfaceDeviceListSize {
250
 
        struct {
251
 
                WERROR result;
252
 
        } out;
253
 
 
254
 
};
255
 
 
256
 
 
257
 
struct PNP_RegisterDeviceClassAssociation {
258
 
        struct {
259
 
                WERROR result;
260
 
        } out;
261
 
 
262
 
};
263
 
 
264
 
 
265
 
struct PNP_UnregisterDeviceClassAssociation {
266
 
        struct {
267
 
                WERROR result;
268
 
        } out;
269
 
 
270
 
};
271
 
 
272
 
 
273
 
struct PNP_GetClassRegProp {
274
 
        struct {
275
 
                WERROR result;
276
 
        } out;
277
 
 
278
 
};
279
 
 
280
 
 
281
 
struct PNP_SetClassRegProp {
282
 
        struct {
283
 
                WERROR result;
284
 
        } out;
285
 
 
286
 
};
287
 
 
288
 
 
289
 
struct PNP_CreateDevInst {
290
 
        struct {
291
 
                WERROR result;
292
 
        } out;
293
 
 
294
 
};
295
 
 
296
 
 
297
 
struct PNP_DeviceInstanceAction {
298
 
        struct {
299
 
                WERROR result;
300
 
        } out;
301
 
 
302
 
};
303
 
 
304
 
 
305
 
struct PNP_GetDeviceStatus {
306
 
        struct {
307
 
                WERROR result;
308
 
        } out;
309
 
 
310
 
};
311
 
 
312
 
 
313
 
struct PNP_SetDeviceProblem {
314
 
        struct {
315
 
                WERROR result;
316
 
        } out;
317
 
 
318
 
};
319
 
 
320
 
 
321
 
struct PNP_DisableDevInst {
322
 
        struct {
323
 
                WERROR result;
324
 
        } out;
325
 
 
326
 
};
327
 
 
328
 
 
329
 
struct PNP_UninstallDevInst {
330
 
        struct {
331
 
                WERROR result;
332
 
        } out;
333
 
 
334
 
};
335
 
 
336
 
 
337
 
struct PNP_AddID {
338
 
        struct {
339
 
                WERROR result;
340
 
        } out;
341
 
 
342
 
};
343
 
 
344
 
 
345
 
struct PNP_RegisterDriver {
346
 
        struct {
347
 
                WERROR result;
348
 
        } out;
349
 
 
350
 
};
351
 
 
352
 
 
353
 
struct PNP_QueryRemove {
354
 
        struct {
355
 
                WERROR result;
356
 
        } out;
357
 
 
358
 
};
359
 
 
360
 
 
361
 
struct PNP_RequestDeviceEject {
362
 
        struct {
363
 
                WERROR result;
364
 
        } out;
365
 
 
366
 
};
367
 
 
368
 
 
369
 
struct PNP_IsDockStationPresent {
370
 
        struct {
371
 
                WERROR result;
372
 
        } out;
373
 
 
374
 
};
375
 
 
376
 
 
377
 
struct PNP_RequestEjectPC {
378
 
        struct {
379
 
                WERROR result;
380
 
        } out;
381
 
 
382
 
};
383
 
 
384
 
 
385
 
struct PNP_HwProfFlags {
386
 
        struct {
387
 
                uint32_t action;
388
 
                const char *devicepath;/* [ref,charset(UTF16)] */
389
 
                uint32_t config;
390
 
                const char *unknown5;/* [unique,charset(UTF16)] */
391
 
                uint32_t name_length;
392
 
                uint32_t flags;
393
 
                uint32_t *profile_flags;/* [ref] */
394
 
                uint16_t *veto_type;/* [unique] */
395
 
        } in;
396
 
 
397
 
        struct {
398
 
                const char **unknown5a;/* [unique,charset(UTF16)] */
399
 
                uint32_t *profile_flags;/* [ref] */
400
 
                uint16_t *veto_type;/* [unique] */
401
 
                WERROR result;
402
 
        } out;
403
 
 
404
 
};
405
 
 
406
 
 
407
 
struct PNP_GetHwProfInfo {
408
 
        struct {
409
 
                uint32_t idx;
410
 
                uint32_t size;
411
 
                uint32_t flags;
412
 
                struct PNP_HwProfInfo *info;/* [ref] */
413
 
        } in;
414
 
 
415
 
        struct {
416
 
                struct PNP_HwProfInfo *info;/* [ref] */
417
 
                WERROR result;
418
 
        } out;
419
 
 
420
 
};
421
 
 
422
 
 
423
 
struct PNP_AddEmptyLogConf {
424
 
        struct {
425
 
                WERROR result;
426
 
        } out;
427
 
 
428
 
};
429
 
 
430
 
 
431
 
struct PNP_FreeLogConf {
432
 
        struct {
433
 
                WERROR result;
434
 
        } out;
435
 
 
436
 
};
437
 
 
438
 
 
439
 
struct PNP_GetFirstLogConf {
440
 
        struct {
441
 
                WERROR result;
442
 
        } out;
443
 
 
444
 
};
445
 
 
446
 
 
447
 
struct PNP_GetNextLogConf {
448
 
        struct {
449
 
                WERROR result;
450
 
        } out;
451
 
 
452
 
};
453
 
 
454
 
 
455
 
struct PNP_GetLogConfPriority {
456
 
        struct {
457
 
                WERROR result;
458
 
        } out;
459
 
 
460
 
};
461
 
 
462
 
 
463
 
struct PNP_AddResDes {
464
 
        struct {
465
 
                WERROR result;
466
 
        } out;
467
 
 
468
 
};
469
 
 
470
 
 
471
 
struct PNP_FreeResDes {
472
 
        struct {
473
 
                WERROR result;
474
 
        } out;
475
 
 
476
 
};
477
 
 
478
 
 
479
 
struct PNP_GetNextResDes {
480
 
        struct {
481
 
                WERROR result;
482
 
        } out;
483
 
 
484
 
};
485
 
 
486
 
 
487
 
struct PNP_GetResDesData {
488
 
        struct {
489
 
                WERROR result;
490
 
        } out;
491
 
 
492
 
};
493
 
 
494
 
 
495
 
struct PNP_GetResDesDataSize {
496
 
        struct {
497
 
                WERROR result;
498
 
        } out;
499
 
 
500
 
};
501
 
 
502
 
 
503
 
struct PNP_ModifyResDes {
504
 
        struct {
505
 
                WERROR result;
506
 
        } out;
507
 
 
508
 
};
509
 
 
510
 
 
511
 
struct PNP_DetectResourceLimit {
512
 
        struct {
513
 
                WERROR result;
514
 
        } out;
515
 
 
516
 
};
517
 
 
518
 
 
519
 
struct PNP_QueryResConfList {
520
 
        struct {
521
 
                WERROR result;
522
 
        } out;
523
 
 
524
 
};
525
 
 
526
 
 
527
 
struct PNP_SetHwProf {
528
 
        struct {
529
 
                WERROR result;
530
 
        } out;
531
 
 
532
 
};
533
 
 
534
 
 
535
 
struct PNP_QueryArbitratorFreeData {
536
 
        struct {
537
 
                WERROR result;
538
 
        } out;
539
 
 
540
 
};
541
 
 
542
 
 
543
 
struct PNP_QueryArbitratorFreeSize {
544
 
        struct {
545
 
                WERROR result;
546
 
        } out;
547
 
 
548
 
};
549
 
 
550
 
 
551
 
struct PNP_RunDetection {
552
 
        struct {
553
 
                WERROR result;
554
 
        } out;
555
 
 
556
 
};
557
 
 
558
 
 
559
 
struct PNP_RegisterNotification {
560
 
        struct {
561
 
                WERROR result;
562
 
        } out;
563
 
 
564
 
};
565
 
 
566
 
 
567
 
struct PNP_UnregisterNotification {
568
 
        struct {
569
 
                WERROR result;
570
 
        } out;
571
 
 
572
 
};
573
 
 
574
 
 
575
 
struct PNP_GetCustomDevProp {
576
 
        struct {
577
 
                WERROR result;
578
 
        } out;
579
 
 
580
 
};
581
 
 
582
 
 
583
 
struct PNP_GetVersionInternal {
584
 
        struct {
585
 
                WERROR result;
586
 
        } out;
587
 
 
588
 
};
589
 
 
590
 
 
591
 
struct PNP_GetBlockedDriverInfo {
592
 
        struct {
593
 
                WERROR result;
594
 
        } out;
595
 
 
596
 
};
597
 
 
598
 
 
599
 
struct PNP_GetServerSideDeviceInstallFlags {
600
 
        struct {
601
 
                WERROR result;
602
 
        } out;
603
 
 
604
 
};
605
 
 
606
 
#endif /* _HEADER_ntsvcs */