xref: /Universal-ctags/parsers/iniconf.h (revision ed9b023f9f447ef2b4dd39209e1adffb2d661d61)
1 /*
2 *
3 *   Copyright (c) 2000-2001, Darren Hiebert
4 *
5 *   This source code is released for free distribution under the terms of the
6 *   GNU General Public License version 2 or (at your option) any later version.
7 *
8 *   This module contains functions for generating tags for ini/config files.
9 */
10 
11 /*
12  *  This is based on geany's conf.c:
13  * --------------------------------
14  * commit 3af538fa65f8b17897259080db8144b1edc43470
15  * Author: Enrico Tröger <enrico.troeger@uvena.de>
16  * Date:   Sun Nov 27 20:39:57 2005 +0000
17  *
18  * added tag support for filetype Conf
19 lang *
20  *
21  * git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@15 ea778897-0a13-0410-b9d1-a72fbfd435f5
22  *
23  */
24 
25 #ifndef CTAGS_INITCONF_H
26 #define CTAGS_INITCONF_H
27 
28 #include "general.h"
29 
30 #include "subparser.h"
31 
32 typedef struct sIniconfSubparser iniconfSubparser;
33 struct sIniconfSubparser {
34 	subparser subparser;
35 
36 	bool  (* probeLanguage)  (const char *section, const char *key, const char *value);
37 	void  (* newDataNotify)  (iniconfSubparser *s,
38 							  const char *section, const char *key, const char *value);
39 };
40 
41 #endif
42