home *** CD-ROM | disk | FTP | other *** search
/ InfoMagic Internet Tools 1993 July / Internet Tools.iso / RockRidge / info-service / gopher / Unix / gopher1.12 / misc / Radio / radio / globals.h < prev    next >
Encoding:
C/C++ Source or Header  |  1991-08-14  |  1.0 KB  |  54 lines

  1. /*
  2.  *  In this file you will find all of the global variables and 
  3.  *  global defines.
  4.  */
  5.  
  6.  
  7. #define BOOLEAN      int
  8. #define MAXGOPHERS   100
  9. #define ROOT_LEVEL   0
  10. #define ROOT_DIRECTORY "Root Directory"
  11.  
  12. #define MAXRESP      9
  13.  
  14. /*
  15.  * This is some funky defines that assures that global variables are
  16.  * declared only once.  (when globals.c includes this file with EXTERN
  17.  * defined.
  18.  */
  19.  
  20. #ifndef EXTERN
  21. #define EXTERN extern
  22. #define INIT(x)
  23. #else
  24. #define EXTERN
  25. #define INIT(x) =x
  26. #endif
  27.  
  28.  
  29. /*** Global variables ***/
  30.  
  31. EXTERN char         PrinterCommand[80];
  32. EXTERN char         PagerCommand[80];
  33. EXTERN char         TelnetCommand[80];
  34.  
  35. EXTERN WINDOW       *MainWindow;
  36. EXTERN GopherThing  OldGopher[MAXGOPHERS], Gopher[MAXGOPHERS];
  37. EXTERN char         sGClearscreen[40];
  38. EXTERN char         sGAudibleBell[8];
  39. EXTERN char         **sGCSOFields;
  40. EXTERN int          iGNumCSOFields;
  41.  
  42.  
  43. /*** Externals ***/
  44.  
  45. extern char **environ;
  46.  
  47.  
  48. /*** Prototypes and forward declarations ***/
  49.  
  50. void init_curses();
  51. void display_file(/* char *Filename */);
  52. void ZapCRLF();
  53. int  outchar();
  54.