summaryrefslogtreecommitdiff
path: root/h
diff options
context:
space:
mode:
authorGravatar Karl Ramm <kcr@1ts.org>2009-04-17 14:42:18 +0000
committerGravatar Karl Ramm <kcr@1ts.org>2009-04-17 14:42:18 +0000
commit7c412165256f54ea5e499868d9ab48cd9f442147 (patch)
tree52123669b176dbadc889e71404134ff5df769a96 /h
parent7dffd27e0267e0585c35c5f1b59497a1431501a3 (diff)
More i18n infrastructure
lib/charset.c h/zephyr/zephyr.h Refactor ZGetCharset into ZGetCharset and a function that does all the same defaulting but returns a string. ZTransliterate is a zephyr-metaphor wrapper for iconv. lib/zephyr-tests.py Wrappers for the functions in charset.c (but not tests) lib/zephyr_tests.txt Tests for the functions in charset.c
Diffstat (limited to 'h')
-rw-r--r--h/zephyr/zephyr.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/h/zephyr/zephyr.h b/h/zephyr/zephyr.h
index 088f59a..077f6c6 100644
--- a/h/zephyr/zephyr.h
+++ b/h/zephyr/zephyr.h
@@ -236,6 +236,7 @@ Code_t ZUnsubscribeTo(ZSubscription_t *sublist, int nitems,
Code_t ZCancelSubscriptions(unsigned int port);
int ZPending(void);
Code_t ZReceiveNotice(ZNotice_t *notice, struct sockaddr_in *from);
+const char *ZGetCharsetString(char *charset);
unsigned short ZGetCharset(char *charset);
const char *ZCharsetToString(unsigned short charset);
#ifdef Z_DEBUG