etags.h 651 B

123456789101112131415161718192021222324
  1. #ifndef MC_EDIT_ETAGS_H
  2. #define MC_EDIT_ETAGS_H 1
  3. #include <sys/types.h> /* size_t */
  4. #include "../src/global.h" /* include <glib.h> */
  5. #define MAX_WIDTH_DEF_DIALOG 60 /* max width def dialog */
  6. #define MAX_DEFINITIONS 60 /* count found entries show */
  7. #define SHORT_DEF_LEN 30
  8. #define LONG_DEF_LEN 40
  9. #define LINE_DEF_LEN 16
  10. typedef struct etags_hash_struct {
  11. size_t filename_len;
  12. char *fullpath;
  13. char *filename;
  14. char *short_define;
  15. long line;
  16. } etags_hash_t;
  17. int etags_set_definition_hash (const char *tagfile, const char *start_path,
  18. const char *match_func, etags_hash_t *def_hash);
  19. #endif /* MC_EDIT_ETAGS_H */