diff options
-rw-r--r-- | source4/libnet/config.mk | 4 | ||||
-rw-r--r-- | source4/libnet/libnet.h | 1 | ||||
-rw-r--r-- | source4/libnet/libnet_lookup.c | 7 |
3 files changed, 7 insertions, 5 deletions
diff --git a/source4/libnet/config.mk b/source4/libnet/config.mk index 3b95f9ba60..5b9073e2f5 100644 --- a/source4/libnet/config.mk +++ b/source4/libnet/config.mk @@ -11,10 +11,10 @@ ADD_OBJ_FILES = \ libnet/libnet_vampire.o \ libnet/libnet_user.o \ libnet/libnet_share.o \ + libnet/libnet_lookup.o \ libnet/userinfo.o \ libnet/userman.o \ - libnet/domain.o \ - libnet/lookup.o + libnet/domain.o REQUIRED_SUBSYSTEMS = RPC_NDR_SAMR RPC_NDR_SRVSVC LIBCLI_COMPOSITE LIBCLI_RESOLVE LIBSAMBA3 # End SUBSYSTEM LIBNET diff --git a/source4/libnet/libnet.h b/source4/libnet/libnet.h index 092d09599f..470c98dca9 100644 --- a/source4/libnet/libnet.h +++ b/source4/libnet/libnet.h @@ -43,3 +43,4 @@ struct libnet_context { #include "libnet/libnet_vampire.h" #include "libnet/libnet_user.h" #include "libnet/libnet_share.h" +#include "libnet/libnet_lookup.h" diff --git a/source4/libnet/libnet_lookup.c b/source4/libnet/libnet_lookup.c index 05923ce177..c6dc6d0741 100644 --- a/source4/libnet/libnet_lookup.c +++ b/source4/libnet/libnet_lookup.c @@ -25,6 +25,7 @@ #include "includes.h" #include "libcli/raw/libcliraw.h" #include "lib/events/events.h" +#include "libnet/libnet.h" #include "libcli/composite/composite.h" #include "libcli/composite/monitor.h" #include "libnet/composite.h" @@ -38,7 +39,7 @@ struct lookup_state { }; -struct composite_context *libnet_Lookup_send(struct libnet_lookup *io) +struct composite_context *libnet_Lookup_send(struct libnet_Lookup *io) { struct composite_context *c; struct lookup_state *s; @@ -76,7 +77,7 @@ failed: NTSTATUS libnet_Lookup_recv(struct composite_context *c, TALLOC_CTX *mem_ctx, - struct libnet_lookup *io) + struct libnet_Lookup *io) { NTSTATUS status; struct lookup_state *s; @@ -88,7 +89,7 @@ NTSTATUS libnet_Lookup_recv(struct composite_context *c, TALLOC_CTX *mem_ctx, } -NTSTATUS libnet_Lookup(TALLOC_CTX *mem_ctx, struct libnet_lookup *io) +NTSTATUS libnet_Lookup(TALLOC_CTX *mem_ctx, struct libnet_Lookup *io) { struct composite_context *c = libnet_Lookup_send(io); return libnet_Lookup_recv(c, mem_ctx, io); |