summaryrefslogtreecommitdiff
path: root/nav.h
diff options
context:
space:
mode:
authorWormHeamer2026-02-01 16:11:51 -0500
committerWormHeamer2026-02-01 16:11:51 -0500
commit4ba9e0cd583e848c75acc07f15feb85bdb8b8dac (patch)
tree949c07cfcbc27f0f5b2e116e49b1939da0a69e63 /nav.h
parentb1ada414e265a429fcd538efdd26efb8c9c6b697 (diff)
nav_docHEADmaster
i never committed this?
Diffstat (limited to 'nav.h')
-rw-r--r--nav.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/nav.h b/nav.h
index 769096f..393a853 100644
--- a/nav.h
+++ b/nav.h
@@ -5,10 +5,14 @@
#include "net.h"
#define HIST_MAX 32
+struct nav_doc {
+ struct doc doc;
+ size_t offset;
+};
+
struct nav_state {
size_t histc, cur_doc;
- struct doc histv[HIST_MAX];
- size_t cur_ofs[HIST_MAX];
+ struct nav_doc histv[HIST_MAX];
enum protocol prot_default;
};