ELinks 0.18.0
history.c File Reference
#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/quickjs.h"
#include "js/quickjs/history.h"
#include "js/quickjs/window.h"
#include "intl/libintl.h"
#include "main/select.h"
#include "osdep/newwin.h"
#include "osdep/sysname.h"
#include "protocol/http/http.h"
#include "protocol/uri.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"
Include dependency graph for history.c:

Macros

#define countof(x)

Functions

static JSValue js_history_back (JSContext *ctx, JSValueConst this_val, int argc, JSValueConst *argv)
static JSValue js_history_forward (JSContext *ctx, JSValueConst this_val, int argc, JSValueConst *argv)
static JSValue js_history_go (JSContext *ctx, JSValueConst this_val, int argc, JSValueConst *argv)
static JSValue js_history_toString (JSContext *ctx, JSValueConst this_val, int argc, JSValueConst *argv)
int js_history_init (JSContext *ctx)

Variables

static JSClassID js_history_class_id
static const JSCFunctionListEntry js_history_funcs []
static JSClassDef js_history_class

Macro Definition Documentation

◆ countof

#define countof ( x)
Value:
(sizeof(x) / sizeof((x)[0]))

Function Documentation

◆ js_history_back()

JSValue js_history_back ( JSContext * ctx,
JSValueConst this_val,
int argc,
JSValueConst * argv )
static

◆ js_history_forward()

JSValue js_history_forward ( JSContext * ctx,
JSValueConst this_val,
int argc,
JSValueConst * argv )
static

◆ js_history_go()

JSValue js_history_go ( JSContext * ctx,
JSValueConst this_val,
int argc,
JSValueConst * argv )
static

◆ js_history_init()

int js_history_init ( JSContext * ctx)

◆ js_history_toString()

JSValue js_history_toString ( JSContext * ctx,
JSValueConst this_val,
int argc,
JSValueConst * argv )
static

Variable Documentation

◆ js_history_class

JSClassDef js_history_class
static
Initial value:
= {
"history",
}

◆ js_history_class_id

JSClassID js_history_class_id
static

◆ js_history_funcs

const JSCFunctionListEntry js_history_funcs[]
static
Initial value:
= {
JS_CFUNC_DEF("back", 0, js_history_back ),
JS_CFUNC_DEF("forward", 0, js_history_forward ),
JS_CFUNC_DEF("go", 1, js_history_go ),
}
static JSValue js_history_go(JSContext *ctx, JSValueConst this_val, int argc, JSValueConst *argv)
Definition history.c:94
static JSValue js_history_back(JSContext *ctx, JSValueConst this_val, int argc, JSValueConst *argv)
Definition history.c:52
static JSValue js_history_forward(JSContext *ctx, JSValueConst this_val, int argc, JSValueConst *argv)
Definition history.c:75