samba-tool computer: fix wrong computer container in help message
[Samba.git] / librpc / idl / mgmt.idl
blob17c8cc4bde0de2148fef3b15f7f08c7726742be9
1 /*
2 dcerpc remote management interface
3 */
5 import "misc.idl";
8 uuid("afa8bd80-7d8a-11c9-bef4-08002b102989"),
9 version(1.0),
10 pointer_default(unique),
11 helpstring("DCE/RPC Remote Management")
13 interface mgmt
15 typedef struct {
16 ndr_syntax_id *id;
17 } ndr_syntax_id_p;
19 typedef struct {
20 uint32 count;
21 [size_is(count)] ndr_syntax_id_p if_id[*];
22 } rpc_if_id_vector_t;
25 /***********************/
26 /* Function 0x00 */
27 WERROR mgmt_inq_if_ids (
28 [out] rpc_if_id_vector_t **if_id_vector
33 /***********************/
34 /* Function 0x01 */
37 /* these are the array indexes in the statistics array */
38 const int MGMT_STATS_CALLS_IN = 0;
39 const int MGMT_STATS_CALLS_OUT = 1;
40 const int MGMT_STATS_PKTS_IN = 2;
41 const int MGMT_STATS_PKTS_OUT = 3;
42 const int MGMT_STATS_ARRAY_MAX_SIZE = 4;
44 typedef struct {
45 uint32 count;
46 [size_is(count)] uint32 statistics[*];
47 } mgmt_statistics;
49 WERROR mgmt_inq_stats (
50 [in] uint32 max_count,
51 [in] uint32 unknown,
52 [out,ref] mgmt_statistics *statistics
56 /***********************/
57 /* Function 0x02 */
58 boolean32 mgmt_is_server_listening (
59 [out,ref] error_status_t *status
63 /***********************/
64 /* Function 0x03 */
65 WERROR mgmt_stop_server_listening ();
68 /***********************/
69 /* Function 0x04 */
70 WERROR mgmt_inq_princ_name (
71 [in] uint32 authn_proto,
72 [in] uint32 princ_name_size,
73 [out] [string,size_is(princ_name_size),charset(DOS)] uint8 princ_name[]