Returns true if a write handler is registered */
| 121 | |
| 122 | /* Returns true if a write handler is registered */ |
| 123 | int connHasWriteHandler(connection *conn) { |
| 124 | return conn->write_handler != NULL; |
| 125 | } |
| 126 | |
| 127 | /* Returns true if a read handler is registered */ |
| 128 | int connHasReadHandler(connection *conn) { |
no outgoing calls
no test coverage detected