diff options
author | Rafal Szczesniak <mimir@samba.org> | 2006-07-12 22:10:17 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 14:10:07 -0500 |
commit | ad521ee793cae006c674dd3a4bf17ca67aa4ade3 (patch) | |
tree | ae43d9047161f584002bb08ea20c4de0f695d027 /source4 | |
parent | da722e8520e85b5a3414f4b3b991ad7b6ed75468 (diff) | |
download | samba-ad521ee793cae006c674dd3a4bf17ca67aa4ade3.tar.gz samba-ad521ee793cae006c674dd3a4bf17ca67aa4ade3.tar.bz2 samba-ad521ee793cae006c674dd3a4bf17ca67aa4ade3.zip |
r17001: Prepare a new monitor messages.
rafal
(This used to be commit aaa2a5a27adf9bc9bb6853f8b14538a5923b130a)
Diffstat (limited to 'source4')
-rw-r--r-- | source4/libnet/composite.h | 4 | ||||
-rw-r--r-- | source4/libnet/libnet_rpc.h | 20 |
2 files changed, 24 insertions, 0 deletions
diff --git a/source4/libnet/composite.h b/source4/libnet/composite.h index 4f8e8489ae..9ac2757e7c 100644 --- a/source4/libnet/composite.h +++ b/source4/libnet/composite.h @@ -33,6 +33,10 @@ #define rpc_delete_user (0x00000006) /* userman.h */ #define rpc_set_user (0x00000007) /* userman.h */ +#define net_lookup_dc (0x00000100) /* libnet_rpc.h */ +#define net_pipe_connected (0x00000200) /* libnet_rpc.h */ + + struct monitor_msg { uint32_t type; void *data; diff --git a/source4/libnet/libnet_rpc.h b/source4/libnet/libnet_rpc.h index d77763d2a3..178e1cc269 100644 --- a/source4/libnet/libnet_rpc.h +++ b/source4/libnet/libnet_rpc.h @@ -19,6 +19,8 @@ */ +#include "librpc/rpc/dcerpc.h" + /* * struct definition for connecting to a dcerpc inferface */ @@ -54,3 +56,21 @@ struct libnet_RpcConnect { const char *error_string; } out; }; + + +/* + * Monitor messages sent from libnet_rpc.c functions + */ + +struct msg_net_lookup_dc { + const char *domain_name; + const char *hostname; + const char *address; +}; + + +struct msg_net_pipe_connected { + const char *host; + const char *endpoint; + enum dcerpc_transport_t transport; +}; |