summaryrefslogtreecommitdiff
path: root/source4/libcli
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2006-04-30 00:00:28 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 14:05:18 -0500
commit20b3b0f2e316f1689ea30e1901d97bdf86a71fa0 (patch)
treeaa43662af4350d1717fb27fcb8e882499f802869 /source4/libcli
parentf7c86b912dd8033837a8411c7b99c9436de079c0 (diff)
downloadsamba-20b3b0f2e316f1689ea30e1901d97bdf86a71fa0.tar.gz
samba-20b3b0f2e316f1689ea30e1901d97bdf86a71fa0.tar.bz2
samba-20b3b0f2e316f1689ea30e1901d97bdf86a71fa0.zip
r15338: Fix build of most things with shared libs enabled.
(This used to be commit 8985093d3fba90287bd739aaaa0fbfdadca2b999)
Diffstat (limited to 'source4/libcli')
-rw-r--r--source4/libcli/config.mk10
-rw-r--r--source4/libcli/raw/clioplock.c4
2 files changed, 7 insertions, 7 deletions
diff --git a/source4/libcli/config.mk b/source4/libcli/config.mk
index e68bdf1f45..533266dca8 100644
--- a/source4/libcli/config.mk
+++ b/source4/libcli/config.mk
@@ -42,10 +42,10 @@ PUBLIC_DEPENDENCIES = LIBCLI_COMPOSITE
PRIVATE_PROTO_HEADER = nbt/nbtname.h
OBJ_FILES = nbt/nbtname.o
-[LIBRARY::LIBCLI_NBT]
-VERSION = 0.0.1
-SO_VERSION = 0
-DESCRIPTION = NetBios over TCP/IP client library
+[SUBSYSTEM::LIBCLI_NBT]
+#VERSION = 0.0.1
+#SO_VERSION = 0
+#DESCRIPTION = NetBios over TCP/IP client library
PRIVATE_PROTO_HEADER = nbt/nbt_proto.h
OBJ_FILES = \
nbt/nbtsocket.o \
@@ -142,6 +142,6 @@ OBJ_FILES = raw/rawfile.o \
raw/rawacl.o \
raw/rawdate.o \
raw/rawlpq.o
-PUBLIC_DEPENDENCIES = LIBPACKET gensec
+PUBLIC_DEPENDENCIES = LIBPACKET gensec LIBCRYPTO
include smb2/config.mk
diff --git a/source4/libcli/raw/clioplock.c b/source4/libcli/raw/clioplock.c
index f26aa0c5f2..f004532b26 100644
--- a/source4/libcli/raw/clioplock.c
+++ b/source4/libcli/raw/clioplock.c
@@ -24,7 +24,7 @@
/****************************************************************************
send an ack for an oplock break request
****************************************************************************/
-BOOL smbcli_oplock_ack(struct smbcli_tree *tree, uint16_t fnum, uint16_t ack_level)
+_PUBLIC_ BOOL smbcli_oplock_ack(struct smbcli_tree *tree, uint16_t fnum, uint16_t ack_level)
{
BOOL ret;
struct smbcli_request *req;
@@ -53,7 +53,7 @@ BOOL smbcli_oplock_ack(struct smbcli_tree *tree, uint16_t fnum, uint16_t ack_lev
/****************************************************************************
set the oplock handler for a connection
****************************************************************************/
-void smbcli_oplock_handler(struct smbcli_transport *transport,
+_PUBLIC_ void smbcli_oplock_handler(struct smbcli_transport *transport,
BOOL (*handler)(struct smbcli_transport *, uint16_t, uint16_t, uint8_t, void *),
void *private)
{