next up previous
Next: read_lhs_rhs() Up: Brain Volume I/O Handling Previous: delete_lhs_description()

new_description()  

Not used by user



Synopsis


description* new_description(void);


Description
A description structure is allocated and a pointer to it is returned. The structure elements are cleared/reset.

Usage

  description *d;
  d=new_description();
The description structure is
 struct descriptionnode { 
   struct descriptionnode  *next;
   char lhs[MAX_STR];   
   char rhs[MAX_STR];   
 };
typedef struct descriptionnode description;

Revision


1.0  29/10-96   Ulrik Kjems


Program listing






Ulrik Kjems
6/3/1998