Annotation of 43BSDTahoe/games/fortune/strfile.h, revision 1.1.1.1

1.1       root        1: /*
                      2:  * Copyright (c) 1986 Regents of the University of California.
                      3:  * All rights reserved.  The Berkeley software License Agreement
                      4:  * specifies the terms and conditions for redistribution.
                      5:  */
                      6: 
                      7: /* @(#)strfile.h       1.2 (Berkeley) 5/14/81 */
                      8: 
                      9: # define       MAXDELIMS       3
                     10: 
                     11: /*
                     12:  * bits for flag field
                     13:  */
                     14: 
                     15: # define       STR_RANDOM      0x1
                     16: # define       STR_ORDERED     0x2
                     17: 
                     18: struct strfile {               /* information table */
                     19:        unsigned int    str_numstr;             /* # of strings in the file */
                     20:        unsigned int    str_longlen;            /* length of longest string */
                     21:        unsigned int    str_shortlen;           /* length of shortest string */
                     22:        long            str_delims[MAXDELIMS];  /* delimiter markings */
                     23:        int             str_flags;              /* bit field for flags */
                     24: };
                     25: 
                     26: typedef struct strfile STRFILE;

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.