Age | Commit message (Collapse) | Author | |
---|---|---|---|
2019-06-16 | ustream: Add format string checks to ustream_(v)printf() | Hauke Mehrtens | |
This tells the compiler that these functions are takeing a format string, the compiler will now do additional checks and is able to emitt a compile warning in case the format string is not valid. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> | |||
2015-01-21 | ustream: add function ustream_read(). | Yousong Zhou | |
It can be used to fill caller-specified buffer with data already in ustream read buffer. Useful in the following use pattern. int available = ustream_pending_data(s, false); if (available >= sizeof(struct msghdr)) { struct msghdr h; ustream_read(s, &h, sizeof(h)); } Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com> | |||
2013-01-31 | ustream: another fix for ustream_read_buf_full() with split read buffers | Felix Fietkau | |
Signed-off-by: Felix Fietkau <nbd@openwrt.org> | |||
2013-01-30 | ustream: fix ustream_read_buf_full() for multiple read buffers | Felix Fietkau | |
Signed-off-by: Felix Fietkau <nbd@openwrt.org> | |||
2013-01-01 | ustream: add ustream_pending_data accessor function | Felix Fietkau | |
Signed-off-by: Felix Fietkau <nbd@openwrt.org> | |||
2012-12-30 | ustream: add ustream_read_buf_full() helper | Felix Fietkau | |
Signed-off-by: Felix Fietkau <nbd@openwrt.org> | |||
2012-10-30 | ustream: make notify_state optional as well | Felix Fietkau | |
2012-10-30 | ustream: mark notify_read cb as optional | Felix Fietkau | |
2012-10-30 | ustream: add a poll callback function defined by the ustream implementation | Felix Fietkau | |
2012-10-23 | ustream: add a pointer to the ustream struct useful for chaining ustreams | Felix Fietkau | |
2012-10-22 | ustream.h: include stdarg.h | Felix Fietkau | |
2012-10-22 | add ustream, an api for stream buffer management | Felix Fietkau | |