epmapper.idl: don't use ascstr2 anymore
authorStefan Metzmacher <metze@samba.org>
Thu, 14 Feb 2008 15:08:17 +0000 (16:08 +0100)
committerStefan Metzmacher <metze@samba.org>
Fri, 15 Feb 2008 07:53:24 +0000 (08:53 +0100)
metze
(This used to be commit 96f1ad6d27fdfecd3a07a05052c8085d66472106)

source4/librpc/idl/epmapper.idl

index 675ba89ee68f73e0e11d0e1d8e854a656c659f4f..60ff338ec41d384d08d9e5464da995a2a10e803e 100644 (file)
@@ -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 {