Dillo v3.1.1-91-g6d5b3ee3
Loading...
Searching...
No Matches
nav.h
Go to the documentation of this file.
1#ifndef __NAV_H__
2#define __NAV_H__
3
4#include "bw.h"
5
6/*
7 * useful macros for the navigation stack
8 */
9#define NAV_UIDX(bw, i) a_Nav_get_uidx(bw, i)
10#define NAV_TOP_UIDX(bw) a_Nav_get_top_uidx(bw)
11
12#ifdef __cplusplus
13extern "C" {
14#endif /* __cplusplus */
15
16void a_Nav_redirection0(BrowserWindow *bw, const DilloUrl *new_url);
17void a_Nav_push(BrowserWindow *bw, const DilloUrl *url,
18 const DilloUrl *requester);
24void a_Nav_jump(BrowserWindow *bw, int offset, int new_bw);
31int a_Nav_get_uidx(BrowserWindow *bw, int i);
33
35 const DilloUrl *url, const char *filename);
36int a_Nav_get_buf(const DilloUrl *Url, char **PBuf, int *BufSize);
37void a_Nav_unref_buf(const DilloUrl *Url);
38const char *a_Nav_get_content_type(const DilloUrl *url);
39void a_Nav_set_vsource_url(const DilloUrl *Url);
40
41#ifdef __cplusplus
42}
43#endif /* __cplusplus */
44
45#endif /* __NAV_H__ */
46
47
void a_Nav_cancel_expect_if_eq(BrowserWindow *bw, const DilloUrl *url)
Definition nav.c:260
int a_Nav_stack_ptr(BrowserWindow *bw)
Definition nav.c:55
void a_Nav_redirection0(BrowserWindow *bw, const DilloUrl *new_url)
Definition nav.c:422
void a_Nav_forw(BrowserWindow *bw)
Definition nav.c:452
const char * a_Nav_get_content_type(const DilloUrl *url)
Definition nav.c:596
int a_Nav_get_top_uidx(BrowserWindow *bw)
Definition nav.c:72
void a_Nav_home(BrowserWindow *bw)
Definition nav.c:466
void a_Nav_cancel_expect(BrowserWindow *bw)
Definition nav.c:247
void a_Nav_expect_done(BrowserWindow *bw)
Definition nav.c:272
void a_Nav_free(BrowserWindow *bw)
Definition nav.c:43
void a_Nav_jump(BrowserWindow *bw, int offset, int new_bw)
Definition nav.c:525
void a_Nav_back(BrowserWindow *bw)
Definition nav.c:438
int a_Nav_get_uidx(BrowserWindow *bw, int i)
Definition nav.c:63
void a_Nav_reload(BrowserWindow *bw)
Definition nav.c:516
void a_Nav_repush(BrowserWindow *bw)
Definition nav.c:393
void a_Nav_unref_buf(const DilloUrl *Url)
Definition nav.c:588
int a_Nav_stack_size(BrowserWindow *bw)
Definition nav.c:98
void a_Nav_set_vsource_url(const DilloUrl *Url)
Definition nav.c:604
void a_Nav_save_url(BrowserWindow *bw, const DilloUrl *url, const char *filename)
Definition nav.c:567
int a_Nav_get_buf(const DilloUrl *Url, char **PBuf, int *BufSize)
Definition nav.c:580
void a_Nav_push(BrowserWindow *bw, const DilloUrl *url, const DilloUrl *requester)
Definition nav.c:342
Contains the specific data for a single window.
Definition bw.h:27
Definition url.h:88