1 /* 2 * Copyright (c) 1998-2003, Darren Hiebert 3 * 4 * This source code is released for free distribution under the terms of the 5 * GNU General Public License version 2 or (at your option) any later version. 6 * 7 * Defines external interface to option processing. 8 */ 9 #ifndef CTAGS_MAIN_OPTIONS_H 10 #define CTAGS_MAIN_OPTIONS_H 11 12 /* 13 * INCLUDE FILES 14 */ 15 #include "general.h" /* must always come first */ 16 #include "gvars.h" 17 18 #include <stdarg.h> 19 20 21 /* 22 * DATA DECLARATIONS 23 */ 24 25 /* 26 * FUNCTION PROTOTYPES 27 */ 28 extern void verbose (const char *const format, ...) CTAGS_ATTR_PRINTF (1, 2); 29 30 #define BEGIN_VERBOSE(VFP) do { if (ctags_verbose) { \ 31 FILE* VFP = stderr 32 #define END_VERBOSE() } } while (0) 33 34 #define BEGIN_VERBOSE_IF(COND,VFP) do { if (ctags_verbose || (COND)) { \ 35 FILE* VFP = stderr 36 37 38 extern bool inSandbox (void); 39 40 /* This is for emitting a tag for a common block of Fortran parser*/ 41 extern bool canUseLineNumberAsLocator (void); 42 43 #endif /* CTAGS_MAIN_OPTIONS_H */ 44