20 #ifndef __REPORT_MESSAGE_H__ 21 #define __REPORT_MESSAGE_H__ 23 #include "ws_symbol_export.h" 32 WS_DLL_PUBLIC
void init_report_message(
33 void (*vreport_failure)(
const char *, va_list),
34 void (*vreport_warning)(
const char *, va_list),
35 void (*report_open_failure)(
const char *,
int, gboolean),
36 void (*report_read_failure)(
const char *,
int),
37 void (*report_write_failure)(
const char *,
int));
42 WS_DLL_PUBLIC
void report_failure(
const char *msg_format, ...) G_GNUC_PRINTF(1, 2);
47 WS_DLL_PUBLIC
void report_warning(const
char *msg_format, ...) G_GNUC_PRINTF(1, 2);
55 WS_DLL_PUBLIC
void report_open_failure(const
char *filename,
int err,
56 gboolean for_writing);
62 WS_DLL_PUBLIC
void report_read_failure(const
char *filename,
int err);
68 WS_DLL_PUBLIC
void report_write_failure(const
char *filename,
int err);