update the internal ctdb_ctrl_createdb() call to use the async libctdb code
[sahlberg/ctdb.git] / include / ctdb.h
index bebf804229e340ad3475ad990b3767a0bba354f9..cf616583e4a5fe7ee65e2dfb898cefd18a5c3ab7 100644 (file)
@@ -160,13 +160,13 @@ typedef void (*ctdb_createdb_cb)(int32_t status, void *private_data);
 
 ctdb_handle *
 ctdb_createdb_send(struct ctdb_context *ctdb, uint32_t destnode,
-                  const char *name, bool persistent,
+                  const char *name, int persistent,
                   ctdb_createdb_cb callback,
                   void *private_data);
 int ctdb_createdb_recv(struct ctdb_context *ctdb,
                       ctdb_handle *handle);
 int ctdb_createdb(struct ctdb_context *ctdb, uint32_t destnode,
-                 const char *name, bool persistent);
+                 const char *name, int persistent);