Ticket #1828: Improved symlink handling in ftpfs
[midnight-commander.git] / edit / etags.h
blob155acbaffb3a32c71eda28b50e14f74cc5b7bce2
1 #ifndef MC_EDIT_ETAGS_H
2 #define MC_EDIT_ETAGS_H 1
4 #include <sys/types.h> /* size_t */
5 #include "../src/global.h" /* include <glib.h> */
7 #define MAX_WIDTH_DEF_DIALOG 60 /* max width def dialog */
8 #define MAX_DEFINITIONS 60 /* count found entries show */
9 #define SHORT_DEF_LEN 30
10 #define LONG_DEF_LEN 40
11 #define LINE_DEF_LEN 16
13 typedef struct etags_hash_struct {
14 size_t filename_len;
15 char *fullpath;
16 char *filename;
17 char *short_define;
18 long line;
19 } etags_hash_t;
21 int etags_set_definition_hash (const char *tagfile, const char *start_path,
22 const char *match_func, etags_hash_t *def_hash);
24 #endif /* MC_EDIT_ETAGS_H */