s3:winbindd: Fix size types in idmap_tdb_common
[samba.git] / source3 / lib / ctdb_dummy.c
index f301c1f5f1b8c5e5a75cd34ecacbe47fc05efa22..144c85077582b57b024e0677de11becc38483586 100644 (file)
@@ -19,7 +19,6 @@
 
 #include "includes.h"
 #include "messages.h"
-#include "lib/messages_ctdbd.h"
 #include "lib/messages_ctdb.h"
 #include "lib/messages_ctdb_ref.h"
 #include "ctdbd_conn.h"
@@ -63,7 +62,8 @@ int ctdbd_register_ips(struct ctdbd_connection *conn,
        return ENOSYS;
 }
 
-bool ctdbd_process_exists(struct ctdbd_connection *conn, uint32_t vnn, pid_t pid)
+bool ctdbd_process_exists(struct ctdbd_connection *conn, uint32_t vnn,
+                         pid_t pid, uint64_t unique_id)
 {
        return false;
 }
@@ -80,18 +80,6 @@ struct db_context *db_open_ctdb(TALLOC_CTX *mem_ctx,
        return NULL;
 }
 
-int messaging_ctdbd_init(struct messaging_context *msg_ctx,
-                        TALLOC_CTX *mem_ctx,
-                        void (*recv_cb)(struct tevent_context *ev,
-                                        const uint8_t *msg, size_t msg_len,
-                                        int *fds, size_t num_fds,
-                                        void *private_data),
-                        void *private_data,
-                             struct messaging_backend **presult)
-{
-       return ENOSYS;
-}
-
 int messaging_ctdb_send(uint32_t dst_vnn, uint64_t dst_srvid,
                        const struct iovec *iov, int iovlen)
 {
@@ -116,25 +104,6 @@ struct messaging_ctdb_fde *messaging_ctdb_register_tevent_context(
        return NULL;
 }
 
-int messaging_ctdbd_reinit(struct messaging_context *msg_ctx,
-                          TALLOC_CTX *mem_ctx,
-                          void (*recv_cb)(struct tevent_context *ev,
-                                          const uint8_t *msg, size_t msg_len,
-                                          int *fds, size_t num_fds,
-                                          void *private_data),
-                          void *private_data,
-                          struct messaging_backend *backend)
-{
-       return ENOSYS;
-}
-
-struct messaging_ctdbd_fde *messaging_ctdbd_register_tevent_context(
-       TALLOC_CTX *mem_ctx, struct tevent_context *ev,
-       struct messaging_backend *backend)
-{
-       return NULL;
-}
-
 struct ctdbd_connection *messaging_ctdb_connection(void)
 {
        return NULL;