home *** CD-ROM | disk | FTP | other *** search
/ Black Box 4 / BlackBox.cdr / bbs_mail / bsrc_250.arj / LANGUAGE.H < prev    next >
C/C++ Source or Header  |  1991-09-15  |  4KB  |  87 lines

  1. /*--------------------------------------------------------------------------*/
  2. /*                                                                          */
  3. /*                                                                          */
  4. /*      ------------         Bit-Bucket Software, Co.                       */
  5. /*      \ 10001101 /         Writers and Distributors of                    */
  6. /*       \ 011110 /          Freely Available<tm> Software.                 */
  7. /*        \ 1011 /                                                          */
  8. /*         ------                                                           */
  9. /*                                                                          */
  10. /*  (C) Copyright 1987-91, Bit Bucket Software Co., a Delaware Corporation. */
  11. /*                                                                          */
  12. /*                                                                          */
  13. /*                Language definitions used in BinkleyTerm                  */
  14. /*                                                                          */
  15. /*                                                                          */
  16. /*    For complete  details  of the licensing restrictions, please refer    */
  17. /*    to the License  agreement,  which  is published in its entirety in    */
  18. /*    the MAKEFILE and BT.C, and also contained in the file LICENSE.250.    */
  19. /*                                                                          */
  20. /*    USE  OF THIS FILE IS SUBJECT TO THE  RESTRICTIONS CONTAINED IN THE    */
  21. /*    BINKLEYTERM  LICENSING  AGREEMENT.  IF YOU DO NOT FIND THE TEXT OF    */
  22. /*    THIS  AGREEMENT IN ANY OF THE  AFOREMENTIONED FILES,  OR IF YOU DO    */
  23. /*    NOT HAVE THESE FILES,  YOU  SHOULD  IMMEDIATELY CONTACT BIT BUCKET    */
  24. /*    SOFTWARE CO.  AT ONE OF THE  ADDRESSES  LISTED BELOW.  IN NO EVENT    */
  25. /*    SHOULD YOU  PROCEED TO USE THIS FILE  WITHOUT HAVING  ACCEPTED THE    */
  26. /*    TERMS  OF  THE  BINKLEYTERM  LICENSING  AGREEMENT,  OR  SUCH OTHER    */
  27. /*    AGREEMENT AS YOU ARE ABLE TO REACH WITH BIT BUCKET SOFTWARE, CO.      */
  28. /*                                                                          */
  29. /*                                                                          */
  30. /* You can contact Bit Bucket Software Co. at any one of the following      */
  31. /* addresses:                                                               */
  32. /*                                                                          */
  33. /* Bit Bucket Software Co.        FidoNet  1:104/501, 1:343/491             */
  34. /* P.O. Box 460398                AlterNet 7:491/0                          */
  35. /* Aurora, CO 80046               BBS-Net  86:2030/1                        */
  36. /*                                Internet f491.n343.z1.fidonet.org         */
  37. /*                                                                          */
  38. /* Please feel free to contact us at any time to share your comments about  */
  39. /* our software and/or licensing policies.                                  */
  40. /*                                                                          */
  41. /*--------------------------------------------------------------------------*/
  42.  
  43. #define MAX_KEYFNCS     1024
  44. #define MAX_MEMORY      (MAX_STRINGS * 32)
  45. #define MAX_PRDCTS      256
  46. #define MAX_STRINGS     1000
  47. #define MAX_ANSI        256
  48.  
  49. struct _lang_hdr
  50. {
  51.    int ElemCnt;
  52.    int PoolSize;
  53. };
  54.  
  55. struct _key_fnc
  56. {
  57.    int FncIdx;
  58.    int ScanCode;
  59. };
  60.  
  61. extern struct _lang_hdr LangHdr;
  62.  
  63. extern char **pointers;                 /* Array of pointers into memory */
  64. extern int    pointer_size;             /* Number of pointers            */
  65. extern char  *memory;                   /* Memory                        */
  66. extern int    memory_size;              /* Size of memory                */
  67.  
  68. extern struct _lang_hdr PrdctHdr;
  69. extern char  *PrdctMem;
  70. extern char **PrdctTbl;
  71. extern char  *PrdctUnknown;
  72.  
  73. extern int   *TrmnlAccelAry;
  74. extern int    TrmnlAccelCnt;
  75. extern struct _key_fnc *TrmnlAccelTbl;
  76.  
  77. extern int   *UnattendedAccelAry;
  78. extern int    UnattendedAccelCnt;
  79. extern struct _key_fnc *UnattendedAccelTbl;
  80.  
  81. extern struct _lang_hdr AnsiHdr;
  82. extern char  *AnsiMem;
  83.  
  84. extern int    get_language (char *);
  85. extern int    put_language (char *);
  86.  
  87.