diff options
author | Stefan Metzmacher <metze@samba.org> | 2013-10-08 15:30:16 +0200 |
---|---|---|
committer | Michael Adam <obnox@samba.org> | 2014-03-24 17:09:10 +0100 |
commit | e5b5775b81500fb8d0c7491186e6ba35502134c3 (patch) | |
tree | ffdc1417944f7305d28d26b2431c4693e4abaa6c /source3/lib | |
parent | b17c6ad6441c19de0fca4ff9ca1bdc2d0b59f300 (diff) | |
download | samba-e5b5775b81500fb8d0c7491186e6ba35502134c3.tar.gz samba-e5b5775b81500fb8d0c7491186e6ba35502134c3.tar.xz samba-e5b5775b81500fb8d0c7491186e6ba35502134c3.zip |
s3:ctdbd_conn: add ctdb_serverids_exist_supported()
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Michael Adam <obnox@samba.org>
Diffstat (limited to 'source3/lib')
-rw-r--r-- | source3/lib/ctdbd_conn.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/source3/lib/ctdbd_conn.c b/source3/lib/ctdbd_conn.c index 4d903248b99..2d2804a7a64 100644 --- a/source3/lib/ctdbd_conn.c +++ b/source3/lib/ctdbd_conn.c @@ -1145,6 +1145,15 @@ fail: 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, |