Imported Upstream version 1.9.5
[platform/upstream/doxygen.git] / libmscgen / mscgen_lexer.h
1 /***************************************************************************
2  *
3  * $Id: lexer.h 152 2010-10-10 14:17:37Z Michael.McTernan $
4  *
5  * Extra lexer/scanner API functions.
6  * Copyright (C) 2010 Michael C McTernan, Michael.McTernan.2001@cs.bris.ac.uk
7  *
8  * This program is free software; you can redistribute it and/or modify
9  * it under the terms of the GNU General Public License as published by
10  * the Free Software Foundation; either version 2 of the License, or
11  *  (at your option) any later version.
12  *
13  * This program is distributed in the hope that it will be useful,
14  * but WITHOUT ANY WARRANTY; without even the implied warranty of
15  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
16  * GNU General Public License for more details.
17  *
18  * You should have received a copy of the GNU General Public License
19  * along with this program; if not, write to the Free Software
20  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
21  ***************************************************************************/
22
23 #ifndef MSCGEN_LEXER_H
24 #define MSCGEN_LEXER_H
25
26 /*****************************************************************************
27  * Header Files
28  *****************************************************************************/
29
30 #include "mscgen_bool.h"
31
32 /*****************************************************************************
33  * Preprocessor Macros & Constants
34  *****************************************************************************/
35
36 /*****************************************************************************
37  * Typedefs
38  *****************************************************************************/
39
40 /*****************************************************************************
41  * Global Variable Declarations
42  *****************************************************************************/
43
44 /*****************************************************************************
45  * Global Function Declarations
46  *****************************************************************************/
47
48 #ifdef __cplusplus
49 extern "C" {
50 #endif
51 Boolean        lex_getutf8(void);
52 #ifdef __cplusplus
53 }
54 #endif
55
56 unsigned long  lex_getlinenum(void);
57 char          *lex_getline(void);
58 void           lex_destroy(void);
59 void           lex_resetparser(void);
60
61 #endif /* MSCGEN_LEXER_H */
62
63 /* END OF FILE */