int db__recv(void *buf, size_t size)
int db__send(const void *buf, size_t size)
?
void * db_calloc(int, int)
Allocate memory.
void db_protocol_error(void)
Report protocol error.
int db__send_int(int n)
Send integer.
int db__send_int_array(const int *x, int n)
Send integer array.
int db__recv_int_array(int **x, int *n)
Receive integer array.
int db__recv_int(int *n)
Receive integer.