summaryrefslogtreecommitdiffstats
path: root/src/journal-remote/journal-upload.h
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2014-04-01 15:09:35 +0200
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2014-07-16 04:23:48 +0200
commit722b6795655149a68277b3cffeba711e1d440e5a (patch)
treefe90567fd0d85e994cb65ce2cf996330ddb2f44e /src/journal-remote/journal-upload.h
parentjournal-upload: use journal as the source (diff)
downloadsystemd-722b6795655149a68277b3cffeba711e1d440e5a.tar.xz
systemd-722b6795655149a68277b3cffeba711e1d440e5a.zip
journal-upload: make state persistent
Diffstat (limited to 'src/journal-remote/journal-upload.h')
-rw-r--r--src/journal-remote/journal-upload.h4
1 files changed, 3 insertions, 1 deletions
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)