# 2.11BSD#431 - /usr/src/ucb/window/var.h

##### Variables

    var_head          X

##### Macros

    var_lookup        X
    var_set           X
    var_setnum        X
    var_setstr        X
    var_unset         X
    var_walk          X

##### struct's

    var               X

       1: /*
       2:  * @(#)var.h	3.7 4/24/85
       3:  */
       4:
       5: /*
       6:  * Copyright (c) 1983 Regents of the University of California,
       7:  * All rights reserved.  Redistribution permitted subject to
       8:  * the terms of the Berkeley Software License Agreement.
       9:  */
      10:
      11: struct var {
      12:     struct var *r_left;
      13:     struct var *r_right;
      14:     char *r_name;
      15:     struct value r_val;
      16: };
      17:
      18: struct var *var_set1();
      19: struct var *var_setstr1();
      20: struct var *var_setnum1();
      21: struct var **var_lookup1();
      22:
      23: #define var_set(n, v)       var_set1(&var_head, n, v)
      24: #define var_setstr(n, s)    var_setstr1(&var_head, n, s)
      25: #define var_setnum(n, i)    var_setnum1(&var_head, n, i)
      26: #define var_unset(n)        var_unset1(&var_head, n)
      27: #define var_lookup(n)       (*var_lookup1(&var_head, n))
      28: #define var_walk(f, a)      var_walk1(var_head, f, a)
      29:
      30: struct var *var_head;       /* secret, shhh */

#### Defined variables

var_head defined in line 30; used 6 times

- in line 23-28(6)

#### Defined struct's

var defined in line 11; used 50 times

- in line 12-21(12), 30(2)
- in /usr/src/ucb/window/lcmd2.c line 180(2)
- in /usr/src/ucb/window/parser5.c line 83(2)
- in /usr/src/ucb/window/var.c line 17-24(8), 33(4), 53-55(4), 66-68(4), 80-84(6), 99-101(4), 118(2)

#### Defined macros

var_lookup defined in line 27; used 1 times

- in /usr/src/ucb/window/parser5.c line 83

var_set defined in line 23; used 1 times

- in /usr/src/ucb/window/parser2.c line 193

var_setnum defined in line 25; used 8 times

- in /usr/src/ucb/window/startup.c line 50-58(8)

var_setstr defined in line 24; used 1 times

- in /usr/src/ucb/window/startup.c line 57

var_unset defined in line 26; used 1 times

- in /usr/src/ucb/window/lcmd1.c line 308

var_walk defined in line 28; used 1 times

- in /usr/src/ucb/window/lcmd2.c line 173

#### Usage of this include

var.h used 6 times

- in /usr/src/ucb/window/lcmd1.c line 15
- in /usr/src/ucb/window/lcmd2.c line 14
- in /usr/src/ucb/window/parser2.c line 12
- in /usr/src/ucb/window/parser5.c line 12
- in /usr/src/ucb/window/startup.c line 13
- in /usr/src/ucb/window/var.c line 12

Last modified: 1987-02-17 Generated: 2016-12-26 | Generated by src2html V0.67 page hit count: 516 |