summaryrefslogtreecommitdiffstats
path: root/src/defs.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/defs.h')
-rw-r--r--src/defs.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/defs.h b/src/defs.h
index 522eed4..878823f 100644
--- a/src/defs.h
+++ b/src/defs.h
@@ -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);