#ifndef _IRDR_H_6e8fa713_ #define _IRDR_H_6e8fa713_ #include #include "valist.h" typedef enum { TT_EOF = 1, TT_SEP, TT_STR } TOKTYPE; typedef struct irdr IRDR; typedef struct token TOKEN; struct token { TOKTYPE type; char *str; } ; struct irdr { void (*init)(void **, VALIST *); void (*token)(void *, TOKEN *); void (*baddir)(void *, char *); void (*close)(void *); void (*err)(void *, FILE *); } ; extern IRDR i_stdio; extern IRDR i_cmdline; #endif