00001 /******************************************************************************/ 00016 /******************************************************************************/ 00017 00018 #ifndef BULL_MSGLOG_H 00019 #define BULL_MSGLOG_H 00020 00021 #include "globals.h" 00022 #include <stdarg.h> 00023 00024 struct LEVEL; 00025 00026 DLLIMPORT void init_messages(void); 00027 DLLIMPORT void free_messages(void); 00028 00029 DLLIMPORT void message_error(const char *format, ...); 00030 DLLIMPORT void message_info(const char *format, ...); 00031 DLLIMPORT void message_info_force(const char *format, ...); 00032 DLLIMPORT short message_is_empty(void); 00033 DLLIMPORT void message_release(void); 00034 DLLIMPORT char *message_get(void); 00035 DLLIMPORT char *message_get_prev(void); 00036 DLLIMPORT short message_hold_get(void); 00037 DLLIMPORT unsigned int message_getcount_get(void); 00038 00039 DLLIMPORT void message_log(const char *format, ...); 00040 DLLIMPORT void message_log_simp(const char *str); 00041 DLLIMPORT void message_log_vl(const char *format, va_list val); 00042 00043 DLLIMPORT short set_msglog_fname(char *fname); 00044 00045 #endif // BULL_MSGLOG_H