Dillo v3.1.1-111-gd4f56d0d
Loading...
Searching...
No Matches
dpiapi.c File Reference

Support for dpi/dpip from Dillo's side. More...

#include "msg.h"
#include "bw.h"
#include "capi.h"
#include "dpiapi.h"
#include "dialog.hh"
#include "../dpip/dpip.h"
Include dependency graph for dpiapi.c:

Go to the source code of this file.

Functions

static void Dpiapi_dialog_answer_cb (BrowserWindow *bw, int answer)
 Generic callback function for dpip dialogs.
 
void a_Dpiapi_dialog (BrowserWindow *bw, char *server, char *dpip_tag)
 Process a dpip "dialog" command from any dpi.
 

Variables

static char * dialog_server = NULL
 

Detailed Description

Support for dpi/dpip from Dillo's side.

Definition in file dpiapi.c.

Function Documentation

◆ a_Dpiapi_dialog()

void a_Dpiapi_dialog ( BrowserWindow bw,
char *  server,
char *  dpip_tag 
)

Process a dpip "dialog" command from any dpi.

Definition at line 52 of file dpiapi.c.

References _MSG, a_Dialog_choice(), a_Dpip_get_attr_l(), dFree(), dialog_server, and Dpiapi_dialog_answer_cb().

Referenced by a_Capi_ccc().

◆ Dpiapi_dialog_answer_cb()

static void Dpiapi_dialog_answer_cb ( BrowserWindow bw,
int  answer 
)
static

Generic callback function for dpip dialogs.

Definition at line 35 of file dpiapi.c.

References a_Capi_dpi_send_cmd(), a_Dpip_build_cmd(), dFree(), and dialog_server.

Referenced by a_Dpiapi_dialog().

Variable Documentation

◆ dialog_server

char* dialog_server = NULL
static

Definition at line 29 of file dpiapi.c.

Referenced by a_Dpiapi_dialog(), and Dpiapi_dialog_answer_cb().