summaryrefslogtreecommitdiff
path: root/src/input.h
diff options
context:
space:
mode:
authorAdrian Thurston <thurston@colm.net>2018-06-18 15:27:54 +0700
committerAdrian Thurston <thurston@colm.net>2018-06-18 15:27:54 +0700
commit622efddde25cbcaa82e6ac2b2d533e41987d07fb (patch)
tree1b938bfa18b07e18e95be0611b0c6e1c204e451d /src/input.h
parentede4dab4be16e03d28b779e9e56e86a56be27199 (diff)
downloadcolm-622efddde25cbcaa82e6ac2b2d533e41987d07fb.tar.gz
wrapped eof_sent in stream funcs
Diffstat (limited to 'src/input.h')
-rw-r--r--src/input.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/input.h b/src/input.h
index 1c2dae61..849dbeca 100644
--- a/src/input.h
+++ b/src/input.h
@@ -107,6 +107,8 @@ struct stream_funcs \
void (*close_stream)( struct stream_impl *si ); \
void (*print_tree)( struct colm_program *prg, struct colm_tree **sp, \
struct stream_impl *impl, struct colm_tree *tree, int trim ); \
+ char (*get_eof_sent)( struct stream_impl *impl ); \
+ void (*set_eof_sent)( struct stream_impl *impl, char eof_sent ); \
}
DEF_STREAM_FUNCS( stream_funcs, stream_impl );