Register a write handler, to be called when the connection is writable. * If NULL, the existing handler is removed. */
| 163 | * If NULL, the existing handler is removed. |
| 164 | */ |
| 165 | static inline int connSetWriteHandler(connection *conn, ConnectionCallbackFunc func, bool fThreadSafe = false) { |
| 166 | return conn->type->set_write_handler(conn, func, 0, fThreadSafe); |
| 167 | } |
| 168 | |
| 169 | /* Register a read handler, to be called when the connection is readable. |
| 170 | * If NULL, the existing handler is removed. |
no outgoing calls
no test coverage detected