00001 /*------------------------------------------------------------------------*/ 00013 #ifndef LOOKUP_WORDS_H 00014 #define LOOKUP_WORDS_H 00015 00016 00017 /* 型宣言 */ 00018 00020 typedef struct { 00021 char * name; 00022 int tokn; 00023 } keyword_t; 00024 00025 00026 /* 関数プロトタイプ */ 00027 00028 #ifdef __cplusplus 00029 extern "C" { 00030 #endif 00031 00032 00033 int lookup_words(keyword_t words[], int len, const char * s); 00034 void lookup_sorttable(keyword_t words[], int len); 00035 00036 00037 #ifdef __cplusplus 00038 } 00039 #endif 00040 00041 00042 #endif /* LOOKUP_WORDS_H */ 00043
1.5.0