mirror of
https://github.com/rkd77/elinks.git
synced 2025-09-21 19:46:23 -04:00
Alternative experimental ECMAScript engine.
This commit is contained in:
@@ -9,9 +9,12 @@
|
||||
#include "util/time.h"
|
||||
|
||||
struct string;
|
||||
struct terminal;
|
||||
struct uri;
|
||||
struct view_state;
|
||||
|
||||
#define get_ecmascript_enable() get_opt_bool("ecmascript.enable")
|
||||
|
||||
struct ecmascript_interpreter {
|
||||
struct view_state *vs;
|
||||
void *backend_data;
|
||||
@@ -63,6 +66,11 @@ int ecmascript_eval_boolback(struct ecmascript_interpreter *interpreter, struct
|
||||
* follows a link with this synstax. */
|
||||
void ecmascript_protocol_handler(struct session *ses, struct uri *uri);
|
||||
|
||||
void ecmascript_init(struct module *);
|
||||
void ecmascript_done(struct module *);
|
||||
void ecmascript_timeout_dialog(struct terminal *term, int max_exec_time);
|
||||
|
||||
|
||||
extern struct module ecmascript_module;
|
||||
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user