| 2754 | } |
| 2755 | |
| 2756 | static inline void ack(cdb2_hndl_tp *hndl) |
| 2757 | { |
| 2758 | hndl->ack = 0; |
| 2759 | struct newsqlheader hdr = {.type = |
| 2760 | htonl(RESPONSE_HEADER__SQL_RESPONSE_PONG)}; |
| 2761 | |
| 2762 | sbuf2write((void *)&hdr, sizeof(hdr), hndl->sb); |
| 2763 | sbuf2flush(hndl->sb); |
| 2764 | } |
| 2765 | |
| 2766 | static int cdb2_read_record(cdb2_hndl_tp *hndl, uint8_t **buf, int *len, int *type) |
| 2767 | { |
no outgoing calls
no test coverage detected