diff options
author | Felix Fietkau <nbd@openwrt.org> | 2012-10-29 23:55:14 +0100 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2012-10-29 23:55:14 +0100 |
commit | 363eee36e3a190fe77f5d7880d9ce637f0619507 (patch) | |
tree | 14869856823fae743bff07d8a199d9cc9eb3525b /netifd.h | |
parent | c173c610044890c539584f3beb927e71ff83c198 (diff) |
use ustream for process message logging
Diffstat (limited to 'netifd.h')
-rw-r--r-- | netifd.h | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -21,6 +21,7 @@ #include <stdio.h> #include <libubox/uloop.h> +#include <libubox/ustream.h> #include <libubus.h> @@ -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; }; |