98 if (!
db__recv(&count,
sizeof(count)))
103 *x = a = (
float *)
db_calloc(count,
sizeof(*a));
105 if (!
db__recv(a, count *
sizeof(*a)))
int db__send_float(float d)
Send float.
int db__send_float_array(const float *x, int n)
Send float array.
int db__recv_float(float *d)
Receive float.
void * db_calloc(int, int)
Allocate memory.
int db__recv_float_array(float **x, int *n)
Receive float array.
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)
?