summaryrefslogtreecommitdiff
path: root/librpc
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2015-02-26 15:36:47 +0100
committerGünther Deschner <gd@samba.org>2015-03-13 23:58:07 +0100
commitf675c2b2a2228fdf1a4922350729f513357037ae (patch)
treef3b30df6fa7986e8e339a78e62f67084452b8ce5 /librpc
parent4fe1f19850fe9dbfe7106dda5f3a339f05d33b55 (diff)
downloadsamba-f675c2b2a2228fdf1a4922350729f513357037ae.tar.gz
clusapi: use ClusterEnumType.
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.idl15
1 files changed, 13 insertions, 2 deletions
diff --git a/librpc/idl/clusapi.idl b/librpc/idl/clusapi.idl
index 54068fbdd4d..50fe9d44995 100644
--- a/librpc/idl/clusapi.idl
+++ b/librpc/idl/clusapi.idl
@@ -143,8 +143,19 @@ import "security.idl";
[ out ] error_status_t *rpc_status
);
+ typedef [bitmap32bit] bitmap {
+ CLUSTER_ENUM_NODE = 0x00000001,
+ CLUSTER_ENUM_RESTYPE = 0x00000002,
+ CLUSTER_ENUM_RESOURCE = 0x00000004,
+ CLUSTER_ENUM_GROUP = 0x00000008,
+ CLUSTER_ENUM_NETWORK = 0x00000010,
+ CLUSTER_ENUM_NETINTERFACE = 0x00000020,
+ CLUSTER_ENUM_INTERNAL_NETWORK = 0x80000000,
+ CLUSTER_ENUM_SHARED_VOLUME_RESOURCE = 0x40000000
+ } ClusterEnumType;
+
typedef struct {
- uint32 Type;
+ ClusterEnumType Type;
[string] [charset(UTF16)] uint16 *Name;
} ENUM_ENTRY;
@@ -191,7 +202,7 @@ import "security.idl";
error_status_t
clusapi_CreateEnum(
- [ in ] uint32 dwType,
+ [ in ] ClusterEnumType dwType,
[ out ] ENUM_LIST **ReturnEnum,
[ out ] error_status_t *rpc_status
);