|
ELinks 0.19.1
|
#include <stdio.h>#include <stdlib.h>#include <string.h>#include "elinks.h"#include "bfu/dialog.h"#include "cache/cache.h"#include "cookies/cookies.h"#include "dialogs/menu.h"#include "dialogs/status.h"#include "document/html/frames.h"#include "document/document.h"#include "document/forms.h"#include "document/view.h"#include "js/ecmascript.h"#include "js/mujs/mapa.h"#include "js/mujs.h"#include "js/mujs/xhr.h"#include "js/timer.h"#include "intl/libintl.h"#include "main/select.h"#include "main/timer.h"#include "network/connection.h"#include "osdep/newwin.h"#include "osdep/sysname.h"#include "protocol/http/http.h"#include "protocol/uri.h"#include "session/download.h"#include "session/history.h"#include "session/location.h"#include "session/session.h"#include "session/task.h"#include "terminal/tab.h"#include "terminal/terminal.h"#include "util/conv.h"#include "util/memory.h"#include "util/string.h"#include "viewer/text/draw.h"#include "viewer/text/form.h"#include "viewer/text/link.h"#include "viewer/text/vs.h"
Functions | |
| static void | mjs_xhr_get_property_onabort (js_State *J) |
| static void | mjs_xhr_get_property_onerror (js_State *J) |
| static void | mjs_xhr_get_property_onload (js_State *J) |
| static void | mjs_xhr_get_property_onloadend (js_State *J) |
| static void | mjs_xhr_get_property_onloadstart (js_State *J) |
| static void | mjs_xhr_get_property_onprogress (js_State *J) |
| static void | mjs_xhr_get_property_onreadystatechange (js_State *J) |
| static void | mjs_xhr_get_property_ontimeout (js_State *J) |
| static void | mjs_xhr_get_property_readyState (js_State *J) |
| static void | mjs_xhr_get_property_response (js_State *J) |
| static void | mjs_xhr_get_property_responseText (js_State *J) |
| static void | mjs_xhr_get_property_responseType (js_State *J) |
| static void | mjs_xhr_get_property_responseURL (js_State *J) |
| static void | mjs_xhr_get_property_status (js_State *J) |
| static void | mjs_xhr_get_property_statusText (js_State *J) |
| static void | mjs_xhr_get_property_timeout (js_State *J) |
| static void | mjs_xhr_get_property_upload (js_State *J) |
| static void | mjs_xhr_get_property_withCredentials (js_State *J) |
| static void | mjs_xhr_set_property_onabort (js_State *J) |
| static void | mjs_xhr_set_property_onerror (js_State *J) |
| static void | mjs_xhr_set_property_onload (js_State *J) |
| static void | mjs_xhr_set_property_onloadend (js_State *J) |
| static void | mjs_xhr_set_property_onloadstart (js_State *J) |
| static void | mjs_xhr_set_property_onprogress (js_State *J) |
| static void | mjs_xhr_set_property_onreadystatechange (js_State *J) |
| static void | mjs_xhr_set_property_ontimeout (js_State *J) |
| static void | mjs_xhr_set_property_responseType (js_State *J) |
| static void | mjs_xhr_set_property_timeout (js_State *J) |
| static void | mjs_xhr_set_property_withCredentials (js_State *J) |
| static void | onload_run (void *data) |
| static void | onloadend_run (void *data) |
| static void | onreadystatechange_run (void *data) |
| static void | ontimeout_run (void *data) |
| char * | normalize (char *value) |
| static void | mjs_xhr_finalizer (js_State *J, void *data) |
| static void | mjs_xhr_static_get_property_UNSENT (js_State *J) |
| static void | mjs_xhr_static_get_property_OPENED (js_State *J) |
| static void | mjs_xhr_static_get_property_HEADERS_RECEIVED (js_State *J) |
| static void | mjs_xhr_static_get_property_LOADING (js_State *J) |
| static void | mjs_xhr_static_get_property_DONE (js_State *J) |
| static void | mjs_xhr_abort (js_State *J) |
| static void | mjs_xhr_addEventListener (js_State *J) |
| static void | mjs_xhr_getAllResponseHeaders (js_State *J) |
| static void | mjs_xhr_getResponseHeader (js_State *J) |
| static void | mjs_xhr_open (js_State *J) |
| static void | mjs_xhr_overrideMimeType (js_State *J) |
| static void | mjs_xhr_removeEventListener (js_State *J) |
| static void | mjs_xhr_send (js_State *J) |
| static void | mjs_xhr_setRequestHeader (js_State *J) |
| static void | mjs_xhr_loading_callback (struct download *download, struct mjs_xhr *xhr) |
| static size_t | write_data (void *ptr, size_t size, size_t nmemb, void *stream) |
| static bool | valid_header (const char *header) |
| static bool | forbidden_header (const char *header) |
| static void | mjs_xhr_fun (js_State *J) |
| static void | mjs_xhr_constructor (js_State *J) |
| int | mjs_xhr_init (js_State *J) |
Variables | |
| const unsigned short | UNSENT = 0 |
| const unsigned short | OPENED = 1 |
| const unsigned short | HEADERS_RECEIVED = 2 |
| const unsigned short | LOADING = 3 |
| const unsigned short | DONE = 4 |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
| int mjs_xhr_init | ( | js_State * | J | ) |
|
static |
|
static |
TODO
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
TODO Set this’s cross-origin credentials to the given value.
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
| char * normalize | ( | char * | value | ) |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
| const unsigned short DONE = 4 |
| const unsigned short HEADERS_RECEIVED = 2 |
| const unsigned short LOADING = 3 |
| const unsigned short OPENED = 1 |
| const unsigned short UNSENT = 0 |