From 859817e30ff809bda972e208e89191f53e097674 Mon Sep 17 00:00:00 2001 From: Tim Potter Date: Mon, 17 Apr 2006 23:25:25 +0000 Subject: r15113: Add a ldb_strerror() function. (This used to be commit 456a1de2b9cd54337066c9ba24ad1c46aafcd072) --- source4/lib/ldb/include/ldb.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'source4/lib/ldb/include') diff --git a/source4/lib/ldb/include/ldb.h b/source4/lib/ldb/include/ldb.h index 589bb4b6a1..a6a13fc39c 100644 --- a/source4/lib/ldb/include/ldb.h +++ b/source4/lib/ldb/include/ldb.h @@ -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 -- cgit