/* types.h */

#include "consts.h"
#include "version.h"

extern int	errno;

typedef struct file_node {
	char			*name;		/* file name */
	struct file_node	*next;
} FNODE;

typedef struct depend_node {
	char			*name;		/* file name */
	FNODE			*dlist;		/* list of files that depend
						   on this one */
	int			use_it;
	struct depend_node	*next;
} DNODE;

typedef struct opt_node {
	int			version;
	int			verbatim;
	int			exhaustive;
	int			interactive;
} OPTS;

typedef struct cpp_node {
	int			expr_val;
	int			in_else;
	struct cpp_node		*next;
} CPPN;

typedef struct sym_ent {
	char			*name;
	struct sym_ent		*next;
} SYMENT;

