From 73df817d55376240d17ced8c2b6d89c4f17c4a63 Mon Sep 17 00:00:00 2001 From: Geoff Levand Date: Wed, 21 Jan 2009 16:26:58 -0800 Subject: Flush log stream on write Flush the pb_log stream when the stream is changed, and add an option to flush the pb_log stream on every write. Useful while debugging. Signed-off-by: Geoff Levand Signed-off-by: Jeremy Kerr --- lib/log/log.h | 1 + 1 file changed, 1 insertion(+) (limited to 'lib/log/log.h') diff --git a/lib/log/log.h b/lib/log/log.h index 3e92555..813a19e 100644 --- a/lib/log/log.h +++ b/lib/log/log.h @@ -5,5 +5,6 @@ void pb_log(const char *fmt, ...); void pb_log_set_stream(FILE *stream); +void pb_log_always_flush(int state); #endif /* _LOG_H */ -- cgit v1.2.1