ELinks 0.16.1.1
|
Data Structures | |
struct | bookmark |
Functions | |
void | read_bookmarks (void) |
void | write_bookmarks (void) |
void | bookmarks_set_dirty (void) |
void | bookmarks_unset_dirty (void) |
int | bookmarks_are_dirty (void) |
void | delete_bookmark (struct bookmark *) |
struct bookmark * | add_bookmark (struct bookmark *, int, const char *, const char *) |
Add a bookmark to the bookmark list. | |
struct bookmark * | add_bookmark_cp (struct bookmark *, int, int, const char *, const char *) |
Add a bookmark to the bookmark list. | |
struct bookmark * | get_bookmark_by_name (struct bookmark *folder, char *title) |
Search for a bookmark with the given title. | |
struct bookmark * | get_bookmark (char *url) |
void | bookmark_terminal_tabs (struct terminal *term, char *foldername) |
Create a bookmark for each document on the specified terminal, and a folder to contain those bookmarks. | |
char * | get_auto_save_bookmark_foldername_utf8 (void) |
void | bookmark_auto_save_tabs (struct terminal *term) |
int | update_bookmark (struct bookmark *, int, char *, char *) |
void | open_bookmark_folder (struct session *ses, char *foldername) |
Open all bookmarks from the named folder. |
Variables | |
struct bookmark list | bookmarks |
struct module | bookmarks_module |
struct bookmark * add_bookmark | ( | struct bookmark * | root, |
int | place, | ||
const char * | title, | ||
const char * | url ) |
Add a bookmark to the bookmark list.
root | The folder in which to add the bookmark, or NULL to add it at top level. |
place | 0 means add to the top. 1 means add to the bottom. |
title | Title of the bookmark. Must be in UTF-8 and not NULL. "-" means add a separator. |
url | URL to which the bookmark will point. Must be in UTF-8. NULL or "" means add a bookmark folder. |
struct bookmark * add_bookmark_cp | ( | struct bookmark * | root, |
int | place, | ||
int | codepage, | ||
const char * | title, | ||
const char * | url ) |
Add a bookmark to the bookmark list.
root | The folder in which to add the bookmark, or NULL to add it at top level. |
place | 0 means add to the top. 1 means add to the bottom. |
codepage | Codepage of title and url. |
title | Title of the bookmark. Must not be NULL. "-" means add a separator. |
url | URL to which the bookmark will point. NULL or "" means add a bookmark folder. |
void bookmark_auto_save_tabs | ( | struct terminal * | term | ) |
void bookmark_terminal_tabs | ( | struct terminal * | term, |
char * | foldername ) |
Create a bookmark for each document on the specified terminal, and a folder to contain those bookmarks.
term | The terminal whose open documents should be bookmarked. |
foldername | The name of the new bookmark folder, in UTF-8. |
int bookmarks_are_dirty | ( | void | ) |
void bookmarks_set_dirty | ( | void | ) |
void bookmarks_unset_dirty | ( | void | ) |
void delete_bookmark | ( | struct bookmark * | bm | ) |
char * get_auto_save_bookmark_foldername_utf8 | ( | void | ) |
Search for a bookmark with the given title.
The search does not recurse into subfolders.
folder | Search in this folder. NULL means search in the root. |
title | Search for this title. Must be in UTF-8 and not NULL. |
void open_bookmark_folder | ( | struct session * | ses, |
char * | foldername ) |
Open all bookmarks from the named folder.
ses | The session in which to open the first bookmark. The other bookmarks of the folder open in new tabs on the same terminal. |
foldername | The name of the bookmark folder, in UTF-8. |
void read_bookmarks | ( | void | ) |
int update_bookmark | ( | struct bookmark * | bm, |
int | codepage, | ||
char * | title, | ||
char * | url ) |
void write_bookmarks | ( | void | ) |
|
extern |