100 if (!
db__recv(&count,
sizeof(count)))
105 *x = a = (
short *)
db_calloc(count,
sizeof(*a));
107 if (!
db__recv(a, count *
sizeof(*a)))
int db__send_short(int n)
Send short.
void * db_calloc(int, int)
Allocate memory.
int db__recv(void *buf, size_t size)
int db__send_short_array(const short *x, int n)
Send short array.
void db_protocol_error(void)
Report protocol error.
int db__send(const void *buf, size_t size)
?
int db__recv_short(short *n)
Receive short.
int db__recv_short_array(short **x, int *n)
Receive short array.