Dillo v3.1.1-119-g140d9ebd
Loading...
Searching...
No Matches
history.h
Go to the documentation of this file.
1
2#ifndef __DILLO_HISTORY_H__
3#define __DILLO_HISTORY_H__
4
5#include "url.h"
6
7
8#ifdef __cplusplus
9extern "C" {
10#endif /* __cplusplus */
11
13void a_History_set_title_by_url(const DilloUrl *url, const char *title);
14const DilloUrl *a_History_get_url(int idx);
15const char *a_History_get_title(int idx, int force);
16const char *a_History_get_title_by_url(const DilloUrl *url, int force);
17void a_History_freeall(void);
18
19
20#ifdef __cplusplus
21}
22#endif /* __cplusplus */
23
24#endif /* __DILLO_HISTORY_H__ */
const DilloUrl * a_History_get_url(int idx)
Return the DilloUrl field (by index)
Definition history.c:80
int a_History_add_url(DilloUrl *url)
Add a new H_Item at the end of the history list (taking care of not making a duplicate entry)
Definition history.c:50
const char * a_History_get_title(int idx, int force)
Return the title field (by index) ('force' returns URL_STR when there's no title)
Definition history.c:94
void a_History_set_title_by_url(const DilloUrl *url, const char *title)
Set the page-title for a given URL.
Definition history.c:130
const char * a_History_get_title_by_url(const DilloUrl *url, int force)
Return the title field (by url) ('force' returns URL_STR when there's no title)
Definition history.c:110
void a_History_freeall(void)
Free all the memory used by this module.
Definition history.c:152
Definition url.h:88
Parse and normalize all URL's inside Dillo.