diff options
-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; +}; |