11 stat = DB_PROTOCOL_ERR;
13 if (stat == DB_PROTOCOL_ERR)
24 stat = DB_PROTOCOL_ERR;
26 if (stat == DB_PROTOCOL_ERR)
37 stat = DB_PROTOCOL_ERR;
40 stat = DB_PROTOCOL_ERR;
42 if (stat == DB_PROTOCOL_ERR)
56 if (!
db__recv(&count,
sizeof(count)))
57 stat = DB_PROTOCOL_ERR;
61 *x = a = (
short *)
db_calloc(count,
sizeof(*a));
63 if (!
db__recv(a, count *
sizeof(*a)))
64 stat = DB_PROTOCOL_ERR;
66 if (stat == DB_PROTOCOL_ERR)
int db__send(const void *buf, size_t size)
int db__send_short(int n)
void * db_calloc(int n, int m)
void db_protocol_error(void)
int db__recv(void *buf, size_t size)
int db__send_short_array(const short *x, int n)
int db__recv_short(short *n)
tuple h
panel.defaultSize = wx.CheckBox(panel, id = wx.ID_ANY, label = _("Use default size")) panel...
int db__recv_short_array(short **x, int *n)