2003-11-24 04:24:29 +03:00
/*
dcerpc remote management interface
*/
2008-01-14 18:48:27 +03:00
import "misc.idl";
2003-11-24 04:24:29 +03:00
[
2004-10-27 08:48:41 +04:00
uuid("afa8bd80-7d8a-11c9-bef4-08002b102989"),
2004-08-16 23:03:22 +04:00
version(1.0),
2005-07-05 16:42:54 +04:00
pointer_default(unique),
2004-08-16 23:03:22 +04:00
helpstring("DCE/RPC Remote Management")
2003-11-24 04:24:29 +03:00
]
interface mgmt
{
typedef struct {
2007-08-18 10:57:49 +04:00
ndr_syntax_id *id;
} ndr_syntax_id_p;
2003-11-24 04:24:29 +03:00
typedef struct {
2004-05-25 20:24:13 +04:00
uint32 count;
2007-08-18 10:57:49 +04:00
[size_is(count)] ndr_syntax_id_p if_id[*];
2003-11-24 04:24:29 +03:00
} rpc_if_id_vector_t;
/***********************/
/* Function 0x00 */
2003-11-27 07:01:18 +03:00
WERROR mgmt_inq_if_ids (
2007-01-16 17:44:23 +03:00
[out] rpc_if_id_vector_t **if_id_vector
2003-11-24 04:24:29 +03:00
);
/***********************/
/* Function 0x01 */
2003-11-24 06:21:49 +03:00
2003-11-27 07:01:18 +03:00
/* these are the array indexes in the statistics array */
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;
2003-11-24 06:21:49 +03:00
typedef struct {
uint32 count;
[size_is(count)] uint32 statistics[*];
} mgmt_statistics;
2003-11-27 07:01:18 +03:00
WERROR mgmt_inq_stats (
2003-11-24 06:21:49 +03:00
[in] uint32 max_count,
[in] uint32 unknown,
2007-01-15 01:28:29 +03:00
[out,ref] mgmt_statistics *statistics
2003-11-24 04:24:29 +03:00
);
2003-11-24 06:21:49 +03:00
2003-11-24 04:24:29 +03:00
/***********************/
/* Function 0x02 */
boolean32 mgmt_is_server_listening (
2007-01-15 01:28:29 +03:00
[out,ref] error_status_t *status
2003-11-24 04:24:29 +03:00
);
/***********************/
/* Function 0x03 */
2003-11-27 07:01:18 +03:00
WERROR mgmt_stop_server_listening ();
2003-11-24 04:24:29 +03:00
/***********************/
/* Function 0x04 */
2003-11-27 07:01:18 +03:00
WERROR mgmt_inq_princ_name (
[in] uint32 authn_proto,
[in] uint32 princ_name_size,
2010-08-05 19:19:16 +04:00
[out] [string,size_is(princ_name_size),charset(DOS)] uint8 princ_name[]
2003-11-24 04:24:29 +03:00
);
}