home *** CD-ROM | disk | FTP | other *** search
/ Usenet 1994 October / usenetsourcesnewsgroupsinfomagicoctober1994disk2.iso / unix / volume28 / yapp / part01 / globals.h < prev    next >
Encoding:
C/C++ Source or Header  |  1994-05-29  |  1.2 KB  |  39 lines

  1. /* GLOBALS.H: @(#)globals.h 1.2 94/01/20 (c)1993 thalerd */
  2.  
  3. /* GLOBAL VARS */
  4. #include <stdio.h>
  5. #include <sys/types.h>
  6.  
  7. /* Status info */
  8. extern flag_t        flags;
  9. extern unsigned char mode;
  10. extern flag_t        status;
  11.  
  12. /* Conference info */
  13. extern short   current;     /* current index to cflist */
  14. extern short   confidx;     /* current index to conflist */
  15. extern short   joinidx;     /* current index to conflist */
  16. extern char  **cflist;                    /* User's cflist */
  17. extern char  **fw;                        /* List of FW's for current conf */
  18.  
  19. /* System info */
  20. extern char     bbsdir[MAX_LINE_LENGTH];
  21. extern char     helpdir[MAX_LINE_LENGTH];
  22. extern assoc_t  conflist[MAX_LIST_LENGTH]; /* System table of conferences */
  23. extern short    maxconf;       /* maximum index to conflist */
  24. extern option_t option[];
  25. extern char     hostname[MAX_LINE_LENGTH];
  26.  
  27. /* Info on the user */
  28. extern uid_t   uid;
  29. extern char    login[L_cuserid];
  30. extern char    home[MAX_LINE_LENGTH];  /* User's home directory */
  31. extern char    work[MAX_LINE_LENGTH];  /* User's work directory */
  32.  
  33. /* Item info */
  34. extern status_t    st_glob,
  35.                    st_new;
  36. extern response_t  re[MAX_RESPONSES];
  37. extern sumentry_t  sum[MAX_ITEMS];
  38. extern partentry_t part[MAX_ITEMS];
  39.