chiark / gitweb /
journal-remote: fix saving of binary fields
[elogind.git] / src / journal-remote / journal-remote-parse.h
index 8499f4eb828cf7a325b19a07b31fb55f622dae99..22db550913c50c481cc2361ef4a4023f25e230d1 100644 (file)
@@ -42,7 +42,9 @@ typedef struct RemoteSource {
         size_t offset;     /* offset to the beginning of live data in the buffer */
         size_t scanned;    /* number of bytes since the beginning of data without a newline */
         size_t filled;     /* total number of bytes in the buffer */
-        size_t data_size;  /* size of the binary data chunk being processed */
+
+        size_t field_len;  /* used for binary fields: the field name length */
+        size_t data_size;  /* and the size of the binary data chunk being processed */
 
         struct iovec_wrapper iovw;