22#ifndef __REPORT_MESSAGE_H__
23#define __REPORT_MESSAGE_H__
35 void (*vreport_failure)(
const char *, va_list);
36 void (*vreport_warning)(
const char *, va_list);
37 void (*report_open_failure)(
const char *, int, bool);
38 void (*report_read_failure)(
const char *, int);
39 void (*report_write_failure)(
const char *, int);
40 void (*report_rename_failure)(
const char *,
const char *, int);
41 void (*report_cfile_open_failure)(
const char *, int,
char *);
42 void (*report_cfile_dump_open_failure)(
const char *, int,
char *, int);
43 void (*report_cfile_read_failure)(
const char *, int,
char *);
44 void (*report_cfile_write_failure)(
const char *,
const char *,
45 int,
char *, uint64_t, int);
46 void (*report_cfile_close_failure)(
const char *, int,
char *);
49WS_DLL_PUBLIC
void init_report_message(
const char *friendly_program_name,
55WS_DLL_PUBLIC
void report_failure(
const char *msg_format, ...) G_GNUC_PRINTF(1, 2);
60WS_DLL_PUBLIC
void report_warning(const
char *msg_format, ...) G_GNUC_PRINTF(1, 2);
68WS_DLL_PUBLIC
void report_open_failure(const
char *filename,
int err,
75WS_DLL_PUBLIC
void report_read_failure(const
char *filename,
int err);
81WS_DLL_PUBLIC
void report_write_failure(const
char *filename,
int err);
87WS_DLL_PUBLIC
void report_rename_failure(const
char *old_filename,
88 const
char *new_filename,
int err);
93WS_DLL_PUBLIC
void report_cfile_open_failure(const
char *filename,
94 int err,
char *err_info);
99WS_DLL_PUBLIC
void report_cfile_dump_open_failure(const
char *filename,
100 int err,
char *err_info,
int file_type_subtype);
105WS_DLL_PUBLIC
void report_cfile_read_failure(const
char *filename,
106 int err,
char *err_info);
111WS_DLL_PUBLIC
void report_cfile_write_failure(const
char *in_filename,
112 const
char *out_filename,
int err,
char *err_info, uint64_t framenum,
113 int file_type_subtype);
118WS_DLL_PUBLIC
void report_cfile_close_failure(const
char *filename,
119 int err,
char *err_info);
124WS_DLL_PUBLIC const
char *get_friendly_program_name(
void);
Definition report_message.h:34