1 /* CODEPAGE.H (c) Copyright Jan Jaeger, 1999-2009 */ 2 /* Code Page conversion */ 3 4 #ifndef _HERCULES_CODEPAGE_H 5 #define _HERCULES_CODEPAGE_H 6 7 #include "hercules.h" 8 9 #ifndef _CODEPAGE_C_ 10 #ifndef _HUTIL_DLL_ 11 #define COD_DLL_IMPORT DLL_IMPORT 12 #else /* _HUTIL_DLL_ */ 13 #define COD_DLL_IMPORT extern 14 #endif /* _HUTIL_DLL_ */ 15 #else /* _LOGGER_C_ */ 16 #define COD_DLL_IMPORT DLL_EXPORT 17 #endif /* _LOGGER_C_ */ 18 19 20 COD_DLL_IMPORT void set_codepage(char *name); 21 COD_DLL_IMPORT unsigned char host_to_guest (unsigned char byte); 22 COD_DLL_IMPORT unsigned char guest_to_host (unsigned char byte); 23 24 #endif /* _HERCULES_CODEPAGE_H */ 25