summaryrefslogtreecommitdiff
path: root/source4/librpc/idl
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2008-02-14 16:08:17 +0100
committerStefan Metzmacher <metze@samba.org>2008-02-15 08:53:24 +0100
commit1b09ec14a8f5e33ce4a6f41cf9d4ca8e53df4c87 (patch)
treed97b53aedc7bcc012738d6f53fd2769448ce65fe /source4/librpc/idl
parent7f4d2ac6a2a9c3a8692d52b573c91651dacd5820 (diff)
downloadsamba-1b09ec14a8f5e33ce4a6f41cf9d4ca8e53df4c87.tar.gz
samba-1b09ec14a8f5e33ce4a6f41cf9d4ca8e53df4c87.tar.bz2
samba-1b09ec14a8f5e33ce4a6f41cf9d4ca8e53df4c87.zip
epmapper.idl: don't use ascstr2 anymore
metze (This used to be commit 96f1ad6d27fdfecd3a07a05052c8085d66472106)
Diffstat (limited to 'source4/librpc/idl')
-rw-r--r--source4/librpc/idl/epmapper.idl11
1 files changed, 10 insertions, 1 deletions
diff --git a/source4/librpc/idl/epmapper.idl b/source4/librpc/idl/epmapper.idl
index 675ba89ee6..60ff338ec4 100644
--- a/source4/librpc/idl/epmapper.idl
+++ b/source4/librpc/idl/epmapper.idl
@@ -223,7 +223,16 @@ interface epmapper
typedef struct {
GUID object;
epm_twr_t *tower;
- ascstr2 annotation;
+ /*
+ * In theory this should be:
+ * [charset(DOS),string] uint8 annotation[64]
+ * But midl treats this as:
+ * [charset(DOS),string] uint8 annotation[]
+ * and pidl doesn't support this yet
+ */
+ [value(0)] uint32 __annotation_offset;
+ [value(strlen(annotation)+1)] uint32 __annotation_length;
+ [charset(DOS)] uint8 annotation[__annotation_length];
} epm_entry_t;
typedef struct {