From 722b6795655149a68277b3cffeba711e1d440e5a Mon Sep 17 00:00:00 2001 From: Zbigniew Jędrzejewski-Szmek Date: Tue, 1 Apr 2014 09:09:35 -0400 Subject: journal-upload: make state persistent --- src/journal-remote/journal-upload.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/journal-remote/journal-upload.h') diff --git a/src/journal-remote/journal-upload.h b/src/journal-remote/journal-upload.h index f94d9ac69e..0adb915c68 100644 --- a/src/journal-remote/journal-upload.h +++ b/src/journal-remote/journal-upload.h @@ -43,8 +43,10 @@ typedef struct Uploader { size_t field_pos, field_length; /* general metrics */ + const char *state_file; + size_t entries_sent; - char *last_cursor; + char *last_cursor, *current_cursor; } Uploader; #define JOURNAL_UPLOAD_POLL_TIMEOUT (10 * USEC_PER_SEC) -- cgit v1.2.3