diff options
author | Günther Deschner <gd@samba.org> | 2015-03-05 12:06:46 +0100 |
---|---|---|
committer | Günther Deschner <gd@samba.org> | 2015-03-13 23:58:08 +0100 |
commit | 51a670393dd7cdc71f03fb0e81d4ba9aea815c8b (patch) | |
tree | 114837149483881ca6f575e57518a894111fc09e /librpc | |
parent | c42f1f51dcca4cdcc77598dfbc96d3474e6f027f (diff) | |
download | samba-51a670393dd7cdc71f03fb0e81d4ba9aea815c8b.tar.gz |
librpc: add clusapi_ClusterNetworkState and clusapi_ClusterNetInterfaceState.
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.idl | 20 |
1 files changed, 18 insertions, 2 deletions
diff --git a/librpc/idl/clusapi.idl b/librpc/idl/clusapi.idl index 707762642cc..fe2d21906bf 100644 --- a/librpc/idl/clusapi.idl +++ b/librpc/idl/clusapi.idl @@ -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 ); |