aboutsummaryrefslogtreecommitdiffstats
path: root/src/gtkhtml2/web_gtkhtml2_js.h
blob: c3179c04a314f3320047e2d05f8a14a19b64942f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27

#ifndef WEB_GTKHTML2_JS_H
#define WEB_GTKHTML2_JS_H

#include "config.h"
#include <string.h>
#define XP_UNIX
#ifdef LIBJS_IS_SMJS
#include <js/jsapi.h>
#else
#include <smjs/jsapi.h>
#endif
#include <glib.h>
#include "web_gtkhtml2.h"

void web_gtkhtml2_js_init (gpointer bdata, gpointer pdata);
void web_gtkhtml2_js_init_events (gpointer bdata, gpointer pdata);
void web_gtkhtml2_js_run (WebGtkhtml2Data *backend_data,
			  WebGtkhtml2PageData *page_data,
			  DomNode *node);
void web_gtkhtml2_js_parse (WebGtkhtml2Data *backend_data,
			    WebGtkhtml2PageData *page_data,
			    const char *script,
			    gint script_size);
void web_gtkhtml2_js_clear (gpointer bdata, gpointer pdata);

#endif