35 void (*
func)(
void *
arg,
const unsigned int flags,
const char *str);
41 (*vo->
func)(vo->
arg, flags, str);
50#define STATUS_OUTPUT_READ (1 << 0)
51#define STATUS_OUTPUT_WRITE (1 << 1)
79#if __USE_MINGW_ANSI_STDIO
89static inline unsigned int
static unsigned int status_rw_flags(const struct status_output *so)
static void virtual_output_print(const struct virtual_output *vo, const unsigned int flags, const char *str)
bool status_trigger(struct status_output *so)
void status_printf(struct status_output *so, const char *format,...)
bool status_read(struct status_output *so, struct buffer *buf)
struct status_output * status_open(const char *filename, const int refresh_freq, const int msglevel, const struct virtual_output *vout, const unsigned int flags)
void status_flush(struct status_output *so)
void status_reset(struct status_output *so)
bool status_close(struct status_output *so)
Wrapper structure for dynamically allocated memory.
const struct virtual_output * vout
unsigned int flags_default
void(* func)(void *arg, const unsigned int flags, const char *str)