X-Git-Url: http://git.ozlabs.org/?p=petitboot;a=blobdiff_plain;f=lib%2Flog%2Flog.h;h=6f44bea0d38ac1fd9bd543676757ce47af788a64;hp=3e92555a12c62a104694860faa3fa9419c1bfec4;hb=d29c9620cd853d9ead31075f237f53b9e6301a52;hpb=dae4540e417e2bf72dd83b2713a670bde0056ba9 diff --git a/lib/log/log.h b/lib/log/log.h index 3e92555..6f44bea 100644 --- a/lib/log/log.h +++ b/lib/log/log.h @@ -3,7 +3,9 @@ #include -void pb_log(const char *fmt, ...); +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 */