summaryrefslogtreecommitdiffstats
path: root/src/LYJump.h
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-06 01:12:14 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-06 01:12:14 +0000
commit982972c2aada53f83389987317fb6cbee9ce5a91 (patch)
tree25420c3b905b2e00f02a895d877fd0669025ee35 /src/LYJump.h
parentInitial commit. (diff)
downloadlynx-982972c2aada53f83389987317fb6cbee9ce5a91.tar.xz
lynx-982972c2aada53f83389987317fb6cbee9ce5a91.zip
Adding upstream version 2.8.9rel.1.upstream/2.8.9rel.1upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'src/LYJump.h')
-rw-r--r--src/LYJump.h36
1 files changed, 36 insertions, 0 deletions
diff --git a/src/LYJump.h b/src/LYJump.h
new file mode 100644
index 0000000..159bdd6
--- /dev/null
+++ b/src/LYJump.h
@@ -0,0 +1,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 */