From e4773b184cd6ccf1e46ec151afbfd9fb9ad3ede8 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Mon, 24 Nov 2003 03:21:49 +0000 Subject: added tests for the remaining calls on the rpc management interface (This used to be commit 00f9b0e12061c175334f96805ca8333f28f74d91) --- source4/librpc/idl/mgmt.idl | 20 +++++++++++++++++--- 1 file changed, 17 insertions(+), 3 deletions(-) (limited to 'source4/librpc/idl/mgmt.idl') diff --git a/source4/librpc/idl/mgmt.idl b/source4/librpc/idl/mgmt.idl index 94439bdea3..2bc752da3d 100644 --- a/source4/librpc/idl/mgmt.idl +++ b/source4/librpc/idl/mgmt.idl @@ -32,12 +32,26 @@ interface mgmt /***********************/ /* Function 0x01 */ + + const int mgmt_stats_calls_in = 0; + const int mgmt_stats_calls_out = 1; + const int mgmt_stats_pkts_in = 2; + const int mgmt_stats_pkts_out = 3; + const int mgmt_stats_array_max_size = 4; + + typedef struct { + uint32 count; + [size_is(count)] uint32 statistics[*]; + } mgmt_statistics; + void mgmt_inq_stats ( - [in, out] unsigned32 *count, - [out, size_is(*count)] unsigned32 *statistics, - [out] error_status_t *status + [in] uint32 max_count, + [in] uint32 unknown, + [out] mgmt_statistics statistics, + [out] error_status_t status ); + /***********************/ /* Function 0x02 */ boolean32 mgmt_is_server_listening ( -- cgit