home *** CD-ROM | disk | FTP | other *** search
/ Magazyn Amiga Shareware Floppies / ma64.dms / ma64.adf / FTPMount-1.0 / Source / globals.h < prev    next >
C/C++ Source or Header  |  1996-04-12  |  1KB  |  62 lines

  1. /*
  2.  * This source file is Copyright 1995 by Evan Scott.
  3.  * All rights reserved.
  4.  * Permission is granted to distribute this file provided no
  5.  * fees beyond distribution costs are levied.
  6.  */
  7.  
  8. #ifdef DECLARE_GLOBALS_HERE
  9. #define global
  10. #else
  11. #define global extern
  12. #endif
  13.  
  14. global struct ExecBase *SysBase;
  15. global struct DosLibrary *DOSBase;
  16. global struct IntuitionBase *IntuitionBase;
  17. global struct GfxBase *GfxBase;
  18. global struct Library *GadToolsBase;
  19. global struct Library *IconBase;
  20. global struct Library *LocaleBase;
  21.  
  22. global struct MsgPort *ftp_port, *tcp, *startup_sync, *broker_port;
  23. global struct DosList *ftp_device, *ftp_volume;
  24.  
  25. global BPTR ftpdir_lock, ftphosts_lock;
  26.  
  27. global struct tcpm *prime;    /* the numero uno tcp message */
  28.  
  29. global b8 unique_buffer[25];
  30.  
  31. global b16 ftp_port_number;
  32. global struct site_s *sites;
  33.  
  34. global b8 *anon_login;
  35.  
  36. global struct Message *local_msg;
  37. global struct MsgPort *local_port;
  38.  
  39. global struct gim *cancel_gim, *abort_gim, *disconnect_gim, *login_gim;
  40.  
  41. global struct status_message *status_mess;
  42. global struct MsgPort *status_control, *status_port;
  43.  
  44. global b32 darkpen, lightpen, textpen, fillpen;
  45.  
  46. global struct my_lock *orphaned_locks;
  47.  
  48. global b16 year;
  49.  
  50. global struct Locale *my_locale;
  51. global struct Catalog *cat;
  52.  
  53. global b8 *volume_name;
  54.  
  55. #define VERSION "1"
  56. #define REVISION "0"
  57.  
  58. #ifdef DECLARE_GLOBALS_HERE
  59. b8 *ver="$VER: FTPMount " VERSION "." REVISION " (" __DATE__ ")";
  60. #endif
  61.  
  62.