home *** CD-ROM | disk | FTP | other *** search
/ Programmer 7500 / MAX_PROGRAMMERS.iso / CLIPPER / MISC / GAPCDR.ZIP / GAPCDR.H < prev    next >
Encoding:
C/C++ Source or Header  |  1989-03-17  |  5.5 KB  |  111 lines

  1. /*
  2.    Copyright (C) 1988,1989 The GAP Development Company
  3.  
  4.    All Rights Reserved
  5.    
  6.    This source code is considered to be confidential information proprietary
  7.    to The GAP Development Company.  It is prohibited and punishable by law
  8.    to use or duplicate any part of this information.
  9.  
  10.  
  11.    GAPCDR.H
  12.  
  13.    Header file for GAPCDR modules
  14.  
  15.    Defines external declarations and includes gastruc.h which defines
  16.    global structures and function prototypes.
  17.  
  18. */
  19.  
  20.  
  21. #include "gapstruc.h"
  22.  
  23.    /*********************************************************************/
  24.    /*  Variables initialized by reading DOOR.SYS                        */
  25.    /*********************************************************************/
  26.  
  27.    extern int local;              /* 0 = remote user, 1 = local user  */
  28.    extern int port;               /* com port being used              */
  29.    extern int userbaud;           /* remote user's bps rate           */
  30.    extern int parity;             /* actually data bits, not used     */
  31.    extern int node;               /* node number in use, 0 = single   */
  32.    extern int baud;               /* DTE bps rate                     */
  33.    extern int screen;             /* 0 = screen off, 1 = screen on    */
  34.    extern int printer;            /* 0 = printer off, 1 = printer on  */
  35.    extern int bell;               /* 0 = page bell off, 1 = bell on   */
  36.    extern int alarm;              /* 0 = caller alarm off, 1 = on     */
  37.    extern int level;              /* user's security level            */
  38.    extern int minsleft;           /* minutes left at door start       */
  39.    extern int color;              /* 0 = no color, 1 = color          */
  40.    extern int page;               /* page length                      */
  41.    extern int expert;             /* 0 = novice, 1 = expert           */
  42.  
  43.    extern long timeson;           /* # of times on                    */
  44.    extern long recnum;            /* user's record number             */
  45.    extern long uploads;           /* total number of uploads          */
  46.    extern long downloads;         /* total number of downloads        */
  47.    extern long upbytes;           /* total upload bytes               */
  48.    extern long downbytes;         /* total download bytes             */
  49.    extern long maxbytes;          /* max bytes can download           */
  50.  
  51.    extern char username   [];     /* user's full name                 */
  52.    extern char fname      [];     /* user's first name                */
  53.    extern char lname      [];     /* user's last name                 */
  54.    extern char city       [];     /* user's home town                 */
  55.    extern char hphone     [];     /* user's home phone number         */
  56.    extern char bphone     [];     /* user's business phone number     */
  57.    extern char password   [];     /* user's password                  */
  58.    extern char lastdate   [];     /* last date user was on            */
  59.    extern char subscrip   [];     /* date user's subscription expires */
  60.  
  61.  
  62.    /*********************************************************************/
  63.    /*  global variables                                                 */
  64.    /*********************************************************************/
  65.  
  66.    extern dopcb;                  /* if 1, then BBS is a pcb system      */
  67.    extern noup;                   /* if 1, dont uppercase characters     */
  68.    extern char fileshow;          /* 1 if showing file, 0 if not         */
  69.    extern char redisplay;         /* true if wants to start over         */
  70.    extern char usemore1;          /* true if showing a file              */
  71.    extern char view;              /* true if want a more prompt          */
  72.    extern char endview;           /* true if dont want to see any more   */
  73.    extern char NS;                /* true if in Non Stop mode            */
  74.    extern char instatus;          /* if doing status line,bypas our BIOS */
  75.    extern char chat;              /* true if chatting with user          */
  76.    extern char clockon;           /* 0 no clock, 1 display clock         */
  77.    extern int timeleft;           /* time user has left                  */
  78.    extern int timecredit;
  79.    extern int lines;              /* # of lines currently displayed      */
  80.    extern char anystring   [];    /* global garbage collector            */
  81.    extern char maindir     [];    /* path to the BBS main dir            */
  82.    extern char gendir      [];    /* path to the BBS gen dir             */
  83.    extern char sysname     [];    /* sysop's name                        */
  84.    extern char strtime     [];    /* holds the time string               */
  85.    extern char curtime     [];    /* holds the current time as a string  */
  86.    extern char bbs_dir     [];    /* path to BBS default dir             */
  87.    extern char board_name  [];    /* name of the BBS                     */
  88.  
  89.    extern long temptime;          /* for calculating time out            */
  90.    extern long timenow;           /* long integer for current time       */
  91.    extern long starttime;         /* long integer for time door opened   */
  92.  
  93.  
  94.    extern char  BLACK [];         /* ANSI color strings                  */
  95.    extern char  RED [];
  96.    extern char  GREEN [];
  97.    extern char  BROWN []; 
  98.    extern char  BLUE [];
  99.    extern char  MAGENTA []; 
  100.    extern char  CYAN [];
  101.    extern char  WHITE [];
  102.    extern char  BBLACK [];
  103.    extern char  BRED [];
  104.    extern char  BGREEN [];
  105.    extern char  YELLOW [];
  106.    extern char  BBLUE [];
  107.    extern char  BMAGENTA [];
  108.    extern char  BCYAN [];
  109.    extern char  BWHITE [];
  110.  
  111.