File:  [PGP] / pgp / src / charset.h
Revision 1.1.1.5 (vendor branch): download - view: text, annotated - select for diffs
Tue Apr 24 16:45:36 2018 UTC (8 years, 1 month ago) by root
Branches: phill, MAIN
CVS tags: pgp263i, HEAD
PGP 2.6.3i


/* 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);

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.