]> git.sur5r.net Git - cc65/blobdiff - src/common/tgttrans.h
Revert "atari5200: fix COLOR defines' names"
[cc65] / src / common / tgttrans.h
index b9ede0a8963a647208cdf21113ce09417db62195..46981ec0fba85ce328896f0e0186d6f9587d740e 100644 (file)
@@ -1,15 +1,15 @@
 /*****************************************************************************/
 /*                                                                           */
-/*                               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.
- */
+** system character set.
+*/
 
-char* TgtTranslateStr (char* S);
-/* Translate a complete string from the source character set into the target
- * system character set.
- */
+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
 
 
+/* End of tgttrans.h */
 
+#endif