root/src/editor/etags.h

/* [previous][next][first][last][top][bottom][index][help]  */

INCLUDED FROM


   1 #ifndef MC__EDIT_ETAGS_H
   2 #define MC__EDIT_ETAGS_H 1
   3 
   4 #include <sys/types.h>          /* size_t */
   5 #include "lib/global.h"         /* include <glib.h> */
   6 
   7 /*** typedefs(not structures) and defined constants **********************************************/
   8 
   9 #define MAX_WIDTH_DEF_DIALOG 60 /* max width def dialog */
  10 #define MAX_DEFINITIONS 60      /* count found entries show */
  11 #define SHORT_DEF_LEN   30
  12 #define LONG_DEF_LEN    40
  13 #define LINE_DEF_LEN    16
  14 
  15 /*** enums ***************************************************************************************/
  16 
  17 /*** structures declarations (and typedefs of structures)*****************************************/
  18 
  19 typedef struct etags_hash_struct
  20 {
  21     size_t filename_len;
  22     char *fullpath;
  23     char *filename;
  24     char *short_define;
  25     long line;
  26 } etags_hash_t;
  27 
  28 /*** global variables defined in .c file *********************************************************/
  29 
  30 /*** declarations of public functions ************************************************************/
  31 
  32 
  33 int etags_set_definition_hash (const char *tagfile, const char *start_path,
  34                                const char *match_func, etags_hash_t * def_hash);
  35 
  36 /*** inline functions ****************************************************************************/
  37 #endif /* MC__EDIT_ETAGS_H */

/* [previous][next][first][last][top][bottom][index][help]  */