xref: /Universal-ctags/main/promise_p.h (revision 6835faff2daeea8943f3389a2f305a361b5b69e3)
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_PROMISE_PRIVATE_H
13 #define CTAGS_MAIN_PROMISE_PRIVATE_H
14 
15 #include "general.h"
16 
17 bool forcePromises (void);
18 void breakPromisesAfter (int promise);
19 int getLastPromise (void);
20 void runModifiers (int promise,
21 				   unsigned long startLine, long startCharOffset,
22 				   unsigned long endLine, long endCharOffset,
23 				   unsigned char *input,
24 				   size_t size);
25 
26 #endif	/* CTAGS_MAIN_PROMISE_PRIVATE_H */
27