ustream: add a pointer to the ustream struct useful for chaining ustreams
[project/libubox.git] / ustream.h
index 0ec2ac3..29f370f 100644 (file)
--- a/ustream.h
+++ b/ustream.h
@@ -49,6 +49,7 @@ struct ustream_buf_list {
 struct ustream {
        struct ustream_buf_list r, w;
        struct uloop_timeout state_change;
+       struct ustream *next;
 
        /*
         * notify_read: