summaryrefslogtreecommitdiffstats
path: root/src/rccstring.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/rccstring.h')
-rw-r--r--src/rccstring.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/rccstring.h b/src/rccstring.h
index a9cfc9b..dbbd4c2 100644
--- a/src/rccstring.h
+++ b/src/rccstring.h
@@ -6,6 +6,7 @@
struct rcc_string_header_t {
unsigned int magic;
rcc_language_id language_id;
+ char language[2];
};
typedef struct rcc_string_header_t rcc_string_header;
@@ -13,4 +14,7 @@ typedef struct rcc_string_header_t rcc_string_header;
rcc_string rccCreateString(rcc_language_id language_id, const char *buf, size_t len, size_t *rlen);
void rccStringFree(rcc_string str);
+int rccStringSetLang(rcc_string string, const char *sn);
+int rccStringFixID(rcc_string string, rcc_context ctx);
+
#endif /* _RCC_STRING_H */