summaryrefslogtreecommitdiff
path: root/src/catalog.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/catalog.h')
-rw-r--r--src/catalog.h33
1 files changed, 33 insertions, 0 deletions
diff --git a/src/catalog.h b/src/catalog.h
new file mode 100644
index 0000000..9f237a9
--- /dev/null
+++ b/src/catalog.h
@@ -0,0 +1,33 @@
+#ifndef CATALOG_H
+#define CATALOG_H
+
+#include "config.h"
+
+#include <stdio.h>
+
+
+int
+i18n_init(void);
+
+int
+i18n_destroy(void);
+
+const char *
+s(const char *const MSGS[], const int msg_id);
+
+int
+s_print_msgs(
+ const char *const MSGS[],
+ FILE *restrict stream,
+ const int msg_begin,
+ const int msg_end
+);
+
+int
+s_print_msg(const char *const MSGS[], FILE *restrict stream, const int msg_id);
+
+int
+dump_translatable_strings(const char *const MSGS[]);
+
+
+#endif