mirror of
https://github.com/rkd77/elinks.git
synced 2025-01-03 14:57:44 -05:00
25 lines
722 B
C
25 lines
722 B
C
#ifndef EL__SCRIPTING_SMJS_SMJS_H
|
|
#define EL__SCRIPTING_SMJS_SMJS_H
|
|
|
|
struct module;
|
|
struct cache_entry;
|
|
struct session;
|
|
struct terminal;
|
|
struct view_state;
|
|
|
|
extern struct module smjs_scripting_module;
|
|
|
|
/* TODO: Use trigger_event() for this, so that the caching code need
|
|
* not directly call the SMJS scripting module? That would require
|
|
* changes in struct cache_object though, to let a dynamic number of
|
|
* scripting modules have pointers from there to their objects. */
|
|
void smjs_detach_cache_entry_object(struct cache_entry *cached);
|
|
|
|
void smjs_detach_session_object(struct session *ses);
|
|
|
|
void smjs_detach_terminal_object(struct terminal *term);
|
|
|
|
void smjs_detach_view_state_object(struct view_state *vs);
|
|
|
|
#endif
|