From ae5d181b854d3ccb373b6bc01b4869e44ff4d87a Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sun, 7 Apr 2024 18:37:15 +0200 Subject: Adding upstream version 2.9.0dev.12. Signed-off-by: Daniel Baumann --- src/LYJump.h | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 src/LYJump.h (limited to 'src/LYJump.h') 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 + +#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 */ -- cgit v1.2.3