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

##### Variables

    alias_head        X

##### Macros

    A_INUSE           X
    a_buf             X
    a_flags           X
    a_name            X
    alias             X
    alias_lookup      X
    alias_set         X
    alias_unset       X
    alias_walk        X

       1: /*
       2:  * @(#)alias.h	3.4 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: #define alias var
      12: #define a_name r_name
      13: #define a_buf r_val.v_str
      14: #define a_flags r_val.v_type
      15:
      16:     /* a_flags bits, must not interfere with v_type values */
      17: #define A_INUSE     0x010   /* already inuse */
      18:
      19: #define alias_set(n, s)     var_setstr1(&alias_head, n, s)
      20: #define alias_walk(f, a)    var_walk1(alias_head, f, a)
      21: #define alias_unset(n)      var_unset1(&alias_head, n)
      22: #define alias_lookup(n)     (*var_lookup1(&alias_head, n))
      23:
      24: struct var *alias_head;

#### Defined variables

alias_head defined in line 24; used 4 times

- in line 19-22(4)

#### Defined macros

A_INUSE defined in line 17; used 3 times

- in /usr/src/ucb/window/parser2.c line 157-163(3)

a_buf defined in line 13; used 4 times

- in /usr/src/ucb/window/lcmd2.c line 262, 291, 302
- in /usr/src/ucb/window/parser2.c line 161

a_flags defined in line 14; used 3 times

- in /usr/src/ucb/window/parser2.c line 157-163(3)

a_name defined in line 12; used 3 times

- in /usr/src/ucb/window/lcmd2.c line 302
- in /usr/src/ucb/window/parser2.c line 37, 158

alias defined in line 11; never used
alias_lookup defined in line 22; used 2 times

- in /usr/src/ucb/window/lcmd2.c line 261
- in /usr/src/ucb/window/parser2.c line 36

alias_set defined in line 19; used 1 times

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

alias_unset defined in line 21; used 1 times

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

alias_walk defined in line 20; used 1 times

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

#### Usage of this include

alias.h used 2 times

- in /usr/src/ucb/window/lcmd2.c line 17
- in /usr/src/ucb/window/parser2.c line 14

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