Returns the last error encountered by the connection, as a string. If no error, * a NULL is returned. */
| 183 | * a NULL is returned. |
| 184 | */ |
| 185 | static inline const char *connGetLastError(connection *conn) { |
| 186 | return conn->type->get_last_error(conn); |
| 187 | } |
| 188 | |
| 189 | static inline ssize_t connSyncWrite(connection *conn, char *ptr, ssize_t size, long long timeout) { |
| 190 | return conn->type->sync_write(conn, ptr, size, timeout); |
no outgoing calls
no test coverage detected