summaryrefslogtreecommitdiffstats
path: root/lib/smbconf/smbconf.h
diff options
context:
space:
mode:
authorAndreas Schneider <asn@samba.org>2011-04-07 15:27:52 +0200
committerMichael Adam <obnox@samba.org>2011-05-10 19:13:19 +0200
commitb34e1768b762ae46e4fe761d9691ed09d285c9a9 (patch)
treef2d89197bebc53ecb4f0cdaea68696afd01001cf /lib/smbconf/smbconf.h
parent2a1a6a9e637cec58d976a2b353fee6b026599f37 (diff)
downloadsamba-b34e1768b762ae46e4fe761d9691ed09d285c9a9.tar.gz
samba-b34e1768b762ae46e4fe761d9691ed09d285c9a9.tar.xz
samba-b34e1768b762ae46e4fe761d9691ed09d285c9a9.zip
libsmbconf: Added a sbcErrorString() function.
Signed-off-by: Michael Adam <obnox@samba.org>
Diffstat (limited to 'lib/smbconf/smbconf.h')
-rw-r--r--lib/smbconf/smbconf.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/lib/smbconf/smbconf.h b/lib/smbconf/smbconf.h
index dc640d075b6..11e971b5bad 100644
--- a/lib/smbconf/smbconf.h
+++ b/lib/smbconf/smbconf.h
@@ -57,6 +57,15 @@ struct smbconf_service {
char **param_values;
};
+/**
+ * @brief Translate an error value into a string
+ *
+ * @param error
+ *
+ * @return a pointer to a static string
+ **/
+const char *sbcErrorString(sbcErr error);
+
/*
* the smbconf API functions
*/