#ifndef _LOG_H #define _LOG_H #include void __attribute__ ((format (printf, 1, 2))) pb_log(const char *fmt, ...); void pb_log_set_stream(FILE *stream); FILE * pb_log_get_stream(void); void pb_log_always_flush(int state); #endif /* _LOG_H */