bool_t a_Bw_expecting(BrowserWindow *bw)
int a_Bw_remove_client(BrowserWindow *bw, int ClientKey)
Remove the cache-client from the bw's list (client can be a image or a html page) Return: 0 if found,...
void a_Bw_free(BrowserWindow *bw)
Free resources associated to a bw.
void a_Bw_close_client(BrowserWindow *bw, int ClientKey)
Close a cache-client upon successful retrieval.
void(* BwCallback_t)(BrowserWindow *bw, const void *data)
void a_Bw_expect(BrowserWindow *bw, const DilloUrl *Url)
void a_Bw_add_url(BrowserWindow *bw, const DilloUrl *Url)
Add an URL to the browser window's list.
BrowserWindow * a_Bw_get(int i)
Return a bw by index.
void a_Bw_stop_clients(BrowserWindow *bw, int flags)
Stop the active clients of this bw's top page.
void * a_Bw_get_current_doc(BrowserWindow *bw)
Get current document.
void a_Bw_add_client(BrowserWindow *bw, int Key, int Root)
Add a reference to a cache-client.
void a_Bw_init(void)
Initialize global data.
void a_Bw_cleanup(BrowserWindow *bw)
Empty RootClients, ImageClients and PageUrls lists and reset progress bar data.
void a_Bw_cancel_expect(BrowserWindow *bw)
void * a_Bw_get_url_doc(BrowserWindow *bw, const DilloUrl *Url)
Get document by URL.
const DilloUrl * a_Bw_expected_url(BrowserWindow *bw)
BrowserWindow * a_Bw_new(void)
Create a new browser window and return it.
void a_Bw_remove_doc(BrowserWindow *bw, void *vdoc)
Remove a document from the bw's list.
void a_Bw_add_doc(BrowserWindow *bw, void *vdoc)
Add a document to the browser window's list.
Contains the specific data for a single window.
Dlist * ImageClients
Image Keys for all active connections in the window.
int NumImagesGot
Number of images already loaded.
int redirect_level
Counter for the number of hops on a redirection.
int meta_refresh_status
Url for zero-delay redirections in the META element.
Dlist * RootClients
A list of active cache clients in the window (The primary Key)
Dlist * Docs
Root document(s).
void * render_layout
All the rendering is done by this.
void * ui
Pointer to the UI object this bw belongs to.
Dlist * nav_stack
The navigation stack (holds indexes to history list)
int NumImages
Number of images in the page.
int nav_stack_ptr
'nav_stack_ptr' refers to what's being displayed
DilloUrl * meta_refresh_url
Dlist * PageUrls
List of all Urls requested by this page (and its types)
int num_page_bugs
HTML-bugs detected at parse time.
DilloUrl * nav_expect_url
When the user clicks a link, the URL isn't pushed directly to history; nav_expect_url holds it until ...
int NumPendingStyleSheets
Number of not yet arrived style sheets.
Parse and normalize all URL's inside Dillo.