Wild Life  2.30
 All Data Structures Files Functions Variables Typedefs Macros
templates.c
Go to the documentation of this file.
1 
6 /* Copyright 1991 Digital Equipment Corporation.
7  * All Rights Reserved.
8 *****************************************************************/
9 
10 #include "defs.h"
11 
12 /******** next things have to be defined in a header file */
13 
25 long get_arg (ptr_psi_term g, ptr_psi_term *arg, char *number)
26 {
27  ptr_node n;
28 
29  if ((n = find (FEATCMP, number, g->attr_list)))
30  return (*arg = (ptr_psi_term) n->data) ? TRUE: FALSE;
31  else
32  return FALSE;
33 }
#define FEATCMP
indicates to use featcmp for comparison (in trees.c)
Definition: def_const.h:979
includes
GENERIC data
Definition: def_struct.h:201
long get_arg(ptr_psi_term g, ptr_psi_term *arg, char *number)
get_arg
Definition: templates.c:25
#define TRUE
Standard boolean.
Definition: def_const.h:268
#define FALSE
Standard boolean.
Definition: def_const.h:275
ptr_node find(long comp, char *keystr, ptr_node tree)
find
Definition: trees.c:394
ptr_node attr_list
Definition: def_struct.h:187