summaryrefslogtreecommitdiff
path: root/source4/librpc/idl/mgmt.idl
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2003-11-24 03:21:49 +0000
committerAndrew Tridgell <tridge@samba.org>2003-11-24 03:21:49 +0000
commite4773b184cd6ccf1e46ec151afbfd9fb9ad3ede8 (patch)
tree980d9a236b4800aa018d7cc3a2b615919b69f7f5 /source4/librpc/idl/mgmt.idl
parentc7fd83d0b280810f16f7ef99ba58efb007f93920 (diff)
downloadsamba-e4773b184cd6ccf1e46ec151afbfd9fb9ad3ede8.tar.gz
samba-e4773b184cd6ccf1e46ec151afbfd9fb9ad3ede8.tar.bz2
samba-e4773b184cd6ccf1e46ec151afbfd9fb9ad3ede8.zip
added tests for the remaining calls on the rpc management interface
(This used to be commit 00f9b0e12061c175334f96805ca8333f28f74d91)
Diffstat (limited to 'source4/librpc/idl/mgmt.idl')
-rw-r--r--source4/librpc/idl/mgmt.idl20
1 files changed, 17 insertions, 3 deletions
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 (