sharesec: don't ignore unknown options
[Samba.git] / librpc / idl / preg.idl
blobc3adb506009e370143b8e93af59d856c265b07db
1 #include "idl_types.h"
3 import "misc.idl";
5 /*
6 IDL structures defining PReg files
8 more info can be found at:
9 http://msdn2.microsoft.com/en-us/library/aa374407.aspx
13 pointer_default(unique),
14 helper("../librpc/ndr/ndr_preg.h"),
15 helpstring("PReg structure"),
16 uuid("67655250-0000-0000-0000-00000000")
18 interface preg
20 typedef [public,flag(NDR_PAHEX)] struct {
21 [charset(DOS),value("["),noprint] uint8 _opening_bracket[2];
22 nstring keyname;
23 [charset(DOS),value(";"),noprint] uint8 _sep1[2];
24 nstring valuename;
25 [charset(DOS),value(";"),noprint] uint8 _sep2[2];
26 winreg_Type type;
27 [charset(DOS),value(";"),noprint] uint8 _sep3[2];
28 [value(ndr_size_winreg_Data_GPO(&data,type,ndr->flags))] uint32 size;
29 [charset(DOS),value(";"),noprint] uint8 _sep4[2];
30 [subcontext(0),subcontext_size(size),flag(NDR_REMAINING), switch_is(type)] winreg_Data_GPO data;
31 [charset(DOS),value("]"),noprint] uint8 _closing_bracket[2];
32 } preg_entry;
34 typedef [public] struct {
35 [charset(DOS),value("PReg")] uint8 signature[4];
36 [value(1)] uint32 version;
37 } preg_header;
39 typedef [public,flag(NDR_NOALIGN),nopush,nopull] struct {
40 preg_header header;
41 uint32 num_entries;
42 preg_entry entries[num_entries];
43 } preg_file;