cleanup: build warnings: 'char *' -> 'const char *'
[midnight-commander.git] / edit / etags.h
blob9e60b5bae2ffcac2b4941c73fd8833a114bf59a9
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 unsigned char *fullpath;
17 unsigned char *filename;
18 unsigned 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 */