r15113: Add a ldb_strerror() function.
[bbaumbach/samba-autobuild/.git] / source4 / lib / ldb / include / ldb.h
index dbe929246b1b18a87d28d387b3dbd0a8b2028d31..a6a13fc39c23b6f9eb8412a2a1afb570e71aff55 100644 (file)
@@ -577,7 +577,6 @@ enum ldb_reply_type {
 
 enum ldb_async_wait_type {
        LDB_WAIT_ALL,
-       LDB_WAIT_ONCE,
        LDB_WAIT_NONE
 };
 
@@ -827,6 +826,11 @@ int ldb_transaction_cancel(struct ldb_context *ldb);
 */
 const char *ldb_errstring(struct ldb_context *ldb);
 
+/**
+  return a string explaining what a ldb error constant meancs
+*/
+const char *ldb_strerror(int ldb_err);
+
 /**
   setup the default utf8 functions
   FIXME: these functions do not yet handle utf8
@@ -1056,7 +1060,6 @@ int ldb_dn_cmp(struct ldb_context *ldb, const char *dn1, const char *dn2);
 int ldb_attr_cmp(const char *attr1, const char *attr2);
 char *ldb_attr_casefold(void *mem_ctx, const char *s);
 int ldb_attr_dn(const char *attr);
-char *ldb_dn_escape_value(void *mem_ctx, struct ldb_val value);
 
 /**
    Create an empty message