about summary refs log blame commit diff stats
path: root/src/LYJump.h
blob: 24b5222e3d885c8bb2f5f449373121780b1983f2 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12


                

                   






                               
 










                               
 




                                                                       
 



                                              
#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;
	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(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 */