Register a write handler, to be called when the connection is writable. * If NULL, the existing handler is removed. */
| 156 | * If NULL, the existing handler is removed. |
| 157 | */ |
| 158 | static inline int connSetWriteHandler(connection *conn, ConnectionCallbackFunc func) { |
| 159 | return conn->type->set_write_handler(conn, func, 0); |
| 160 | } |
| 161 | |
| 162 | /* Register a read handler, to be called when the connection is readable. |
| 163 | * If NULL, the existing handler is removed. |
no outgoing calls
no test coverage detected