Dillo v3.1.1-119-g140d9ebd
Loading...
Searching...
No Matches
nav.h File Reference
#include "bw.h"
Include dependency graph for nav.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define NAV_UIDX(bw, i)   a_Nav_get_uidx(bw, i)
 
#define NAV_TOP_UIDX(bw)   a_Nav_get_top_uidx(bw)
 

Functions

void a_Nav_redirection0 (BrowserWindow *bw, const DilloUrl *new_url)
 
void a_Nav_push (BrowserWindow *bw, const DilloUrl *url, const DilloUrl *requester)
 
void a_Nav_repush (BrowserWindow *bw)
 
void a_Nav_back (BrowserWindow *bw)
 
void a_Nav_forw (BrowserWindow *bw)
 
void a_Nav_home (BrowserWindow *bw)
 
void a_Nav_reload (BrowserWindow *bw)
 
void a_Nav_jump (BrowserWindow *bw, int offset, int new_bw)
 
void a_Nav_free (BrowserWindow *bw)
 
void a_Nav_cancel_expect (BrowserWindow *bw)
 
void a_Nav_cancel_expect_if_eq (BrowserWindow *bw, const DilloUrl *url)
 
void a_Nav_expect_done (BrowserWindow *bw)
 
int a_Nav_stack_ptr (BrowserWindow *bw)
 
int a_Nav_stack_size (BrowserWindow *bw)
 
int a_Nav_get_uidx (BrowserWindow *bw, int i)
 
int a_Nav_get_top_uidx (BrowserWindow *bw)
 
void a_Nav_save_url (BrowserWindow *bw, const DilloUrl *url, const char *filename)
 
int a_Nav_get_buf (const DilloUrl *Url, char **PBuf, int *BufSize)
 
void a_Nav_unref_buf (const DilloUrl *Url)
 
const char * a_Nav_get_content_type (const DilloUrl *url)
 
void a_Nav_set_vsource_url (const DilloUrl *Url)
 

Macro Definition Documentation

◆ NAV_TOP_UIDX

#define NAV_TOP_UIDX (   bw)    a_Nav_get_top_uidx(bw)

Definition at line 10 of file nav.h.

◆ NAV_UIDX

#define NAV_UIDX (   bw,
 
)    a_Nav_get_uidx(bw, i)

Definition at line 9 of file nav.h.

Function Documentation

◆ a_Nav_back()

void a_Nav_back ( BrowserWindow bw)

◆ a_Nav_cancel_expect()

◆ a_Nav_cancel_expect_if_eq()

void a_Nav_cancel_expect_if_eq ( BrowserWindow bw,
const DilloUrl url 
)

Definition at line 260 of file nav.c.

References a_Bw_expected_url(), a_Nav_cancel_expect(), and a_Url_cmp().

Referenced by a_Capi_ccc(), and Cache_process_queue().

◆ a_Nav_expect_done()

◆ a_Nav_forw()

void a_Nav_forw ( BrowserWindow bw)

◆ a_Nav_free()

void a_Nav_free ( BrowserWindow bw)

Definition at line 43 of file nav.c.

References a_Nav_cancel_expect(), dFree(), and BrowserWindow::nav_stack.

◆ a_Nav_get_buf()

int a_Nav_get_buf ( const DilloUrl Url,
char **  PBuf,
int *  BufSize 
)

Definition at line 580 of file nav.c.

References a_Capi_get_buf().

Referenced by a_UIcmd_view_page_source().

◆ a_Nav_get_content_type()

const char * a_Nav_get_content_type ( const DilloUrl url)

Definition at line 596 of file nav.c.

References a_Capi_get_content_type().

Referenced by a_UIcmd_view_page_source().

◆ a_Nav_get_top_uidx()

int a_Nav_get_top_uidx ( BrowserWindow bw)

Definition at line 72 of file nav.c.

References a_Nav_stack_ptr(), dList_nth_data(), and BrowserWindow::nav_stack.

◆ a_Nav_get_uidx()

int a_Nav_get_uidx ( BrowserWindow bw,
int  i 
)

Definition at line 63 of file nav.c.

References dList_nth_data(), and BrowserWindow::nav_stack.

◆ a_Nav_home()

void a_Nav_home ( BrowserWindow bw)

Definition at line 466 of file nav.c.

References a_Nav_push(), DilloPrefs::home, and prefs.

◆ a_Nav_jump()

void a_Nav_jump ( BrowserWindow bw,
int  offset,
int  new_bw 
)

◆ a_Nav_push()

◆ a_Nav_redirection0()

◆ a_Nav_reload()

void a_Nav_reload ( BrowserWindow bw)

Definition at line 516 of file nav.c.

References a_Timeout_add(), dReturn_if_fail, and Nav_reload_callback().

Referenced by a_Capi_ccc(), a_UIcmd_reload(), and Cache_auth_callback().

◆ a_Nav_repush()

void a_Nav_repush ( BrowserWindow bw)

◆ a_Nav_save_url()

void a_Nav_save_url ( BrowserWindow bw,
const DilloUrl url,
const char *  filename 
)

◆ a_Nav_set_vsource_url()

void a_Nav_set_vsource_url ( const DilloUrl Url)

Definition at line 604 of file nav.c.

References a_Capi_set_vsource_url().

Referenced by a_UIcmd_view_page_source().

◆ a_Nav_stack_ptr()

◆ a_Nav_stack_size()

◆ a_Nav_unref_buf()

void a_Nav_unref_buf ( const DilloUrl Url)

Definition at line 588 of file nav.c.

References a_Capi_unref_buf().

Referenced by a_UIcmd_view_page_source().