Updated Spanish translation
[anjuta-git-plugin.git] / tagmanager / get.h
blob222c9f17a5fb53c456f4c44720391f1fc071ab65
1 /*
2 * $Id$
4 * Copyright (c) 1998-2002, Darren Hiebert
6 * This source code is released for free distribution under the terms of the
7 * GNU General Public License.
9 * External interface to get.c
11 #ifndef _GET_H
12 #define _GET_H
15 * INCLUDE FILES
17 #include "general.h" /* must always come first */
19 #include "ctags.h" /* to define langType */
22 * MACROS
24 /* Is the character valid as a character of a C identifier?
25 * VMS allows '$' in identifiers.
27 #define isident(c) (isalnum(c) || (c) == '_' || (c) == '$')
29 /* Is the character valid as the first character of a C identifier?
30 * C++ allows '~' in destructors.
31 * VMS allows '$' in identifiers.
33 #define isident1(c) (isalpha(c) || (c) == '_' || (c) == '~' || (c) == '$')
36 * FUNCTION PROTOTYPES
38 extern boolean isBraceFormat (void);
39 extern unsigned int getDirectiveNestLevel (void);
40 extern void cppInit (const boolean state);
41 extern void cppTerminate (void);
42 extern void cppBeginStatement (void);
43 extern void cppEndStatement (void);
44 extern void cppUngetc (const int c);
45 extern int cppGetc (void);
46 extern char *getArglistFromFilePos(fpos_t startPosition, const char *tokenName);
47 extern char *getArglistFromBufferPos(int startPosition, const char *tokenName);
48 extern char *getArglistFromStr(char *buf, const char *name);
50 #endif /* _GET_H */
52 /* vi:set tabstop=4 shiftwidth=4: */