X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=src%2Fjournal-remote%2Fjournal-remote-parse.h;h=8499f4eb828cf7a325b19a07b31fb55f622dae99;hb=f4f01ec146d91cb6943828851d98eee6a1ad4dd9;hp=07d6ddb67feb5a4ad2abce61445a76f84f835f37;hpb=9ff48d0982fcb97923955685fe9fa4e0e67cb238;p=elogind.git diff --git a/src/journal-remote/journal-remote-parse.h b/src/journal-remote/journal-remote-parse.h index 07d6ddb67..8499f4eb8 100644 --- a/src/journal-remote/journal-remote-parse.h +++ b/src/journal-remote/journal-remote-parse.h @@ -38,10 +38,11 @@ typedef struct RemoteSource { bool passive_fd; char *buf; - size_t size; - size_t scanned; - size_t filled; - size_t data_size; + size_t size; /* total size of the buffer */ + 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 */ struct iovec_wrapper iovw;