about summary refs log tree commit diff stats
path: root/src/LYJump.h
blob: 159bdd68b56b9806e96800d415b87f3f968b6c7b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
/* $LynxId: LYJump.h,v 1.8 2009/01/01 22:41:42 tom Exp $ */
#ifndef LYJUMP_H
#define LYJUMP_H

#include <HTList.h>

#ifdef __cplusplus
extern "C" {
#endif
    typedef struct _JumpDatum {
	char *key;
	char *url;
    } JumpDatum;

    struct JumpTable {
	int key;
	unsigned nel;
	char *msg;
	char *file;
	char *shortcut;
	HTList *history;
	JumpDatum *table;
	struct JumpTable *next;
	char *mp;
    };

    extern struct JumpTable *JThead;
    extern void LYJumpTable_free(void);
    extern void LYAddJumpShortcut(HTList *the_history, char *shortcut);
    extern BOOL LYJumpInit(char *config);
    extern char *LYJump(int key);

#ifdef __cplusplus
}
#endif
#endif				/* LYJUMP_H */