summaryrefslogtreecommitdiff
path: root/source4/lib/ldb/include/ldb.h
diff options
context:
space:
mode:
authorTim Potter <tpot@samba.org>2006-04-17 23:25:25 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 14:04:09 -0500
commit859817e30ff809bda972e208e89191f53e097674 (patch)
treea066e8868dab08a3aa1638009d92fdc23255b184 /source4/lib/ldb/include/ldb.h
parent611a058440d4fbd63d70621375811aa22b604ede (diff)
downloadsamba-859817e30ff809bda972e208e89191f53e097674.tar.gz
samba-859817e30ff809bda972e208e89191f53e097674.tar.bz2
samba-859817e30ff809bda972e208e89191f53e097674.zip
r15113: Add a ldb_strerror() function.
(This used to be commit 456a1de2b9cd54337066c9ba24ad1c46aafcd072)
Diffstat (limited to 'source4/lib/ldb/include/ldb.h')
-rw-r--r--source4/lib/ldb/include/ldb.h5
1 files changed, 5 insertions, 0 deletions
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
@@ -827,6 +827,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
*/