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

Go to the source code of this file.

Functions

void a_Bookmarks_add (BrowserWindow *bw, const DilloUrl *url)
 Add the new bookmark through the bookmarks server.
 
void a_Bookmarks_chat_add (BrowserWindow *Bw, char *Cmd, char *answer)
 Have a short chat with the bookmarks server, and finally ask it to add a new bookmark.
 

Function Documentation

◆ a_Bookmarks_add()

void a_Bookmarks_add ( BrowserWindow bw,
const DilloUrl url 
)

Add the new bookmark through the bookmarks server.

Definition at line 71 of file bookmark.c.

References a_Bookmarks_chat_add(), a_Dpip_build_cmd(), a_History_get_title_by_url(), dFree(), dReturn_if_fail, and URL_STR.

Referenced by a_UIcmd_add_bookmark().

◆ a_Bookmarks_chat_add()

void a_Bookmarks_chat_add ( BrowserWindow Bw,
char *  Cmd,
char *  answer 
)

Have a short chat with the bookmarks server, and finally ask it to add a new bookmark.

(this is an example of dpi chat)

Definition at line 27 of file bookmark.c.

References _MSG, a_Capi_dpi_send_cmd(), a_Dpip_build_cmd(), dFree(), and dStrdup().

Referenced by a_Bookmarks_add(), and a_Capi_ccc().