summaryrefslogtreecommitdiff
path: root/colm/input.h
diff options
context:
space:
mode:
Diffstat (limited to 'colm/input.h')
-rw-r--r--colm/input.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/colm/input.h b/colm/input.h
index 13cd48c0..59473932 100644
--- a/colm/input.h
+++ b/colm/input.h
@@ -88,7 +88,8 @@ typedef struct _StreamImpl StreamImpl;
struct StreamFuncs
{
- /* Data. */
+ int (*getParseBlock)( struct _FsmRun *fsmRun, StreamImpl *ss, int offset, char *dest, int length, int *copied );
+
int (*getData)( struct _FsmRun *fsmRun, StreamImpl *ss, int offset, char *dest, int length, int *copied );
int (*consumeData)( StreamImpl *ss, int length );
@@ -168,6 +169,7 @@ void initConsFuncs();
/* The input stream interface. */
int _getData( struct _FsmRun *fsmRun, StreamImpl *in, int offset, char *dest, int length, int *copied );
+int _getParseBlock( struct _FsmRun *fsmRun, StreamImpl *in, int offset, char *dest, int length, int *copied );
int _consumeData( StreamImpl *in, int length );
int _undoConsumeData( struct _FsmRun *fsmRun, StreamImpl *is, const char *data, int length );