#include "internal/stack_line_reader.h"
#include <assert.h>
#include <errno.h>
#include <stdio.h>
#include "internal/filesystem.h"
Functions | |
void | StackLineReader_Initialize (StackLineReader *reader, int fd) |
static int | LoadFullBuffer (StackLineReader *reader) |
static int | LoadMore (StackLineReader *reader) |
static int | IndexOfEol (StackLineReader *reader) |
static int | BringToFrontAndLoadMore (StackLineReader *reader) |
static void | SkipToNextLine (StackLineReader *reader) |
static LineResult | CreateLineResult (bool eof, bool full_line, StringView view) |
static LineResult | CreateEOFLineResult (StringView view) |
static LineResult | CreateTruncatedLineResult (StringView view) |
static LineResult | CreateValidLineResult (StringView view) |
LineResult | StackLineReader_NextLine (StackLineReader *reader) |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
void StackLineReader_Initialize | ( | StackLineReader * | reader, |
int | fd | ||
) |
LineResult StackLineReader_NextLine | ( | StackLineReader * | reader | ) |