GRASS GIS 8 Programmer's Manual
8.5.0dev(2024)-36359e2344
|
DBMI Library (base) - external data representation (value) More...
Go to the source code of this file.
Functions | |
int | db__send_value (dbValue *value, int Ctype) |
Send value. More... | |
int | db__recv_value (dbValue *value, int Ctype) |
Receive value. More... | |
DBMI Library (base) - external data representation (value)
(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 xdrvalue.c.
int db__recv_value | ( | dbValue * | value, |
int | Ctype | ||
) |
Receive value.
value | |
Ctype |
Definition at line 62 of file xdrvalue.c.
References _, _db_value::d, DB_C_TYPE_DATETIME, DB_C_TYPE_DOUBLE, DB_C_TYPE_INT, DB_C_TYPE_STRING, db_error(), DB_FAILED, DB_OK, DB_RECV_CHAR, DB_RECV_DATETIME, DB_RECV_DOUBLE, DB_RECV_INT, DB_RECV_STRING, _db_value::i, _db_value::isNull, _db_value::s, and _db_value::t.
Referenced by db__recv_column_default_value(), and db__recv_column_value().
int db__send_value | ( | dbValue * | value, |
int | Ctype | ||
) |
Send value.
value | |
Ctype |
Definition at line 28 of file xdrvalue.c.
References _db_value::d, DB_C_TYPE_DATETIME, DB_C_TYPE_DOUBLE, DB_C_TYPE_INT, DB_C_TYPE_STRING, db_error(), DB_FAILED, DB_OK, DB_SEND_CHAR, DB_SEND_DATETIME, DB_SEND_DOUBLE, DB_SEND_INT, DB_SEND_STRING, _db_value::i, _db_value::isNull, _db_value::s, and _db_value::t.
Referenced by db__send_column_default_value(), and db__send_column_value().