about summary refs log tree commit diff stats
path: root/src/LYJump.h
blob: 3a82b0757447ba07c397c1990c180840e478f356 (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
#ifndef LYJUMP_H
#define LYJUMP_H

#include <HTList.h>

typedef struct _JumpDatum {
    char *key;
    char *url;
} JumpDatum;

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

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

#endif /* LYJUMP_H */