|
CX Framework
Cross-platform C utility framework
|
Line-oriented stream buffer consumer. More...
#include <cx/serialize/streambuf.h>Go to the source code of this file.
Typedefs | |
| typedef bool(* | lparseLineCB) (strref line, void *ctx) |
Enumerations | |
| enum | LINEPARSER_FLAGS_ENUM { LPARSE_Auto = 0 , LPARSE_CRLF = 1 , LPARSE_LF = 2 , LPARSE_Mixed = 3 , LPARSE_EOL_MASK = 3 , LPARSE_EOL_COUNT = 4 , LPARSE_IncludeEOL = 8 , LPARSE_NoIncomplete = 16 } |
| Line parser configuration flags. More... | |
Functions | |
| bool | lparseRegisterPull (StreamBuffer *sb, uint32 flags) |
| bool | lparseLine (StreamBuffer *sb, string *out) |
| bool | lparseRegisterPush (StreamBuffer *sb, lparseLineCB pline, sbufCleanupCB pcleanup, void *ctx, uint32 flags) |
Line-oriented stream buffer consumer.
Definition in file lineparse.h.