diff options
author | Arnold D. Robbins <arnold@skeeve.com> | 2012-12-19 15:26:36 +0200 |
---|---|---|
committer | Arnold D. Robbins <arnold@skeeve.com> | 2012-12-19 15:26:36 +0200 |
commit | e468705fb6c7f2b2384c20f320e617cdbd55238c (patch) | |
tree | 78b29b2f4e74a30688d23b1fba8dd4f58eec6dee /gawkapi.h | |
parent | ab76bb69f10de31c94d7b6855c85402673a4e5ed (diff) | |
download | egawk-e468705fb6c7f2b2384c20f320e617cdbd55238c.tar.gz egawk-e468705fb6c7f2b2384c20f320e617cdbd55238c.tar.bz2 egawk-e468705fb6c7f2b2384c20f320e617cdbd55238c.zip |
Move read_func from IOBUF into awk_input_buf_t.
Diffstat (limited to 'gawkapi.h')
-rw-r--r-- | gawkapi.h | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -152,6 +152,12 @@ typedef struct awk_input { char **rt_start, size_t *rt_len); /* + * No argument prototype on read_func to allow for older systems + * whose headers are not up to date. + */ + ssize_t (*read_func)(); + + /* * The close_func is called to allow the parser to free private data. * Gawk itself will close the fd unless close_func first sets it to * INVALID_HANDLE. |