1 /* 2 * 3 * Copyright (c) 2016, Red Hat, Inc. 4 * Copyright (c) 2016, Masatake YAMATO 5 * 6 * Author: Masatake YAMATO <yamato@redhat.com> 7 * 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. 10 * 11 */ 12 #ifndef CTAGS_MAIN_PARAM_H 13 #define CTAGS_MAIN_PARAM_H 14 15 /* 16 * INCLUDE FILES 17 */ 18 #include "general.h" 19 20 #include "types.h" 21 22 23 /* 24 * DATA DECLARATIONS 25 */ 26 struct sParameterHandlerTable { 27 const char *name; 28 const char *desc; 29 void (* handleParameter) (langType lang, const char *name, const char *arg); 30 }; 31 32 /* 33 * FUNCTION PROTOTYPES 34 */ 35 extern bool paramParserBool (const char *value, bool fallback, 36 const char *errWhat, const char *errCategory); 37 38 #endif /* CTAGS_MAIN_PARAM_H */ 39