diff options
author | Andrew Tridgell <tridge@samba.org> | 2003-11-24 01:24:29 +0000 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2003-11-24 01:24:29 +0000 |
commit | c7fd83d0b280810f16f7ef99ba58efb007f93920 (patch) | |
tree | 4a3cb1b009b6a4ed5980a4bc1cd30376c003f0b1 /source4/librpc/idl/mgmt.idl | |
parent | 27b1dbaea64e02eccf07ff6643bffc2991264533 (diff) | |
download | samba-c7fd83d0b280810f16f7ef99ba58efb007f93920.tar.gz samba-c7fd83d0b280810f16f7ef99ba58efb007f93920.tar.bz2 samba-c7fd83d0b280810f16f7ef99ba58efb007f93920.zip |
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)
Diffstat (limited to 'source4/librpc/idl/mgmt.idl')
-rw-r--r-- | source4/librpc/idl/mgmt.idl | 63 |
1 files changed, 63 insertions, 0 deletions
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 + ); +} |