summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2005-10-08 17:55:28 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:39:34 -0500
commitc7ace9b8ead0379133b4f2aaaa889f557a83e4b4 (patch)
tree8f92eda24d90895d1589275dc70ea9d7c726e763
parentc8cb36f08daf1563c3b7737552f1ff134ed05980 (diff)
downloadsamba-c7ace9b8ead0379133b4f2aaaa889f557a83e4b4.tar.gz
samba-c7ace9b8ead0379133b4f2aaaa889f557a83e4b4.tar.bz2
samba-c7ace9b8ead0379133b4f2aaaa889f557a83e4b4.zip
r10839: Add some [ref] (required for ethereal and Samba3 parser generators)
(This used to be commit 5556deee30616396bbaf1182eca08bf1213c0860)
-rw-r--r--source4/librpc/idl/dfs.idl38
1 files changed, 20 insertions, 18 deletions
diff --git a/source4/librpc/idl/dfs.idl b/source4/librpc/idl/dfs.idl
index 085bed4f4e..579d855b89 100644
--- a/source4/librpc/idl/dfs.idl
+++ b/source4/librpc/idl/dfs.idl
@@ -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
);
/******************/
@@ -44,6 +43,9 @@
/* Function: 0x04 */
typedef struct {
+ } dfs_Info0;
+
+ typedef struct {
unistr *path;
} dfs_Info1;
@@ -100,6 +102,7 @@
} dfs_Info300;
typedef union {
+ [case(0)] dfs_Info0 *info0;
[case(1)] dfs_Info1 *info1;
[case(2)] dfs_Info2 *info2;
[case(3)] dfs_Info3 *info3;
@@ -107,15 +110,14 @@
[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
);
/******************/
@@ -169,9 +171,9 @@
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 */