summaryrefslogtreecommitdiff
path: root/source4/lib
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2006-04-30 00:40:04 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 14:05:21 -0500
commit1f5a8f892ff09f2633610c0f520d96f892674933 (patch)
tree1dfd7b5e7b2b3c6e87af2e4c202c4410e1420c18 /source4/lib
parentb729cc821123ff48b8c4d06d59ee0c0d00f070ba (diff)
downloadsamba-1f5a8f892ff09f2633610c0f520d96f892674933.tar.gz
samba-1f5a8f892ff09f2633610c0f520d96f892674933.tar.bz2
samba-1f5a8f892ff09f2633610c0f520d96f892674933.zip
r15344: Fix shared library build
(This used to be commit 7113a16309a83225f3ab6ccbfe48778ae8fc52e8)
Diffstat (limited to 'source4/lib')
-rw-r--r--source4/lib/socket/config.mk2
-rw-r--r--source4/lib/socket/connect_multi.c4
2 files changed, 3 insertions, 3 deletions
diff --git a/source4/lib/socket/config.mk b/source4/lib/socket/config.mk
index ee630fb227..4c4dbb2915 100644
--- a/source4/lib/socket/config.mk
+++ b/source4/lib/socket/config.mk
@@ -41,7 +41,7 @@ OBJ_FILES = \
access.o \
connect_multi.o \
connect.o
-LDFLAGS = $(SUBSYSTEM_LIBCLI_RESOLVE_OUTPUT) $(LIBRARY_LIBCLI_NBT_OUTPUT) $(SUBSYSTEM_NDR_NBT_OUTPUT) $(LIBRARY_NDR_SVCCTL_OUTPUT)
+LDFLAGS = $(SUBSYSTEM_LIBCLI_RESOLVE_OUTPUT) $(SUBSYSTEM_LIBCLI_NBT_OUTPUT) $(SUBSYSTEM_NDR_NBT_OUTPUT) $(LIBRARY_NDR_SVCCTL_OUTPUT)
PUBLIC_DEPENDENCIES = LIBTALLOC
PRIVATE_DEPENDENCIES = SOCKET_WRAPPER LIBCLI_COMPOSITE
#LIBCLI_RESOLVE
diff --git a/source4/lib/socket/connect_multi.c b/source4/lib/socket/connect_multi.c
index 9f060767af..6c3c6a5a66 100644
--- a/source4/lib/socket/connect_multi.c
+++ b/source4/lib/socket/connect_multi.c
@@ -63,7 +63,7 @@ static void continue_one(struct composite_context *creq);
/*
setup an async socket_connect, with multiple ports
*/
-struct composite_context *socket_connect_multi_send(TALLOC_CTX *mem_ctx,
+_PUBLIC_ struct composite_context *socket_connect_multi_send(TALLOC_CTX *mem_ctx,
const char *server_address,
int num_server_ports,
uint16_t *server_ports,
@@ -243,7 +243,7 @@ static void continue_one(struct composite_context *creq)
/*
async recv routine for socket_connect_multi()
*/
-NTSTATUS socket_connect_multi_recv(struct composite_context *ctx,
+_PUBLIC_ NTSTATUS socket_connect_multi_recv(struct composite_context *ctx,
TALLOC_CTX *mem_ctx,
struct socket_context **sock,
uint16_t *port)