21#include "../dpip/dpip.h"
37 char *cmd, numstr[16];
40 snprintf(numstr, 16,
"%d", answer);
42 "answer",
"dialog", numstr);
54 char *title, *msg, *alt1, *alt2, *alt3, *alt4, *alt5;
58 _MSG(
"a_Dpiapi_dialog:\n");
59 _MSG(
" dpip_tag: %s\n", dpip_tag);
65 dpip_tag_len = strlen(dpip_tag);
int a_Capi_dpi_send_cmd(DilloUrl *url, void *bw, char *cmd, char *server, int flags)
Send a dpi cmd.
int a_Dialog_choice(const char *title, const char *msg,...)
Make a question-dialog with a question and alternatives.
static void Dpiapi_dialog_answer_cb(BrowserWindow *bw, int answer)
Generic callback function for dpip dialogs.
static char * dialog_server
void a_Dpiapi_dialog(BrowserWindow *bw, char *server, char *dpip_tag)
Process a dpip "dialog" command from any dpi.
char * a_Dpip_build_cmd(const char *format,...)
Printf like function for building dpip commands.
char * a_Dpip_get_attr_l(const char *tag, size_t tagsize, const char *attrname)
Task: given a tag, its size and an attribute name, return the attribute value (stuffing of ' is remov...
Contains the specific data for a single window.