ELinks 0.18.0
|
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "elinks.h"
#include "bfu/leds.h"
#include "document/view.h"
#include "js/ecmascript.h"
#include "js/localstorage-db.h"
#include "js/quickjs.h"
#include "js/quickjs/localstorage.h"
#include "session/session.h"
#include "viewer/text/vs.h"
Macros | |
#define | countof(x) (sizeof(x) / sizeof((x)[0])) |
Functions | |
static char * | readFromStorage (const char *key) |
static void | removeFromStorage (const char *key) |
static void | saveToStorage (const char *key, const char *val) |
static JSValue | js_localstorage_getitem (JSContext *ctx, JSValueConst this_val, int argc, JSValueConst *argv) |
static JSValue | js_localstorage_removeitem (JSContext *ctx, JSValueConst this_val, int argc, JSValueConst *argv) |
static JSValue | js_localstorage_setitem (JSContext *ctx, JSValueConst this_val, int argc, JSValueConst *argv) |
static JSValue | js_localstorage_toString (JSContext *ctx, JSValueConst this_val, int argc, JSValueConst *argv) |
int | js_localstorage_init (JSContext *ctx) |
Variables | |
static JSClassID | js_localstorage_class_id |
static const JSCFunctionListEntry | js_localstorage_proto_funcs [] |
static JSClassDef | js_localstorage_class |
#define countof | ( | x | ) | (sizeof(x) / sizeof((x)[0])) |
|
static |
int js_localstorage_init | ( | JSContext * | ctx | ) |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |