From 363eee36e3a190fe77f5d7880d9ce637f0619507 Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Mon, 29 Oct 2012 23:55:14 +0100 Subject: use ustream for process message logging --- netifd.h | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'netifd.h') diff --git a/netifd.h b/netifd.h index ac0c0f2..aa955ef 100644 --- a/netifd.h +++ b/netifd.h @@ -21,6 +21,7 @@ #include #include +#include #include @@ -77,10 +78,8 @@ struct netifd_process { void (*cb)(struct netifd_process *, int ret); int dir_fd; - struct uloop_fd log_uloop; + struct ustream_fd log; const char *log_prefix; - char *log_buf; - int log_buf_ofs; bool log_overflow; }; -- cgit v1.2.3