diff options
author | wrmr | 2024-11-03 02:48:05 -0500 |
---|---|---|
committer | wrmr | 2024-11-03 02:48:05 -0500 |
commit | 3e9c75318b0eb1114fb7361dbc467990674804b6 (patch) | |
tree | 504efbb2fe56c4700055ec584170cb77237c732a /nav.h | |
parent | 610808a5902adad751a4acdbcc310803a51fed5d (diff) |
start working on fetching
Diffstat (limited to 'nav.h')
-rw-r--r-- | nav.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/nav.h b/nav.h index baefba9..69f666a 100644 --- a/nav.h +++ b/nav.h @@ -8,12 +8,20 @@ struct nav_state { size_t histc, cur_doc; struct doc histv[HIST_MAX]; size_t cur_ofs[HIST_MAX]; + enum protocol prot_default; }; void nav_init(struct nav_state *ns); void nav_fini(struct nav_state *ns); + +void nav_next(struct nav_state *ns); +void nav_prev(struct nav_state *ns); + void nav_pg_up(struct nav_state *ns); void nav_pg_down(struct nav_state *ns); void nav_redraw(struct nav_state *ns); +int nav_to(struct nav_state *ns, const char *url); +int nav_link_nr(struct nav_state *ns, unsigned long link_nr); + #endif |