summaryrefslogtreecommitdiff
path: root/include/libintl.h
diff options
context:
space:
mode:
authorKacper <kacper@mail.openlinux.dev>2025-12-07 20:10:31 +0100
committerKacper <kacper@mail.openlinux.dev>2025-12-07 20:10:31 +0100
commitfc00c656c96528112d05cf0edf8631bd5eaea446 (patch)
treea6e0e6c588191a8bd1c64afc3b7a258e3e66c236 /include/libintl.h
Add build system scaffolding and libc headers
Diffstat (limited to 'include/libintl.h')
-rw-r--r--include/libintl.h26
1 files changed, 26 insertions, 0 deletions
diff --git a/include/libintl.h b/include/libintl.h
new file mode 100644
index 00000000..837bf354
--- /dev/null
+++ b/include/libintl.h
@@ -0,0 +1,26 @@
+#ifndef __LIBINTL_H
+#define __LIBINTL_H
+
+#define TEXTDOMAIN_MAX 255
+typedef struct __locale_t *locale_t;
+
+char *bindtextdomain(const char *, const char *);
+char *bind_textdomain_codeset(const char *, const char *);
+char *dcgettext(const char *, const char *, int);
+char *dcgettext_l(const char *, const char *, int, locale_t);
+char *dcngettext(const char *, const char *, const char *, unsigned long int,
+ int);
+char *dcngettext_l(const char *, const char *, const char *, unsigned long int,
+ int, locale_t);
+char *dgettext(const char *, const char *);
+char *dgettext_l(const char *, const char *, locale_t);
+char *dngettext(const char *, const char *, const char *, unsigned long int);
+char *dngettext_l(const char *, const char *, const char *, unsigned long int,
+ locale_t);
+char *gettext(const char *);
+char *gettext_l(const char *, locale_t);
+char *ngettext(const char *, const char *, unsigned long int);
+char *ngettext_l(const char *, const char *, unsigned long int, locale_t);
+char *textdomain(const char *);
+
+#endif