home *** CD-ROM | disk | FTP | other *** search
/ RISC DISC 2 / RISC_DISC_2.iso / pd_share / utilities / cli / pgp2 / src / h / charset < prev    next >
Encoding:
Text File  |  1994-07-15  |  845 b   |  25 lines

  1.  
  2. /* Internal/External representation conversion macros for conversion of
  3.  * user ID's (will be implemented in a future release of PGP, now they
  4.  * are just dummies)
  5.  */
  6. #define    CONVERT_TO_CANONICAL_CHARSET(s)
  7.             /* String to internal string (at same place) */
  8. #define    LOCAL_CHARSET(s)    s    /* String to external string */
  9.  
  10. extern char INT_C(char c);      /* Char to internal char */
  11. extern char EXT_C(char c);      /* Char to external char */
  12.  
  13. /* Plaintext files import/export conversion modes */
  14.  
  15. #define NO_CONV  0      /* No conversion needed */
  16. #define INT_CONV 1      /* Convert text to internal representation */
  17. #define EXT_CONV 2      /* Convert text to external representation */
  18.  
  19. extern int CONVERSION;  /* Global var to rule copyfiles */
  20.  
  21.  
  22. extern void init_charset(void);
  23. extern int to_upper(int c);
  24. extern int to_lower(int c);
  25.