On 12 December 2014 at 00:33, Felix Fietkau <[email protected]> wrote:
> On 2014-11-11 11:51, Yousong Zhou wrote:
>> Useful in the following use pattern.
>>
>> int available = ustream_pending_data(s, false);
>> if (available >= sizeof(struct msghdr)) {
>> struct msghdr h;
>> ustream_fill_with_read_buf(s, &h, sizeof(h));
>> }
>>
>> Signed-off-by: Yousong Zhou <[email protected]>
> I'd prefer to have this named ustream_read() instead - similar to
> ustream_write().
Makes sense. Will adapt the patch.
yousong
>
> - Felix
_______________________________________________
openwrt-devel mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel