From e31a92c44e5275ea971c052e2909a9c3ae81123a Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Mon, 27 Jul 2009 15:56:13 +0200 Subject: frstrans.idl: add definition of frstrans_EstablishConnection() metze --- librpc/idl/frstrans.idl | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) (limited to 'librpc/idl/frstrans.idl') diff --git a/librpc/idl/frstrans.idl b/librpc/idl/frstrans.idl index ddf3e6e31f..946ead0671 100644 --- a/librpc/idl/frstrans.idl +++ b/librpc/idl/frstrans.idl @@ -20,7 +20,23 @@ interface frstrans /*****************/ /* Function 0x01 */ - [todo] void FRSTRANS_ESTABLISH_CONNECTION(); + typedef [v1_enum,flag(NDR_PAHEX)] enum { + FRSTRANS_PROTOCOL_VERSION_W2K3R2 = 0x00050000, + FRSTRANS_PROTOCOL_VERSION_LONGHORN_SERVER = 0x00050002 + } frstrans_ProtocolVersion; + + typedef [bitmap32bit] bitmap { + FRSTRANS_TRANSPORT_SUPPORTS_RDC_SIMILARITY = 0x00000001 + } frstrans_TransportFlags; + + WERROR frstrans_EstablishConnection( + [in] GUID replica_set_guid, + [in] GUID connection_guid, + [in] frstrans_ProtocolVersion downstream_protocol_version, + [in] frstrans_TransportFlags downstream_flags, + [out,ref] frstrans_ProtocolVersion *upstream_protocol_version, + [out,ref] frstrans_TransportFlags *upstream_flags + ); /*****************/ /* Function 0x02 */ -- cgit