Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Michael Adam <obnox@samba.org>
bool ctdb_processes_exist(struct ctdbd_connection *conn,
const struct server_id *pids, int num_pids,
bool *results);
+bool ctdb_serverids_exist_supported(struct ctdbd_connection *conn);
bool ctdb_serverids_exist(struct ctdbd_connection *conn,
const struct server_id *pids, unsigned num_pids,
bool *results);
return false;
}
+bool ctdb_serverids_exist_supported(struct ctdbd_connection *conn)
+{
+#ifndef HAVE_CTDB_CONTROL_CHECK_SRVIDS_DECL
+ return false;
+#else /* HAVE_CTDB_CONTROL_CHECK_SRVIDS_DECL */
+ return true;
+#endif /* HAVE_CTDB_CONTROL_CHECK_SRVIDS_DECL */
+}
+
#ifdef HAVE_CTDB_CONTROL_CHECK_SRVIDS_DECL
bool ctdb_serverids_exist(struct ctdbd_connection *conn,