# 2.11BSD#431 - /usr/src/games/fortune/strfile.h

##### Macros

    MAXDELIMS         X
    STR_ORDERED       X
    STR_RANDOM        X

##### struct's

    strfile           X

##### typedef's

    STRFILE           X

       1: /* @(#)strfile.h	1.2 (Berkeley) 5/14/81 */
       2:
       3: # define    MAXDELIMS   3
       4:
       5: /*
       6:  * bits for flag field
       7:  */
       8:
       9: # define    STR_RANDOM  0x1
      10: # define    STR_ORDERED 0x2
      11:
      12: struct  strfile {       /* information table */
      13:     unsigned int    str_numstr;     /* # of strings in the file */
      14:     unsigned int    str_longlen;        /* length of longest string */
      15:     unsigned int    str_shortlen;       /* length of shortest string */
      16:     long        str_delims[MAXDELIMS];  /* delimiter markings */
      17:     int     str_flags;      /* bit field for flags */
      18: };
      19:
      20: typedef struct strfile  STRFILE;

#### Defined struct's

strfile defined in line 12; used 2 times

- in line 20(2)

#### Defined typedef's

STRFILE defined in line 20; used 4 times

- in /usr/src/games/fortune/fortune.c line 42
- in /usr/src/games/fortune/strfile.c line 70
- in /usr/src/games/fortune/unstr.c line 37, 101

#### Defined macros

MAXDELIMS defined in line 3; used 2 times

- in line 16
- in /usr/src/games/fortune/strfile.c line 159

STR_ORDERED defined in line 10; used 3 times

- in /usr/src/games/fortune/fortune.c line 111, 128
- in /usr/src/games/fortune/strfile.c line 307

STR_RANDOM defined in line 9; used 3 times

- in /usr/src/games/fortune/fortune.c line 111, 128
- in /usr/src/games/fortune/strfile.c line 360

#### Usage of this include

strfile.h used 3 times

- in /usr/src/games/fortune/fortune.c line 6
- in /usr/src/games/fortune/strfile.c line 3
- in /usr/src/games/fortune/unstr.c line 2

Last modified: 1986-01-10 Generated: 2016-12-26 | Generated by src2html V0.67 page hit count: 837 |