/*****************************************************************************/
/* */
-/* tgttrans.h */
+/* tgttrans.h */
/* */
-/* Character set translation */
+/* Character set translation */
/* */
/* */
/* */
-/* (C) 2000 Ullrich von Bassewitz */
-/* Wacholderweg 14 */
-/* D-70597 Stuttgart */
-/* EMail: uz@musoftware.de */
+/* (C) 2000-2012, Ullrich von Bassewitz */
+/* Roemerstrasse 52 */
+/* D-70794 Filderstadt */
+/* EMail: uz@cc65.org */
/* */
/* */
/* This software is provided 'as-is', without any expressed or implied */
+/* common */
+#include "strbuf.h"
+
+
+
/*****************************************************************************/
-/* Code */
+/* Code */
/*****************************************************************************/
+void TgtTranslateInit (void);
+/* Initialize the translation tables */
+
int TgtTranslateChar (int C);
/* Translate one character from the source character set into the target
* system character set.
*/
-char* TgtTranslateStr (char* S);
-/* Translate a complete string from the source character set into the target
+void TgtTranslateBuf (void* Buf, unsigned Len);
+/* Translate a buffer of the given length from the source character set into
+ * the target system character set.
+ */
+
+void TgtTranslateStrBuf (StrBuf* Buf);
+/* Translate a string buffer from the source character set into the target
* system character set.
*/
+void TgtTranslateSet (unsigned Index, unsigned char C);
+/* Set the translation code for the given character */
+
/* End of tgttrans.h */
#endif
-
-
-