96 if (!
db__recv(&count,
sizeof(count)))
101 *x = a = (
double *)
db_calloc(count,
sizeof(*a));
103 if (!
db__recv(a, count *
sizeof(*a)))
int db__recv_double_array(double **x, int *n)
Receive double array.
int db__send_double(double d)
Send double.
int db__send_double_array(const double *x, int n)
Send double array.
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_double(double *d)
Receive double.