X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=src%2Fcommon%2Ftgttrans.h;h=51bf8ebbb6cb4a6b1079d48eb65931ef1e3485dc;hb=7bd19b737aacfcf0d81e2bc3a6e537ee72a4eb2f;hp=67d5addc9f4fc7772e7497d31e7c6fb6c543e9a1;hpb=c347c2ce94334e2986e4d81f4dd2f8fdb6b6ce68;p=cc65 diff --git a/src/common/tgttrans.h b/src/common/tgttrans.h index 67d5addc9..51bf8ebbb 100644 --- a/src/common/tgttrans.h +++ b/src/common/tgttrans.h @@ -6,8 +6,8 @@ /* */ /* */ /* */ -/* (C) 2000-2003 Ullrich von Bassewitz */ -/* Römerstrasse 52 */ +/* (C) 2000-2008 Ullrich von Bassewitz */ +/* Roemerstrasse 52 */ /* D-70794 Filderstadt */ /* EMail: uz@cc65.org */ /* */ @@ -34,7 +34,12 @@ #ifndef TGTTRANS_H -#define TGTTRANS_H +#define TGTTRANS_H + + + +/* common */ +#include "strbuf.h" @@ -62,6 +67,11 @@ void TgtTranslateBuf (void* Buf, unsigned Len); * 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 */