summaryrefslogtreecommitdiff
path: root/source3/intl
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2011-03-22 23:58:21 +0100
committerGünther Deschner <gd@samba.org>2011-03-30 01:13:08 +0200
commit6b76909f5ef5f279cb73decf83f23d3dbf8adaf8 (patch)
tree225f47c2fc120491e71d0b50b723db8ec1debdc6 /source3/intl
parent60d2816c5e914f1674267a3b388c302335f93466 (diff)
downloadsamba-6b76909f5ef5f279cb73decf83f23d3dbf8adaf8.tar.gz
s3-build: only include intl protos where needed.
Guenther
Diffstat (limited to 'source3/intl')
-rw-r--r--source3/intl/lang_tdb.c1
-rw-r--r--source3/intl/lang_tdb.h7
2 files changed, 8 insertions, 0 deletions
diff --git a/source3/intl/lang_tdb.c b/source3/intl/lang_tdb.c
index 19a50c49f66..8fcb9f2bfc8 100644
--- a/source3/intl/lang_tdb.c
+++ b/source3/intl/lang_tdb.c
@@ -19,6 +19,7 @@
#include "includes.h"
#include "system/filesys.h"
+#include "intl/lang_tdb.h"
static TDB_CONTEXT *tdb;
diff --git a/source3/intl/lang_tdb.h b/source3/intl/lang_tdb.h
new file mode 100644
index 00000000000..da246846d0d
--- /dev/null
+++ b/source3/intl/lang_tdb.h
@@ -0,0 +1,7 @@
+
+/* The following definitions come from intl/lang_tdb.c */
+
+bool lang_tdb_init(const char *lang);
+const char *lang_msg(const char *msgid);
+void lang_msg_free(const char *msgstr);
+char *lang_tdb_current(void);