librpc: add ClusterResTypeEnumType to IDL.
authorGünther Deschner <gd@samba.org>
Tue, 3 May 2016 22:40:10 +0000 (00:40 +0200)
committerJeremy Allison <jra@samba.org>
Wed, 7 Sep 2016 21:56:16 +0000 (23:56 +0200)
Guenther

Signed-off-by: Guenther Deschner <gd@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
librpc/idl/clusapi.idl

index 4988a38646c18d049e0d09093509d26633af2175..f4448d61cb62d9fa17b28b3906dc97867140b018 100644 (file)
@@ -1565,10 +1565,15 @@ import "winreg.idl", "misc.idl";
        /*****************/
        /* Function 0x67 */
 
+       typedef [bitmap32bit] bitmap {
+               CLUSTER_RESOURCE_TYPE_ENUM_NODES        = 0x00000001,
+               CLUSTER_RESOURCE_TYPE_ENUM_RESOURCES    = 0x00000002
+       } ClusterResTypeEnumType;
+
        WERROR
        clusapi_CreateResTypeEnum(
                [ in, string ] [charset(UTF16)] uint16 *lpszTypeName,
-               [ in ] uint32 dwType,
+               [ in ] ClusterResTypeEnumType dwType,
                [ out ] ENUM_LIST **ReturnEnum,
                [ out ] WERROR *rpc_status
        );