summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
authorRafal Szczesniak <mimir@samba.org>2005-06-18 22:29:41 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:18:28 -0500
commitf7e3089c378e8b3f96e46fe1e3d1d19b99f536af (patch)
tree9bea26d1529178ae4b733e0e406ce7c61c8970ff /source4
parent52f072865da95679aa5ccc89eb173ccb189c4b78 (diff)
downloadsamba-f7e3089c378e8b3f96e46fe1e3d1d19b99f536af.tar.gz
samba-f7e3089c378e8b3f96e46fe1e3d1d19b99f536af.tar.bz2
samba-f7e3089c378e8b3f96e46fe1e3d1d19b99f536af.zip
r7734: A few missing pieces...
rafal (This used to be commit 15e2a67fe08daa722c55cd3afd46e838eb653e22)
Diffstat (limited to 'source4')
-rw-r--r--source4/libnet/config.mk4
-rw-r--r--source4/libnet/libnet.h1
-rw-r--r--source4/libnet/libnet_lookup.c7
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);