home *** CD-ROM | disk | FTP | other *** search
/ Black Box 4 / BlackBox.cdr / editors / tde150.arj / COMMON.H < prev    next >
C/C++ Source or Header  |  1992-04-01  |  1KB  |  53 lines

  1. /*******************  start of original comments  ********************/
  2. /*
  3.  * Written by Douglas Thomson (1989/1990)
  4.  *
  5.  * This source code is released into the public domain.
  6.  */
  7. /*********************  end of original comments   ********************/
  8.  
  9.  
  10. /*
  11.  * New editor name:  tde, the Thomson-Davis Editor.
  12.  * Author:           Frank Davis
  13.  * Date:             June 5, 1991
  14.  *
  15.  * This modification of Douglas Thomson's code is released into the
  16.  * public domain, Frank Davis.  You may distribute freely.
  17.  *
  18.  * This file contains all the external structure declarations common
  19.  *  to all the editor modules.
  20.  */
  21.  
  22. #include <stdio.h>
  23. #include <string.h>
  24. #include <ctype.h>
  25. #include <conio.h>
  26. #ifdef __TURBOC__
  27.    #include <stdlib.h>
  28. #elif __MSC__
  29.    #include <stdlib.h>
  30.    #if defined( toupper )
  31.        #undef toupper
  32.    #endif
  33. #endif
  34.  
  35. /*
  36.  * Some of variables are used again and again throughout the editor.
  37.  * Gather them into logical structures and make them global to all
  38.  * modules.
  39.  */
  40. extern displays g_display;
  41.  
  42. extern status_infos g_status;
  43.  
  44. extern boyer_moore_type bm;
  45.  
  46. extern mode_infos mode;
  47.  
  48. extern unsigned char key_func[MAX_KEYS];
  49.  
  50. extern MACRO macro;
  51.  
  52. extern CEH ceh;
  53.