Home | History | Annotate | Download | only in utils

Lines Matching defs:LineInput

17 /* A LineInput is used to read input text, one line at a time,
18 * into a temporary buffer owner by the LineInput object.
20 typedef struct LineInput LineInput;
22 /* Create a LineInput object that reads from a FILE* object */
23 LineInput* lineInput_newFromStdFile( FILE* file );
31 * The returned string is owned by the LineInput object and its
32 * value will not persist any other call to any LineInput functions.
34 const char* lineInput_getLine( LineInput* input );
39 const char* lineInput_getLineAndSize( LineInput* input, size_t *pSize );
42 int lineInput_getLineNumber( LineInput* input );
45 int lineInput_isEof( LineInput* input );
47 /* Return the error condition of a LineInput object.
51 int lineInput_getError( LineInput* input );
53 /* Free a LineInput object. */
54 void lineInput_free( LineInput* input );