#ifndef DSTRUCT_H
#define DSTRUCT_H

#include <stdio.h>
#include <stdlib.h>
#include <string.h>

typedef struct var_t
{
  char *type;			/* max 10 chars , look at make_var() */
  char *name;			/* max 256 chars, look at make_var() */
  struct var_t *next;
} variable;

variable *var_list = NULL;

/* to print the body after declaration section */
void print_body (FILE *, FILE *);

/* to print declaration section */
void print_variables (FILE *);

char *make_var (char *, char *);

char *get_type(char *);


#endif


syntax highlighted by Code2HTML, v. 0.9.1