|
|
1.1.1.5 ! root 1: ! 2: /* Internal/External representation conversion macros for conversion of ! 3: * user ID's ! 4: */ ! 5: ! 6: #ifdef EBCDIC ! 7: void CONVERT_TO_CANONICAL_CHARSET(char *s);/* String to internal string (at same place) */ ! 8: char * LOCAL_CHARSET(char *s); /* String to external string */ ! 9: #else ! 10: #define CONVERT_TO_CANONICAL_CHARSET(s) /* String to internal string (at same place) */ ! 11: #define LOCAL_CHARSET(s) s /* String to external string */ ! 12: #endif ! 13: ! 14: extern char INT_C(char c); /* Char to internal char */ ! 15: extern char EXT_C(char c); /* Char to external char */ ! 16: ! 17: /* Plaintext files import/export conversion modes */ ! 18: ! 19: #define NO_CONV 0 /* No conversion needed */ ! 20: #define INT_CONV 1 /* Convert text to internal representation */ ! 21: #define EXT_CONV 2 /* Convert text to external representation */ ! 22: ! 23: extern int CONVERSION; /* Global var to rule copyfiles */ ! 24: ! 25: ! 26: extern void init_charset(void); ! 27: extern int to_upper(int c); ! 28: extern int to_lower(int c);
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.