Julius 4.2
|
00001 00020 /* 00021 * Copyright (c) 1991-2011 Kawahara Lab., Kyoto University 00022 * Copyright (c) 2000-2005 Shikano Lab., Nara Institute of Science and Technology 00023 * Copyright (c) 2005-2011 Julius project team, Nagoya Institute of Technology 00024 * All rights reserved 00025 */ 00026 00027 #ifndef __J_GLOBAL_H__ 00028 #define __J_GLOBAL_H__ 00029 00030 #include <sent/stddefs.h> 00031 #include <sent/vocabulary.h> 00032 #include <julius/wchmm.h> 00033 #include <julius/search.h> 00034 #include <julius/plugin.h> 00035 00041 #ifdef GLOBAL_VARIABLE_DEFINE 00042 #define GLOBAL /* */ 00043 #define GLOBAL_VAL(v) = (v) 00044 #else 00045 #define GLOBAL extern 00046 #define GLOBAL_VAL(v) /* */ 00047 #endif 00048 00049 /* global variables */ 00050 GLOBAL boolean verbose_flag GLOBAL_VAL(TRUE); 00051 GLOBAL boolean debug2_flag GLOBAL_VAL(FALSE); 00052 GLOBAL boolean callback_debug_flag GLOBAL_VAL(FALSE); 00053 00054 /* function list for adin process callback */ 00055 GLOBAL PLUGIN_ENTRY **global_plugin_list GLOBAL_VAL(NULL); 00056 GLOBAL int global_plugin_loaded_file_num GLOBAL_VAL(0); 00057 00058 #endif /* __J_GLOBAL_H__ */