Update all parsers and related files to ctags p6.1.20240421.0
[geany-mirror.git] / ctags / main / dependency.h
blobbdeb71ab92e31416ea1b684ceeb72e697d377edc
1 /*
3 * Copyright (c) 2016, Red Hat, Inc.
4 * Copyright (c) 2016, Masatake YAMATO
6 * Author: Masatake YAMATO <yamato@redhat.com>
8 * This source code is released for free distribution under the terms of the
9 * GNU General Public License version 2 or (at your option) any later version.
12 #ifndef CTAGS_MAIN_DEPENDENCY_H
13 #define CTAGS_MAIN_DEPENDENCY_H
16 * INCLUDE FILES
18 #include "general.h" /* must always come first */
20 #include "types.h"
24 * DATA DECLARATIONS
26 typedef enum eDepType {
27 DEPTYPE_KIND_OWNER,
28 DEPTYPE_SUBPARSER,
29 DEPTYPE_FOREIGNER,
30 COUNT_DEPTYPES,
31 } depType;
33 struct sParserDependency {
34 depType type;
35 const char *upperParser;
36 void *data;
39 struct sSlaveParser {
40 depType type;
41 langType id;
42 void *data;
43 slaveParser *next;
46 #endif /* CTAGS_MAIN_DEPENDENCY_H */