summaryrefslogtreecommitdiff
path: root/source4/lib/ldb/include/ldb.h
diff options
context:
space:
mode:
authorSimo Sorce <idra@samba.org>2006-04-25 16:08:55 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 14:04:24 -0500
commit8c653b5b54514f1f5e2279ed05f863c4578f1f5a (patch)
treedb7b4e963c008d8248fd39474601e9ecc9e913d5 /source4/lib/ldb/include/ldb.h
parentf7312bf37367ab9576842ac06de0f170455d08a8 (diff)
downloadsamba-8c653b5b54514f1f5e2279ed05f863c4578f1f5a.tar.gz
samba-8c653b5b54514f1f5e2279ed05f863c4578f1f5a.tar.bz2
samba-8c653b5b54514f1f5e2279ed05f863c4578f1f5a.zip
r15245: forgot one header
(This used to be commit 32da3f5d22cc38f72961ca65c85c49d03f64b05c)
Diffstat (limited to 'source4/lib/ldb/include/ldb.h')
-rw-r--r--source4/lib/ldb/include/ldb.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/source4/lib/ldb/include/ldb.h b/source4/lib/ldb/include/ldb.h
index a6a13fc39c..43dde8675b 100644
--- a/source4/lib/ldb/include/ldb.h
+++ b/source4/lib/ldb/include/ldb.h
@@ -233,6 +233,15 @@ struct ldb_utf8_fns {
*/
#define LDB_FLG_NOSYNC 2
+/**
+ Flag value to specify autoreconnect mode.
+
+ If LDB_FLG_RECONNECT is used in ldb_connect, then the backend will
+ be opened in a way that makes it try to auto reconnect if the
+ connection is dropped (actually make sense only with ldap).
+*/
+#define LDB_FLG_RECONNECT 3
+
/*! \cond DOXYGEN_IGNORE */
#ifndef PRINTF_ATTRIBUTE
#define PRINTF_ATTRIBUTE(a,b)