summaryrefslogtreecommitdiff
path: root/src/journal-remote/journal-upload.h
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2014-04-01 09:09:35 -0400
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2014-07-15 22:23:48 -0400
commit722b6795655149a68277b3cffeba711e1d440e5a (patch)
treefe90567fd0d85e994cb65ce2cf996330ddb2f44e /src/journal-remote/journal-upload.h
parenteacbb4d33e2bb5c54311544851140efe3dd0f774 (diff)
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)