Dillo v3.1.1-99-gf3103cc4
|
#include <stdlib.h>
#include "msg.h"
#include "history.h"
#include "capi.h"
#include "bookmark.h"
#include "../dpip/dpip.h"
Go to the source code of this file.
Functions | |
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. | |
void | a_Bookmarks_add (BrowserWindow *bw, const DilloUrl *url) |
Add the new bookmark through the bookmarks server. | |
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().
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().