mirror of
https://github.com/johnkerl/miller.git
synced 2026-07-22 07:30:43 +00:00
16 lines
578 B
C
16 lines
578 B
C
// ================================================================
|
|
// Abstraction layer for stdio file-read logic, when ingesting entirely into memory.
|
|
// ================================================================
|
|
|
|
#ifndef FILE_INGESTOR_STDIO_H
|
|
#define FILE_INGESTOR_STDIO_H
|
|
|
|
typedef struct _file_ingestor_stdio_state_t {
|
|
char* sof;
|
|
char* eof;
|
|
} file_ingestor_stdio_state_t;
|
|
|
|
void* file_ingestor_stdio_vopen(void* pvstate, char* prepipe, char* file_name);
|
|
void file_ingestor_stdio_vclose(void* pvstate, void* pvhandle, char* prepipe);
|
|
|
|
#endif // FILE_INGESTOR_STDIO_H
|