r15113: Add a ldb_strerror() function.
[bbaumbach/samba-autobuild/.git] / source4 / lib / ldb / include / ldb.h
index 589bb4b6a14aa953179720efcde8cc32e5564561..a6a13fc39c23b6f9eb8412a2a1afb570e71aff55 100644 (file)
@@ -826,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