geany  1.38
About: Geany is a text editor (using GTK2) with basic features of an integrated development environment (syntax highlighting, code folding, symbol name auto-completion, ...). F: office T: editor programming GTK+ IDE
  Fossies Dox: geany-1.38.tar.bz2  ("unofficial" and yet experimental doxygen-generated source code documentation)  

keyword.h
Go to the documentation of this file.
1/*
2* Copyright (c) 1998-2002, 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* External interface to keyword.c
8*/
9#ifndef CTAGS_MAIN_KEYWORD_H
10#define CTAGS_MAIN_KEYWORD_H
11
12/*
13* INCLUDE FILES
14*/
15#include "general.h" /* must always come first */
16#include "types.h"
17
18/*
19* MACROS
20*/
21#define KEYWORD_NONE -1
22
23/*
24* FUNCTION PROTOTYPES
25*/
26extern void addKeyword (const char *const string, langType language, int value);
27extern int lookupKeyword (const char *const string, langType language);
28extern int lookupCaseKeyword (const char *const string, langType language);
29
30/*
31* KEYWORD GROUP API: Adding keywords for value in batch
32*/
34 int value;
36 const char *keywords []; /* NULL terminated */
37};
38
39extern void addKeywordGroup (const struct keywordGroup *const groupdef,
40 langType language);
41#endif /* CTAGS_MAIN_KEYWORD_H */
int lookupCaseKeyword(const char *const string, langType language)
Definition: keyword.c:165
void addKeyword(const char *const string, langType language, int value)
Definition: keyword.c:108
void addKeywordGroup(const struct keywordGroup *const groupdef, langType language)
Definition: keyword.c:260
int lookupKeyword(const char *const string, langType language)
Definition: keyword.c:160
int value
Definition: keyword.h:34
bool addingUnlessExisting
Definition: keyword.h:35
const char * keywords[]
Definition: keyword.h:36
int langType
Definition: types.h:13