# 2.11BSD#431 - /usr/src/new/jove/table.h

##### Macros

    last_word_p       X
    next_word         X
    table_top         X
    word_length       X
    word_text         X

##### struct's

    table             X
    word              X

##### typedef's

    Table             X
    Word              X

       1: /***************************************************************************
       2:  * This program is Copyright (C) 1986, 1987, 1988 by Jonathan Payne.  JOVE *
       3:  * is provided to you without charge, and with no warranty.  You may give  *
       4:  * away copies of JOVE, including sources, provided that this notice is    *
       5:  * included in all the files.                                              *
       6:  ***************************************************************************/
       7:
       8: typedef struct word Word;
       9: typedef struct table    Table;
      10:
      11: struct word {
      12:     Word    *wd_next;
      13:     char    *wd_text;
      14: };
      15:
      16: struct table {
      17:     Table   *t_next;
      18:     Word    *t_wordlist;
      19: };
      20:
      21: extern Table    *make_table();
      22: extern Word *word_in_table();
      23:
      24: #define table_top(table)    (table->t_wordlist)
      25: #define next_word(w)        (w->wd_next)
      26: #define last_word_p(w)      (w->wd_next == NIL)
      27: #define word_text(w)        (w->wd_text)
      28: #define word_length(w)      (strlen(word_text(w)))

#### Defined struct's

table defined in line 16; used 1 times

- in line 9

word defined in line 11; used 1 times

- in line 8

#### Defined typedef's

Table defined in line 9; used 9 times

- in line 21-17(2)
- in /usr/src/new/jove/insert.c line 677
- in /usr/src/new/jove/table.c line 11-16(4), 28, 41

Word defined in line 8; used 8 times

- in line 22-12(2), 18
- in /usr/src/new/jove/insert.c line 737
- in /usr/src/new/jove/table.c line 25-30(2), 43-47(2)

#### Defined macros

last_word_p defined in line 26; never used
next_word defined in line 25; used 3 times

- in /usr/src/new/jove/insert.c line 741
- in /usr/src/new/jove/table.c line 32, 49

table_top defined in line 24; used 4 times

- in /usr/src/new/jove/insert.c line 741
- in /usr/src/new/jove/table.c line 32, 49-50(2)

word_length defined in line 28; used 1 times

- in /usr/src/new/jove/insert.c line 742

word_text defined in line 27; used 4 times

- in line 28
- in /usr/src/new/jove/insert.c line 742
- in /usr/src/new/jove/table.c line 33, 48

#### Usage of this include

table.h used 2 times

- in /usr/src/new/jove/insert.c line 10
- in /usr/src/new/jove/table.c line 9

Last modified: 1988-03-15 Generated: 2016-12-26 | Generated by src2html V0.67 page hit count: 553 |