diff options
Diffstat (limited to 'source3/lib/dbwrap/dbwrap_open.h')
-rw-r--r-- | source3/lib/dbwrap/dbwrap_open.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/source3/lib/dbwrap/dbwrap_open.h b/source3/lib/dbwrap/dbwrap_open.h index 153e91ad5d..5a172a4a2a 100644 --- a/source3/lib/dbwrap/dbwrap_open.h +++ b/source3/lib/dbwrap/dbwrap_open.h @@ -24,6 +24,12 @@ struct db_context; /** + * Convenience function to check whether a tdb database + * is local or clustered (ctdb) in a clustered environment. + */ +bool db_is_local(const char *name); + +/** * Convenience function that will determine whether to * open a tdb database via the tdb backend or via the ctdb * backend, based on lp_clustering() and a db-specific |