summaryrefslogtreecommitdiff
path: root/source4/librpc/idl
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2005-06-05 22:13:27 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:17:40 -0500
commitb1381947bf5379b54ed9ee118d48f77f2931c253 (patch)
tree5f7866fdae3c44828fc993a2bf3c180db7bf4ab7 /source4/librpc/idl
parent38e3381b1b99d69529543d2e9b38761143f1a22f (diff)
downloadsamba-b1381947bf5379b54ed9ee118d48f77f2931c253.tar.gz
samba-b1381947bf5379b54ed9ee118d48f77f2931c253.tar.bz2
samba-b1381947bf5379b54ed9ee118d48f77f2931c253.zip
r7309: started adding IDL for nbt management calls. This adds a
nbtd_information() call that has just one level for now, a NBTD_STATISTICS level for packet statistics (This used to be commit d0772eb5a7a023e08a7fff5ca8f4891630994e34)
Diffstat (limited to 'source4/librpc/idl')
-rw-r--r--source4/librpc/idl/irpc.idl36
1 files changed, 32 insertions, 4 deletions
diff --git a/source4/librpc/idl/irpc.idl b/source4/librpc/idl/irpc.idl
index 8db945c9bd..c5977ba53e 100644
--- a/source4/librpc/idl/irpc.idl
+++ b/source4/librpc/idl/irpc.idl
@@ -3,10 +3,11 @@
/*
definitions for irpc primitives
*/
-[
-pointer_default(unique)
-]
-interface irpc
+[ uuid("e770c620-0b06-4b5e-8d87-a26e20f28340"),
+ version(1.0),
+ pointer_default(unique),
+ pointer_default_top(unique)
+] interface irpc
{
typedef bitmap {
IRPC_FLAG_REPLY = 0x0001
@@ -20,4 +21,31 @@ interface irpc
irpc_flags flags;
NTSTATUS status;
} irpc_header;
+
+
+ /******************************************************
+ management calls for the nbt server
+ ******************************************************/
+ typedef [v1_enum] enum {
+ NBTD_INFO_STATISTICS
+ } nbtd_info_level;
+
+ typedef struct {
+ hyper total_received;
+ hyper total_sent;
+ hyper query_count;
+ hyper register_count;
+ hyper release_count;
+ hyper refresh_count;
+ } nbtd_statistics;
+
+ typedef union {
+ [case(NBTD_INFO_STATISTICS)] nbtd_statistics *stats;
+ } nbtd_info;
+
+ void nbtd_information(
+ [in] nbtd_info_level level,
+ [out,switch_is(level)] nbtd_info info
+ );
+
}