summaryrefslogtreecommitdiff
path: root/src/msgs.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/msgs.h')
-rw-r--r--src/msgs.h26
1 files changed, 26 insertions, 0 deletions
diff --git a/src/msgs.h b/src/msgs.h
new file mode 100644
index 0000000..27a7f26
--- /dev/null
+++ b/src/msgs.h
@@ -0,0 +1,26 @@
+int
+msgs_init(const char *const MSGS[]);
+
+int
+msgs_end(void);
+
+const char *
+msgs_string(const char *const MSGS[], const int msg_id);
+
+int
+msgs_print_ids(
+ const char *const MSGS[],
+ FILE *restrict stream,
+ const int msg_begin,
+ const int msg_end
+);
+
+int
+msgs_print_id(
+ const char *const MSGS[],
+ FILE *restrict stream,
+ const int msg_id
+);
+
+int
+msgs_dump_translatable_strings(const char *const MSGS[]);