ustream: add a pointer to the ustream struct useful for chaining ustreams
authorFelix Fietkau <nbd@openwrt.org>
Mon, 22 Oct 2012 20:28:43 +0000 (22:28 +0200)
committerFelix Fietkau <nbd@openwrt.org>
Mon, 22 Oct 2012 20:28:47 +0000 (22:28 +0200)
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 {
        struct ustream_buf_list r, w;
        struct uloop_timeout state_change;
+       struct ustream *next;
 
        /*
         * notify_read:
 
        /*
         * notify_read: