#ifndef DEF_READLINE_H #define DEF_READLINE_H #include char* freadln(FILE f); // minimal line-reading function. user must free the returned value. typedef struct _rdln_hist { int max; int n; char **str; } readline_history; char* readline(FILE f, readline_history *h); #endif