home *** CD-ROM | disk | FTP | other *** search
/ Dream 52 / Amiga_Dream_52.iso / Linux / Divers / lynx2.8.1dev.10.tar.gz / lynx2.8.1dev.10.tar / lynx2-8 / src / UCdomap.h < prev    next >
C/C++ Source or Header  |  1998-01-28  |  1KB  |  56 lines

  1.  
  2. #ifndef UCDOMAP_H
  3. #define UCDOMAP_H
  4.  
  5. /*
  6.  *  [old comments: - KW ]
  7.  *  consolemap.h
  8.  *
  9.  *  Interface between console.c, selection.c  and UCmap.c
  10.  */
  11. #define LAT1_MAP 0
  12. #define GRAF_MAP 1
  13. #define IBMPC_MAP 2
  14. #define USER_MAP 3
  15.  
  16. /*
  17.  *  Some conventions I try to follow (loosely):
  18.  *    [a-z]* only internal, names from linux driver code.
  19.  *    UC_* to be only known internally.
  20.  *    UC[A-Z]* to be exported to other parts of Lynx. -KW
  21.  */
  22. extern void UC_Charset_Setup PARAMS((
  23.     CONST char *        UC_MIMEcharset,
  24.     CONST char *        UC_LYNXcharset,
  25.     u8 *            unicount,
  26.     u16 *            unitable,
  27.     int            nnuni,
  28.     struct unimapdesc_str    replacedesc,
  29.     int            lowest_eight,
  30.     int            UC_rawuni));
  31.  
  32. char *UC_GNsetMIMEnames[4] =
  33.     {"iso-8859-1", "x-dec-graphics", "cp437", "x-transparent"};
  34.  
  35. int UC_GNhandles[4] = {-1, -1, -1, -1};
  36.  
  37. struct UC_charset {
  38.     CONST char *MIMEname;
  39.     CONST char *LYNXname;
  40.     u8* unicount;
  41.     u16* unitable;
  42.     int num_uni;
  43.     struct unimapdesc_str replacedesc;
  44.     int uc_status;
  45.     int LYhndl;
  46.     int GN;
  47.     int lowest_eight;
  48.     int enc;
  49. };
  50.  
  51. extern int UCNumCharsets;
  52.  
  53. extern void UCInit NOARGS;
  54.  
  55. #endif /* UCDOMAP_H */
  56.