r15245: forgot one header
authorSimo Sorce <idra@samba.org>
Tue, 25 Apr 2006 16:08:55 +0000 (16:08 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 19:04:24 +0000 (14:04 -0500)
(This used to be commit 32da3f5d22cc38f72961ca65c85c49d03f64b05c)

source4/lib/ldb/include/ldb.h

index a6a13fc39c23b6f9eb8412a2a1afb570e71aff55..43dde8675bc0a3834d7764ce970ee9169d44bdc3 100644 (file)
@@ -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)