66 for (i = 0; i <
count; i++) {
90 int len = s ? strlen(s) + 1 : 1;
int db__recv(void *buf, size_t size)
int db__send(const void *buf, size_t size)
?
int db__send_int(int)
Send integer.
int db_enlarge_string(dbString *, int)
Enlarge dbString.
int db__recv_int(int *)
Receive integer.
void db_free_string_array(dbString *, int)
Free allocated dbString array.
int db_set_string_no_copy(dbString *, char *)
Inserts string to dbString (overwrite current value)
void db_init_string(dbString *)
Initialize dbString.
dbString * db_alloc_string_array(int)
Allocate dbString array.
void db_protocol_error(void)
Report protocol error.
char * db_get_string(const dbString *)
Get string.
int db__send_Cstring(const char *s)
Send C string.
int db__send_string(dbString *x)
Send string.
int db__recv_string_array(dbString **a, int *n)
Receive string array.
int db__send_string_array(dbString *a, int count)
Send string array.
int db__recv_string(dbString *x)
Reads a string from transport.