1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-23 17:34:34 +03:00

librpc: add clusapi_ClusterResourceState enum to IDL.

Guenther

Signed-off-by: Günther Deschner <gd@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
This commit is contained in:
Günther Deschner 2015-03-04 15:27:46 +01:00
parent 4bf2925425
commit 1cfbf3f857

View File

@ -271,10 +271,20 @@ import "security.idl";
/*****************/
/* Function 0x0C */
typedef [v1_enum] enum {
ClusterResourceInitializing = 0x00000001,
ClusterResourceOnline = 0x00000002,
ClusterResourceOffline = 0x00000003,
ClusterResourceFailed = 0x00000004,
ClusterResourceOnlinePending = 0x00000081,
ClusterResourceOfflinePending = 0x00000082,
ClusterResourceStateUnknown = 0xFFFFFFFF
} clusapi_ClusterResourceState;
WERROR
clusapi_GetResourceState(
[ in ] HRES_RPC hResource,
[ out ] uint32 *State,
[ out ] clusapi_ClusterResourceState *State,
[ out, string ] [charset(UTF16)] uint16 **NodeName,
[ out, string ] [charset(UTF16)] uint16 **GroupName,
[ out ] WERROR *rpc_status