]>
git.ipfire.org Git - thirdparty/systemd.git/blob - src/journal-remote/journal-remote-parse.h
1 /* SPDX-License-Identifier: LGPL-2.1+ */
6 #include "journal-importer.h"
7 #include "journal-remote-write.h"
9 typedef struct RemoteSource
{
10 JournalImporter importer
;
14 sd_event_source
*event
;
15 sd_event_source
*buffer_event
;
18 RemoteSource
* source_new(int fd
, bool passive_fd
, char *name
, Writer
*writer
);
19 void source_free(RemoteSource
*source
);
20 int process_source(RemoteSource
*source
, bool compress
, bool seal
);