Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | stream: Make sure no watcher callback is active while changing stream callbacks | Martin Willi | 2014-01-22 | 1 | -14/+3 |
| | | | | | | | | | | | When changing async callbacks on streams, we have to make sure the watcher callback is not currently active and has temporarily disabled callbacks. This could have been the case, as we didn't explicitly removed any pending watcher registration if both callbacks are NULL. By enforcing the watcher unregistration, we are sure the watcher callback is not active and currently is not mangling the callback hooks. This should make sure we avoid any races for the callback variables. | ||||
* | stream: Ensure UNIX socket path is null terminated | Tobias Brunner | 2013-07-24 | 1 | -0/+1 |
| | |||||
* | stream: allow async read/write callback to destroy the stream explicitly | Martin Willi | 2013-07-18 | 1 | -6/+11 |
| | |||||
* | stream: add read/write_all() methods to stream | Martin Willi | 2013-07-18 | 1 | -2/+48 |
| | |||||
* | stream: replace print/vprint() convenience functions by a FILE* getter | Martin Willi | 2013-07-18 | 1 | -37/+17 |
| | | | | | While this will complicate the implementation of streams not based on a fd, it allows us to unleash the full power of FILE based convenience functions. | ||||
* | stream: add support for TCP streams | Martin Willi | 2013-07-18 | 1 | -2/+79 |
| | |||||
* | stream: add support for UNIX streams | Martin Willi | 2013-07-18 | 1 | -0/+49 |
| | |||||
* | stream: support async operation using watcher | Martin Willi | 2013-07-18 | 1 | -0/+109 |
| | |||||
* | stream: add printf()-style covenience functions | Martin Willi | 2013-07-18 | 1 | -1/+42 |
| | |||||
* | stream: create library instance of stream-manager | Martin Willi | 2013-07-18 | 1 | -2/+1 |
| | |||||
* | stream: add a stream class abstracting BSD sockets | Martin Willi | 2013-07-18 | 1 | -0/+119 |
Currently only synchronous operation is supported, but this will be extended with asynchronous methods using the new watcher. |