#ifndef _SYMTAB_H #define _SYMTAB_H typedef struct symtab_s { char *symname; /* pointer to the variable name */ int array_length; /* size of array on ARRAY variables */ int symtype; /* PIDF, STRUCT, INT, FLOAT, CHAR, STRING */ int symsize; /* size of data pointed to (not defined for STRUCT)*/ struct symtab_s *next; /* next variable in this (sub)symbol table */ struct symtab_s *prev; /* previous variable */ struct symtab_s *parent; /* next higher (sub)symbol table */ void *ptr; /* point to data value or subsymbol table */ } symtab; #endif