summaryrefslogtreecommitdiff
path: root/source3/lib
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2012-04-04 11:56:06 +0200
committerVolker Lendecke <vl@samba.org>2012-04-17 10:21:02 +0200
commit0b501e823f07b14e4819b817f40cc30da09be1e1 (patch)
tree3914c780e599663d34f5ecf5850805276f1d7b18 /source3/lib
parenta03a74c35388ed23681a2381252a85bef7cafbe7 (diff)
downloadsamba-0b501e823f07b14e4819b817f40cc30da09be1e1.tar.gz
samba-0b501e823f07b14e4819b817f40cc30da09be1e1.tar.bz2
samba-0b501e823f07b14e4819b817f40cc30da09be1e1.zip
s3: Make ctdbd_messaging_send_blob available in non-clustered mode
This will avoid the need for some #ifdefs
Diffstat (limited to 'source3/lib')
-rw-r--r--source3/lib/ctdbd_conn.c11
1 files changed, 10 insertions, 1 deletions
diff --git a/source3/lib/ctdbd_conn.c b/source3/lib/ctdbd_conn.c
index de9920ae26..8219bd281b 100644
--- a/source3/lib/ctdbd_conn.c
+++ b/source3/lib/ctdbd_conn.c
@@ -21,10 +21,10 @@
#include "includes.h"
#include "util_tdb.h"
#include "serverid.h"
+#include "ctdbd_conn.h"
#ifdef CLUSTER_SUPPORT
-#include "ctdbd_conn.h"
#include "ctdb_packet.h"
#include "messages.h"
@@ -1797,4 +1797,13 @@ NTSTATUS ctdb_unwatch(struct ctdbd_connection *conn)
return status;
}
+#else
+
+NTSTATUS ctdbd_messaging_send_blob(struct ctdbd_connection *conn,
+ uint32 dst_vnn, uint64 dst_srvid,
+ const uint8_t *buf, size_t buflen)
+{
+ return NT_STATUS_NOT_IMPLEMENTED;
+}
+
#endif