home *** CD-ROM | disk | FTP | other *** search
- /* k 0158 16/04/91 */
- /* k 0159 19/04/91 */
- /* k 0168 01/06/91 */
- /* k 0181 15/06/91 */
- struct dcr {
- long free; /* first free element *//* @0158 */
- long fdg; /* first datagram *//* @0158 */
- long ldg; /* last datagram *//* @0158 */
- long eof; /* EOF offset *//* @0158 */
- short data_no; /* number of accepted datagrams *//* @0158 */
- short cur; /* current correlator *//* @0158 */
- char flag; /* flag */
- char rsrv[1]; /* *//* @0168 */
- short data_end; /* number of completed datagrams *//* @0168 */
- };
- struct dcr_el {
- long next; /* link field *//* @0158 */
- long prev; /* back feed *//* @0159 */
- short myno; /* datagram number */
- char flag; /* flag */
- char onet; /* area address */
- char area[8]; /* area name */
- char node[8]; /* node name */
- char name[8]; /* Lu name */
- char user[8]; /* user name */
- long size; /* size *//* @0158 */
- int year; /* year *//* @0157 */
- char mday; /* day */
- char mon; /* month */
- char min; /* minites *//* @0157 */
- char hour; /* hour */
- char hun; /* *//* @0157 */
- char sec; /* seconds */
- };
- #define DCR_NOUSER 1
- #define DCR_ERROR 2
- #define DCR_NO_RESOURCE 3
- #define DCR_NO_SPACE 4
- #define DCR_GOST 0x40
- #define DCR_NEW 0x04
- #define DCR_QRP 0x10
- #define DCR_DELETE 0x20
- #define DCR_EXIST 0x02
- #define DCR_FULL 0x01
- #define DCR_CSI 0x08