1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-11 05:18:09 +03:00

librpc: add clusapi_ClusterNetworkState and clusapi_ClusterNetInterfaceState.

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-05 12:06:46 +01:00
parent c42f1f51dc
commit 51a670393d

View File

@ -1184,10 +1184,18 @@ import "security.idl";
/*****************/
/* Function 0x53 */
typedef [v1_enum] enum {
ClusterNetworkUnavailable = 0x00000000,
ClusterNetworkDown = 0x00000001,
ClusterNetworkPartitioned = 0x00000002,
ClusterNetworkUp = 0x00000003,
ClusterNetworkStateUnknown = 0xFFFFFFFF
} clusapi_ClusterNetworkState;
WERROR
clusapi_GetNetworkState(
[ in ] HNETWORK_RPC hNetwork,
[ out ] uint32 *State,
[ out ] clusapi_ClusterNetworkState *State,
[ out ] WERROR *rpc_status
);
@ -1322,10 +1330,18 @@ import "security.idl";
/*****************/
/* Function 0x5E */
typedef [v1_enum] enum {
ClusterNetInterfaceFailed = 0x00000000,
ClusterNetInterfaceUnreachable = 0x00000001,
ClusterNetInterfaceUnavailable = 0x00000002,
ClusterNetInterfaceUp = 0x00000003,
ClusterNetInterfaceStateUnknown = 0xFFFFFFFF
} clusapi_ClusterNetInterfaceState;
WERROR
clusapi_GetNetInterfaceState(
[ in ] HNETINTERFACE_RPC hNetInterface,
[ out ] uint32 *State,
[ out ] clusapi_ClusterNetInterfaceState *State,
[ out ] WERROR *rpc_status
);