187214e15SMasatake YAMATO /* 287214e15SMasatake YAMATO * 387214e15SMasatake YAMATO * Copyright (c) 2000-2001, Darren Hiebert 487214e15SMasatake YAMATO * 587214e15SMasatake YAMATO * This source code is released for free distribution under the terms of the 687214e15SMasatake YAMATO * GNU General Public License version 2 or (at your option) any later version. 787214e15SMasatake YAMATO * 887214e15SMasatake YAMATO * This module contains functions for generating tags for ini/config files. 987214e15SMasatake YAMATO */ 1087214e15SMasatake YAMATO 1187214e15SMasatake YAMATO /* 1287214e15SMasatake YAMATO * This is based on geany's conf.c: 1387214e15SMasatake YAMATO * -------------------------------- 1487214e15SMasatake YAMATO * commit 3af538fa65f8b17897259080db8144b1edc43470 1587214e15SMasatake YAMATO * Author: Enrico Tröger <enrico.troeger@uvena.de> 1687214e15SMasatake YAMATO * Date: Sun Nov 27 20:39:57 2005 +0000 1787214e15SMasatake YAMATO * 1887214e15SMasatake YAMATO * added tag support for filetype Conf 1987214e15SMasatake YAMATO lang * 2087214e15SMasatake YAMATO * 2187214e15SMasatake YAMATO * git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@15 ea778897-0a13-0410-b9d1-a72fbfd435f5 2287214e15SMasatake YAMATO * 2387214e15SMasatake YAMATO */ 2487214e15SMasatake YAMATO 2587214e15SMasatake YAMATO #ifndef CTAGS_INITCONF_H 2687214e15SMasatake YAMATO #define CTAGS_INITCONF_H 2787214e15SMasatake YAMATO 2887214e15SMasatake YAMATO #include "general.h" 2987214e15SMasatake YAMATO 30*ed9b023fSMasatake YAMATO #include "subparser.h" 3187214e15SMasatake YAMATO 32*ed9b023fSMasatake YAMATO typedef struct sIniconfSubparser iniconfSubparser; 33*ed9b023fSMasatake YAMATO struct sIniconfSubparser { 34*ed9b023fSMasatake YAMATO subparser subparser; 3587214e15SMasatake YAMATO 3687214e15SMasatake YAMATO bool (* probeLanguage) (const char *section, const char *key, const char *value); 37*ed9b023fSMasatake YAMATO void (* newDataNotify) (iniconfSubparser *s, 38*ed9b023fSMasatake YAMATO const char *section, const char *key, const char *value); 3987214e15SMasatake YAMATO }; 4087214e15SMasatake YAMATO 4187214e15SMasatake YAMATO #endif 42