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

Defined macros

A_INUSE defined in line 17; used 3 times
a_buf defined in line 13; used 4 times
a_flags defined in line 14; used 3 times
a_name defined in line 12; used 3 times
alias defined in line 11; never used
alias_lookup defined in line 22; used 2 times
alias_set defined in line 19; used 1 times
alias_unset defined in line 21; used 1 times
alias_walk defined in line 20; used 1 times

Usage of this include

Last modified: 1987-02-17
Generated: 2016-12-26
Generated by src2html V0.67
page hit count: 590
Valid CSS Valid XHTML 1.0 Strict