Ticket #1649: Prepare for prerelease mc-4.7.0-pre3 (code cleanup)
[midnight-commander.git] / edit / etags.h
blobd1b0d05f1a1b48b2ca8b9807ee5cf2b61ce9a5a7
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
12 #define TAGS_NAME "TAGS"
14 typedef struct etags_hash_struct {
15 size_t filename_len;
16 char *fullpath;
17 char *filename;
18 char *short_define;
19 long line;
20 } etags_hash_t;
22 int etags_set_definition_hash (const char *tagfile, const char *start_path,
23 const char *match_func, etags_hash_t *def_hash);
25 #endif /* MC_EDIT_ETAGS_H */