home *** CD-ROM | disk | FTP | other *** search
/ The Best Internet Programs / BESTINTERNET.bin / latest / ged2ht20 / node.h < prev    next >
Text File  |  1995-04-07  |  553b  |  19 lines

  1. /*
  2.  * Structure of a generic GEDCOM node
  3.  */
  4.  
  5. typedef struct node {
  6.   long lineno;            /* Source line number */
  7.   int  level;            /* Level number at which line appears */
  8.   char *xref;            /* Cross-reference ID */
  9.   struct tag *tag;        /* tag structure for tag */
  10.   char *line;            /* The whole line of input */
  11.   char *rest;            /* The rest of the line after the tag */
  12.   void *hook;            /* Hook to corresponding database node */
  13.   struct node *children;    /* List of subsidiary nodes */
  14.   struct node *siblings;    /* List of siblings */
  15. } NODE;
  16.  
  17. void out_of_memory();
  18.  
  19.