Home
last modified time | relevance | path

Searched refs:JournalImporter (Results 1 – 5 of 5) sorted by relevance

/systemd-251/src/shared/
Djournal-importer.h28 typedef struct JournalImporter { struct
46 } JournalImporter; argument
49 #define JOURNAL_IMPORTER_MAKE(_fd) (JournalImporter) JOURNAL_IMPORTER_INIT(_fd)
51 void journal_importer_cleanup(JournalImporter *);
52 int journal_importer_process_data(JournalImporter *);
53 int journal_importer_push_data(JournalImporter *, const char *data, size_t size);
54 void journal_importer_drop_iovw(JournalImporter *);
55 bool journal_importer_eof(const JournalImporter *);
57 static inline size_t journal_importer_bytes_remaining(const JournalImporter *imp) { in journal_importer_bytes_remaining()
Djournal-importer.c27 void journal_importer_cleanup(JournalImporter *imp) { in journal_importer_cleanup()
38 static char* realloc_buffer(JournalImporter *imp, size_t size) { in realloc_buffer()
50 static int get_line(JournalImporter *imp, char **line, size_t *size) { in get_line()
113 static int fill_fixed_size(JournalImporter *imp, void **data, size_t size) { in fill_fixed_size()
152 static int get_data_size(JournalImporter *imp) { in get_data_size()
175 static int get_data_data(JournalImporter *imp, void **data) { in get_data_data()
189 static int get_data_newline(JournalImporter *imp) { in get_data_newline()
213 static int process_special_field(JournalImporter *imp, char *line) { in process_special_field()
281 int journal_importer_process_data(JournalImporter *imp) { in journal_importer_process_data()
424 int journal_importer_push_data(JournalImporter *imp, const char *data, size_t size) { in journal_importer_push_data()
[all …]
/systemd-251/src/test/
Dtest-journal-importer.c24 _cleanup_(journal_importer_cleanup) JournalImporter imp = JOURNAL_IMPORTER_INIT(-1); in TEST()
55 _cleanup_(journal_importer_cleanup) JournalImporter imp = JOURNAL_IMPORTER_INIT(-1); in TEST()
/systemd-251/src/journal-remote/
Djournal-remote-parse.h10 JournalImporter importer;
/systemd-251/src/coredump/
Dcoredump.c1329 …_cleanup_(journal_importer_cleanup) JournalImporter importer = JOURNAL_IMPORTER_INIT(STDIN_FILENO); in process_backtrace()