1 /* 2 * Copyright (c) 2016, Aman Gupta 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 interface to interactive loop. 8 */ 9 #ifndef CTAGS_MAIN_INTERACTIVE_H 10 #define CTAGS_MAIN_INTERACTIVE_H 11 12 #include "general.h" 13 #include "options_p.h" 14 #include "routines.h" 15 16 17 struct interactiveModeArgs 18 { 19 bool sandbox; 20 }; 21 22 void interactiveLoop (cookedArgs *args, void *user); 23 bool jsonErrorPrinter (const errorSelection selection, const char *const format, va_list ap, 24 void *data); 25 int installSyscallFilter (void); 26 27 #endif /* CTAGS_MAIN_INTERACTIVE_H */ 28 29 /* vi:set tabstop=4 shiftwidth=4: */ 30