r10839: Add some [ref] (required for ethereal and Samba3 parser generators)
authorJelmer Vernooij <jelmer@samba.org>
Sat, 8 Oct 2005 17:55:28 +0000 (17:55 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 18:39:34 +0000 (13:39 -0500)
(This used to be commit 5556deee30616396bbaf1182eca08bf1213c0860)

source4/librpc/idl/dfs.idl

index 085bed4f4e96eeb8f1745c707a353ca48a3c279d..579d855b89f2c44eba99f5421f7bae3891cd4293 100644 (file)
@@ -7,33 +7,32 @@
 [ uuid("4fc742e0-4a10-11cf-8273-00aa004ae673"),
   version(3.0),
   pointer_default(unique),
-  pointer_default_top(unique),
   helpstring("Settings for Microsoft Distributed File System")
 ] interface netdfs
 {
        /******************/
        /* Function: 0x00 */
        void dfs_GetManagerVersion(
-               [out,ref] uint32 *exist_flag
+               [out] uint32 *exist_flag
                );
 
 
        /******************/
        /* Function: 0x01 */
        WERROR dfs_Add (
-               [in,ref]     unistr *path,
-               [in,ref]     unistr *server,
-               [in]         unistr *share,
-               [in]         unistr *comment,
-               [in]         uint32  flags
+               [in]             unistr *path,
+               [in]             unistr *server,
+               [in,unique]         unistr *share,
+               [in,unique]         unistr *comment,
+               [in]         uint32 flags
                );
 
        /******************/
        /* Function: 0x02 */
        WERROR dfs_Remove (
-               [in,ref] unistr *path,
-               [in]     unistr *server,
-               [in]     unistr *share
+               [in]                    unistr *path,
+               [in,unique]     unistr *server,
+               [in,unique]     unistr *share
                );
 
        /******************/
@@ -43,6 +42,9 @@
        /******************/
        /* Function: 0x04 */
 
+       typedef struct {
+       } dfs_Info0;
+
        typedef struct {
                unistr *path;
        } dfs_Info1;
        } dfs_Info300;
 
        typedef union {
+               [case(0)]       dfs_Info0 *info0;
                [case(1)]   dfs_Info1 *info1;
                [case(2)]   dfs_Info2 *info2;
                [case(3)]   dfs_Info3 *info3;
                [case(100)] dfs_Info100 *info100;
                [case(101)] dfs_Info101 *info101;
                [case(102)] dfs_Info102 *info102;
-               [default] ;
        } dfs_Info;
 
        WERROR dfs_GetInfo (
-               [in,ref] unistr *path,
-               [in]     unistr *server,
-               [in]     unistr *share,
+               [in]     unistr *path,
+               [in,unique]     unistr *server,
+               [in,unique]     unistr *share,
                [in]     uint32 level,
-               [out,switch_is(level)] dfs_Info info
+               [out,switch_is(level)] dfs_Info *info
                );
 
        /******************/
        WERROR dfs_Enum (
                [in] uint32 level,
                [in] uint32 bufsize,
-               [in,out] dfs_EnumStruct *info,
-               [in]     uint32 *unknown,
-               [in,out] uint32 *total
+               [in,out,unique] dfs_EnumStruct *info,
+               [in,unique]     uint32 *unknown,
+               [in,out,unique] uint32 *total
                );
 
        /* Function 0x06 */