|
GRASS 8 Programmer's Manual 8.6.0dev(2026)-ddeab64dbf
|
DBMI Library (base) - external data representation (string) More...

Go to the source code of this file.
Functions | |
| int | db__send_string_array (dbString *a, int count) |
| Send string array. | |
| int | db__recv_string_array (dbString **a, int *n) |
| Receive string array. | |
| int | db__send_string (dbString *x) |
| Send string. | |
| int | db__recv_string (dbString *x) |
| Reads a string from transport. | |
| int | db__send_Cstring (const char *s) |
| Send C string. | |
DBMI Library (base) - external data representation (string)
(C) 1999-2009, 2011 by the GRASS Development Team
This program is free software under the GNU General Public License (>=v2). Read the file COPYING that comes with GRASS for details.
Definition in file xdrstring.c.
Reads a string from transport.
Note: caller MUST initialize x by calling db_init_string()
| x |
Definition at line 117 of file xdrstring.c.
References db__recv(), db_enlarge_string(), db_get_string(), DB_OK, DB_PROTOCOL_ERR, db_protocol_error(), and x.
Referenced by db__recv_string_array().
Receive string array.
| a | |
| n |
Definition at line 46 of file xdrstring.c.
References b, count, db__recv_int(), db__recv_string(), db_alloc_string_array(), db_free_string_array(), DB_MEMORY_ERR, DB_OK, DB_PROTOCOL_ERR, db_protocol_error(), and NULL.
Send C string.
| s |
Definition at line 150 of file xdrstring.c.
References db__send_string(), db_init_string(), db_set_string_no_copy(), and x.
Send string.
| x |
Definition at line 86 of file xdrstring.c.
References db__send(), db_get_string(), DB_OK, DB_PROTOCOL_ERR, db_protocol_error(), and x.
Referenced by db__send_Cstring(), and db__send_string_array().
Send string array.
| a | |
| count |
Definition at line 26 of file xdrstring.c.
References count, db__send_int(), db__send_string(), and DB_OK.