home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC-Online 1998 February
/
PCOnline_02_1998.iso
/
filesbbs
/
os2
/
pgp263.arj
/
PGP263I.SRC
/
PGP263II.ZIP
/
src
/
charset.h
< prev
next >
Wrap
C/C++ Source or Header
|
1995-08-16
|
976b
|
29 lines
/* Internal/External representation conversion macros for conversion of
* user ID's
*/
#ifdef EBCDIC
void CONVERT_TO_CANONICAL_CHARSET(char *s);/* String to internal string (at same place) */
char * LOCAL_CHARSET(char *s); /* String to external string */
#else
#define CONVERT_TO_CANONICAL_CHARSET(s) /* String to internal string (at same place) */
#define LOCAL_CHARSET(s) s /* String to external string */
#endif
extern char INT_C(char c); /* Char to internal char */
extern char EXT_C(char c); /* Char to external char */
/* Plaintext files import/export conversion modes */
#define NO_CONV 0 /* No conversion needed */
#define INT_CONV 1 /* Convert text to internal representation */
#define EXT_CONV 2 /* Convert text to external representation */
extern int CONVERSION; /* Global var to rule copyfiles */
extern void init_charset(void);
extern int to_upper(int c);
extern int to_lower(int c);