remove the old ctdb_attach() function and move all callers over to the new ctdb_attac...
[sahlberg/ctdb.git] / include / ctdb.h
index 7ccedaaff896c70e610a03f224f1782c5026b7b6..678189e2e61b336257557ec6519f49b829f04e8a 100644 (file)
@@ -75,13 +75,13 @@ struct ctdb_db_context;
 typedef void (*ctdb_attachdb_cb)(int32_t status, struct ctdb_db_context *ctdb_db, void *private_data);
 
 ctdb_handle *
-ctdb_attachdb_send(struct ctdb_context *ctdb, uint32_t destnode,
+ctdb_attachdb_send(struct ctdb_context *ctdb,
                   const char *name, int persistent, uint32_t tdb_flags,
                   ctdb_attachdb_cb callback,
                   void *private_data);
 int ctdb_attachdb_recv(struct ctdb_context *ctdb,
                       ctdb_handle *handle, struct ctdb_db_context **);
-int ctdb_attachdb(struct ctdb_context *ctdb, uint32_t destnode,
+int ctdb_attachdb(struct ctdb_context *ctdb,
                  const char *name, int persistent, uint32_t tdb_flags,
                  struct ctdb_db_context **);