diff options
| author | Philip Wittamore <philip@wittamore.com> | 2025-09-24 22:26:00 +0200 |
|---|---|---|
| committer | Philip Wittamore <philip@wittamore.com> | 2025-09-24 22:26:00 +0200 |
| commit | c2ecaf87e462fd6600ce5ee6a29cb352de042714 (patch) | |
| tree | 70f607a8c9bce7f0d40c559ec4112d3dd154eb50 /src/LYJump.h | |
| download | lynx-c2ecaf87e462fd6600ce5ee6a29cb352de042714.tar.gz lynx-c2ecaf87e462fd6600ce5ee6a29cb352de042714.tar.bz2 lynx-c2ecaf87e462fd6600ce5ee6a29cb352de042714.zip | |
update
Diffstat (limited to 'src/LYJump.h')
| -rw-r--r-- | src/LYJump.h | 36 |
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 */ |
