From c7fd83d0b280810f16f7ef99ba58efb007f93920 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Mon, 24 Nov 2003 01:24:29 +0000 Subject: added the dcerpc remote management interfaces as mgmt.idl, and wrote a test suite. The test suite dumps all of the interfaces available on all pipes. There sure are a lot more interfaces on w2k3 than w2k ! (This used to be commit f94bc079902d725b63155d8d2de5bf408c6e7335) --- source4/librpc/idl/mgmt.idl | 63 +++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 63 insertions(+) create mode 100644 source4/librpc/idl/mgmt.idl (limited to 'source4/librpc/idl/mgmt.idl') diff --git a/source4/librpc/idl/mgmt.idl b/source4/librpc/idl/mgmt.idl new file mode 100644 index 0000000000..94439bdea3 --- /dev/null +++ b/source4/librpc/idl/mgmt.idl @@ -0,0 +1,63 @@ +#include "idl_types.h" + +/* + dcerpc remote management interface +*/ + + +[ + uuid(afa8bd80-7d8a-11c9-bef4-08002b102989), + version(1) +] +interface mgmt +{ + typedef struct { + dcerpc_syntax_id *id; + } dcerpc_syntax_id_p; + + typedef struct { + unsigned32 count; + [size_is(count)] dcerpc_syntax_id_p if_id[*]; + } rpc_if_id_vector_t; + + + /***********************/ + /* Function 0x00 */ + void mgmt_inq_if_ids ( + [out] rpc_if_id_vector_t *if_id_vector, + [out] error_status_t status + ); + + + + /***********************/ + /* Function 0x01 */ + void mgmt_inq_stats ( + [in, out] unsigned32 *count, + [out, size_is(*count)] unsigned32 *statistics, + [out] error_status_t *status + ); + + /***********************/ + /* Function 0x02 */ + boolean32 mgmt_is_server_listening ( + [out] error_status_t status + ); + + + /***********************/ + /* Function 0x03 */ + void mgmt_stop_server_listening ( + [out] error_status_t status + ); + + + /***********************/ + /* Function 0x04 */ + void mgmt_inq_princ_name ( + [in] unsigned32 authn_proto, + [in] unsigned32 princ_name_size, + [out] ascstr2 princ_name, + [out] error_status_t status + ); +} -- cgit