]> git.sur5r.net Git - cc65/blobdiff - src/common/tgttrans.h
Merge remote-tracking branch 'upstream/master' into a5200
[cc65] / src / common / tgttrans.h
index 67d5addc9f4fc7772e7497d31e7c6fb6c543e9a1..5b942e7f56fdbbde5a09e5bdee66687ba91e0d7e 100644 (file)
@@ -1,15 +1,15 @@
 /*****************************************************************************/
 /*                                                                           */
-/*                               tgttrans.h                                 */
+/*                                tgttrans.h                                 */
 /*                                                                           */
-/*                        Character set translation                         */
+/*                         Character set translation                         */
 /*                                                                           */
 /*                                                                           */
 /*                                                                           */
-/* (C) 2000-2003 Ullrich von Bassewitz                                       */
-/*               Römerstrasse 52                                             */
-/*               D-70794 Filderstadt                                         */
-/* EMail:        uz@cc65.org                                                 */
+/* (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                                    */
 /*****************************************************************************/
 
 
@@ -52,16 +57,16 @@ int TgtTranslateChar (int C);
  * 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 */
 
@@ -70,6 +75,3 @@ void TgtTranslateSet (unsigned Index, unsigned char C);
 /* End of tgttrans.h */
 
 #endif
-
-
-