1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27 #ifndef NEDIT_TAGS_H_INCLUDED
28 #define NEDIT_TAGS_H_INCLUDED
29
30 #include "nedit.h"
31
32 #include <X11/Intrinsic.h>
33 #include <X11/X.h>
34 #include <time.h>
35
36 typedef struct _tagFile {
37 struct _tagFile *next;
38 char *filename;
39 time_t date;
40 Boolean loaded;
41 short index;
42 short refcount;
43 } tagFile;
44
45 extern tagFile *TagsFileList;
46 extern tagFile *TipsFileList;
47
48
49
50 enum mode {
TAG,
TIP_FROM_TAG,
TIP};
51
52 int AddRelTagsFile(
const char *tagSpec,
const char *windowPath,
53 int file_type);
54
55 int AddTagsFile(
const char *tagSpec,
int file_type);
56 int DeleteTagsFile(
const char *tagSpec,
int file_type, Boolean force_unload);
57 int LookupTag(
const char *name,
const char **file,
int *lang,
58 const char **searchString,
int * pos,
const char **path,
59 int search_type);
60
61
62 void FindDefinition(WindowInfo *window, Time time,
const char *arg);
63 void FindDefCalltip(WindowInfo *window, Time time,
const char *arg);
64
65
66
67 int ShowTipString(WindowInfo *window,
char *text, Boolean anchored,
68 int pos, Boolean lookup,
int search_type,
int hAlign,
int vAlign,
69 int alignMode);
70
71 #endif
72