FreeRDP
webview.h File Reference
This graph shows which files directly or indirectly include this file:

Data Structures

struct  webview_version_t
 
struct  webview_version_info_t
 

Macros

#define WEBVIEW_API   extern
 
#define WEBVIEW_VERSION_MAJOR   0
 
#define WEBVIEW_VERSION_MINOR   10
 
#define WEBVIEW_VERSION_PATCH   0
 
#define WEBVIEW_VERSION_PRE_RELEASE   ""
 
#define WEBVIEW_VERSION_BUILD_METADATA   ""
 
#define WEBVIEW_STRINGIFY(x)   #x
 
#define WEBVIEW_EXPAND_AND_STRINGIFY(x)   WEBVIEW_STRINGIFY(x)
 
#define WEBVIEW_VERSION_NUMBER
 
#define WEBVIEW_HINT_NONE   0
 
#define WEBVIEW_HINT_MIN   1
 
#define WEBVIEW_HINT_MAX   2
 
#define WEBVIEW_HINT_FIXED   3
 

Typedefs

typedef void * webview_t
 

Functions

WEBVIEW_API webview_t webview_create (int debug, void *window)
 
WEBVIEW_API void webview_destroy (webview_t w)
 
WEBVIEW_API void webview_run (webview_t w)
 
WEBVIEW_API void webview_terminate (webview_t w)
 
WEBVIEW_API void webview_dispatch (webview_t w, void(*fn)(webview_t w, void *arg), void *arg)
 
WEBVIEW_API void * webview_get_window (webview_t w)
 
WEBVIEW_API void webview_set_title (webview_t w, const char *title)
 
WEBVIEW_API void webview_set_size (webview_t w, int width, int height, int hints)
 
WEBVIEW_API void webview_navigate (webview_t w, const char *url)
 
WEBVIEW_API void webview_set_html (webview_t w, const char *html)
 
WEBVIEW_API void webview_init (webview_t w, const char *js)
 
WEBVIEW_API void webview_eval (webview_t w, const char *js)
 
WEBVIEW_API void webview_bind (webview_t w, const char *name, void(*fn)(const char *seq, const char *req, void *arg), void *arg)
 
WEBVIEW_API void webview_unbind (webview_t w, const char *name)
 
WEBVIEW_API void webview_return (webview_t w, const char *seq, int status, const char *result)
 
WEBVIEW_API const webview_version_info_twebview_version ()
 

Macro Definition Documentation

◆ WEBVIEW_API

#define WEBVIEW_API   extern

◆ WEBVIEW_EXPAND_AND_STRINGIFY

#define WEBVIEW_EXPAND_AND_STRINGIFY (   x)    WEBVIEW_STRINGIFY(x)

◆ WEBVIEW_HINT_FIXED

#define WEBVIEW_HINT_FIXED   3

◆ WEBVIEW_HINT_MAX

#define WEBVIEW_HINT_MAX   2

◆ WEBVIEW_HINT_MIN

#define WEBVIEW_HINT_MIN   1

◆ WEBVIEW_HINT_NONE

#define WEBVIEW_HINT_NONE   0

◆ WEBVIEW_STRINGIFY

#define WEBVIEW_STRINGIFY (   x)    #x

◆ WEBVIEW_VERSION_BUILD_METADATA

#define WEBVIEW_VERSION_BUILD_METADATA   ""

◆ WEBVIEW_VERSION_MAJOR

#define WEBVIEW_VERSION_MAJOR   0

◆ WEBVIEW_VERSION_MINOR

#define WEBVIEW_VERSION_MINOR   10

◆ WEBVIEW_VERSION_NUMBER

#define WEBVIEW_VERSION_NUMBER
Value:
#define WEBVIEW_VERSION_MINOR
Definition: webview.h:39
#define WEBVIEW_VERSION_MAJOR
Definition: webview.h:34
#define WEBVIEW_EXPAND_AND_STRINGIFY(x)
Definition: webview.h:61
#define WEBVIEW_VERSION_PATCH
Definition: webview.h:44

◆ WEBVIEW_VERSION_PATCH

#define WEBVIEW_VERSION_PATCH   0

◆ WEBVIEW_VERSION_PRE_RELEASE

#define WEBVIEW_VERSION_PRE_RELEASE   ""

Typedef Documentation

◆ webview_t

typedef void* webview_t

Function Documentation

◆ webview_bind()

WEBVIEW_API void webview_bind ( webview_t  w,
const char *  name,
void(*)(const char *seq, const char *req, void *arg)  fn,
void *  arg 
)

◆ webview_create()

WEBVIEW_API webview_t webview_create ( int  debug,
void *  window 
)

◆ webview_destroy()

WEBVIEW_API void webview_destroy ( webview_t  w)

◆ webview_dispatch()

WEBVIEW_API void webview_dispatch ( webview_t  w,
void(*)(webview_t w, void *arg)  fn,
void *  arg 
)

◆ webview_eval()

WEBVIEW_API void webview_eval ( webview_t  w,
const char *  js 
)

◆ webview_get_window()

WEBVIEW_API void* webview_get_window ( webview_t  w)

◆ webview_init()

WEBVIEW_API void webview_init ( webview_t  w,
const char *  js 
)

◆ webview_navigate()

WEBVIEW_API void webview_navigate ( webview_t  w,
const char *  url 
)

◆ webview_return()

WEBVIEW_API void webview_return ( webview_t  w,
const char *  seq,
int  status,
const char *  result 
)

◆ webview_run()

WEBVIEW_API void webview_run ( webview_t  w)

◆ webview_set_html()

WEBVIEW_API void webview_set_html ( webview_t  w,
const char *  html 
)

◆ webview_set_size()

WEBVIEW_API void webview_set_size ( webview_t  w,
int  width,
int  height,
int  hints 
)

◆ webview_set_title()

WEBVIEW_API void webview_set_title ( webview_t  w,
const char *  title 
)

◆ webview_terminate()

WEBVIEW_API void webview_terminate ( webview_t  w)

◆ webview_unbind()

WEBVIEW_API void webview_unbind ( webview_t  w,
const char *  name 
)

◆ webview_version()

WEBVIEW_API const webview_version_info_t* webview_version ( )