ELinks 0.18.0
localstorage.c File Reference
#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/mujs.h"
#include "js/mujs/localstorage.h"
#include "session/session.h"
#include "viewer/text/vs.h"
Include dependency graph for localstorage.c:

Functions

static char * readFromStorage (const char *key)
 
static void removeFromStorage (const char *key)
 
static void saveToStorage (const char *key, const char *val)
 
static void mjs_localstorage_getitem (js_State *J)
 
static void mjs_localstorage_removeitem (js_State *J)
 
static void mjs_localstorage_setitem (js_State *J)
 
static void mjs_localstorage_toString (js_State *J)
 
int mjs_localstorage_init (js_State *J)
 

Function Documentation

◆ mjs_localstorage_getitem()

static void mjs_localstorage_getitem ( js_State * J)
static

◆ mjs_localstorage_init()

int mjs_localstorage_init ( js_State * J)

◆ mjs_localstorage_removeitem()

static void mjs_localstorage_removeitem ( js_State * J)
static

◆ mjs_localstorage_setitem()

static void mjs_localstorage_setitem ( js_State * J)
static

◆ mjs_localstorage_toString()

static void mjs_localstorage_toString ( js_State * J)
static

◆ readFromStorage()

static char * readFromStorage ( const char * key)
static

◆ removeFromStorage()

static void removeFromStorage ( const char * key)
static

◆ saveToStorage()

static void saveToStorage ( const char * key,
const char * val )
static