diff options
author | 2021-03-13 21:26:49 +0200 | |
---|---|---|
committer | 2021-03-13 21:26:49 +0200 | |
commit | c68444ff76eff88fbfa63a3ddbd6b9ce72337159 (patch) | |
tree | 90158ba6272fbb53c5df5852d3415493305c4deb /src/defs.h | |
parent | 4dcfe9c0a8b03915d93420d523d6bdc1884bd137 (diff) | |
download | algos-ld1-c68444ff76eff88fbfa63a3ddbd6b9ce72337159.tar.gz algos-ld1-c68444ff76eff88fbfa63a3ddbd6b9ce72337159.tar.bz2 algos-ld1-c68444ff76eff88fbfa63a3ddbd6b9ce72337159.zip |
complete core featureset with linked list files.
Signed-off-by: Gediminas Jakutis <gediminas@varciai.lt>
Diffstat (limited to 'src/defs.h')
-rw-r--r-- | src/defs.h | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -86,6 +86,7 @@ union nextoff { struct entry_l *next; void *nextaddr; ptrdiff_t offset; + off_t file_offset; int64_t spacer; /* make sure it is 8-byte-alligned on 32 bit pointer systems */ }; @@ -137,7 +138,8 @@ struct stream { enum streamtype type; char *name; size_t index; - struct entry_l *cnode; /* "current" node */ + struct entry_l *cnode; /* cached access */ + struct entry_l cnode_f; /* file access */ union cachewrap; struct settings *settings; struct entry_l *(*get)(struct stream * const, struct entry_l * const); |