home *** CD-ROM | disk | FTP | other *** search
- /*
- * %W% %E% %U% ncoast!bsa %Z%
- * %Z% Copyright (C) 1986 by Brandon S. Allbery, All Rights Reserved %Z%
- */
-
- struct user
- {
- char u_name[33]; /* user name */
- char u_pass[12]; /* password */
- short u_access; /* can killmsg() or shell() ? */
- char u_login[6]; /* Intended for system login name */
- short u_llen; /* line length, or default u_access */
- short u_nbull; /* highest numbered bulletin read */
- char u_lconf[33]; /* login conference (dft = general) */
- }
- ; /* current user */
-
- extern struct user user;
-
- /* access modes, in u_access */
-
- #define A_NONE 0 /* invalidated login */
- #define A_GUEST 1 /* read-only access */
- #define A_USER 2 /* standard access */
- #define A_FILES 3 /* can udl() */
- #define A_SYSTEM 4 /* can system() */
- #define A_WITNESS 5 /* Fairwitness */
- #define A_MKUSER 6 /* Special: user creator */
-
- struct _himsg
- {
- char hi_conf[33]; /* conference this record refers to */
- char hi_uns; /* unsubscribed to this conference */
- short hi_num; /* high message in this conference */
- struct _himsg *hi_next;
- }
- ;
-
- extern struct _himsg *hicnts;
-
- #define HI_SUBSCR 0
- #define HI_UNSUB 1
-