summaryrefslogtreecommitdiff
path: root/librpc
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2015-03-05 12:04:02 +0100
committerGünther Deschner <gd@samba.org>2015-03-13 23:58:08 +0100
commit95f60c9aeea1746728a4c72cb099d0b36c5a7166 (patch)
tree63d904e149f388778d0a95c575fe2f6da91b2020 /librpc
parent300c11504ee093ac81fdff17ed1bd9de0d600d0f (diff)
downloadsamba-95f60c9aeea1746728a4c72cb099d0b36c5a7166.tar.gz
clusapi: add clusapi_CreateResourceFlags to IDL and torture test.
Guenther Signed-off-by: Günther Deschner <gd@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org>
Diffstat (limited to 'librpc')
-rw-r--r--librpc/idl/clusapi.idl9
1 files changed, 7 insertions, 2 deletions
diff --git a/librpc/idl/clusapi.idl b/librpc/idl/clusapi.idl
index 325baad7c9f..707762642cc 100644
--- a/librpc/idl/clusapi.idl
+++ b/librpc/idl/clusapi.idl
@@ -229,13 +229,18 @@ import "security.idl";
/*****************/
/* Function 0x09 */
+ typedef [v1_enum] enum {
+ CLUSTER_RESOURCE_DEFAULT_MONITOR = 0x00000000,
+ CLUSTER_RESOURCE_SEPARATE_MONITOR = 0x00000001
+ } clusapi_CreateResourceFlags;
+
#if 0
HRES_RPC
clusapi_CreateResource(
[ in ] HGROUP_RPC hGroup,
[ in, string ] [charset(UTF16)] uint16 *lpszResourceName,
[ in, string ] [charset(UTF16)] uint16 *lpszResourceType,
- [ in ] uint32 dwFlags,
+ [ in ] clusapi_CreateResourceFlags dwFlags,
[ out ] WERROR *Status,
[ out ] WERROR *rpc_status
);
@@ -245,7 +250,7 @@ import "security.idl";
[ in ] HGROUP_RPC hGroup,
[ in, string ] [charset(UTF16)] uint16 *lpszResourceName,
[ in, string ] [charset(UTF16)] uint16 *lpszResourceType,
- [ in ] uint32 dwFlags,
+ [ in ] clusapi_CreateResourceFlags dwFlags,
[ out ] WERROR *Status,
[ out ] WERROR *rpc_status,
[ out ] HRES_RPC *hResource