98 if (!
db__recv(&count,
sizeof(count)))
103 *x = a = (
int *)
db_calloc(count,
sizeof(*a));
105 if (!
db__recv(a, count *
sizeof(*a)))
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__send_int(int n)
Send integer.
void * db_calloc(int, int)
Allocate memory.
int db__recv(void *buf, size_t size)
void db_protocol_error(void)
Report protocol error.
int db__send(const void *buf, size_t size)
?
int db__recv_int(int *n)
Receive integer.