From 4ba9e0cd583e848c75acc07f15feb85bdb8b8dac Mon Sep 17 00:00:00 2001 From: WormHeamer Date: Sun, 1 Feb 2026 16:11:51 -0500 Subject: nav_doc i never committed this? --- nav.h | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'nav.h') 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; }; -- cgit v1.2.3