GRASS GIS 8 Programmer's Manual
8.5.0dev(2024)-d6dec75dd4
|
DBMI Library (base) - external data representation (column) More...
Go to the source code of this file.
Functions | |
int | db__send_column_definition (dbColumn *column) |
Send column definition. More... | |
int | db__recv_column_definition (dbColumn *column) |
Receive column definition. More... | |
int | db__send_column_value (dbColumn *column) |
Send column value. More... | |
int | db__recv_column_value (dbColumn *column) |
Receive column value. More... | |
int | db__send_column_default_value (dbColumn *column) |
Send column default value. More... | |
int | db__recv_column_default_value (dbColumn *column) |
Receive column default value. More... | |
DBMI Library (base) - external data representation (column)
(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 xdrcolumn.c.
int db__recv_column_default_value | ( | dbColumn * | column | ) |
Receive column default value.
column | pointer to dbColumn |
Definition at line 120 of file xdrcolumn.c.
References db__recv_value(), db_get_column_default_value(), db_get_column_sqltype(), and db_sqltype_to_Ctype().
int db__recv_column_definition | ( | dbColumn * | column | ) |
Receive column definition.
column | pointer to dbColumn |
Definition at line 53 of file xdrcolumn.c.
References _db_column::columnName, _db_column::dataLen, DB_OK, DB_RECV_CHAR, DB_RECV_COLUMN_DEFAULT_VALUE, DB_RECV_INT, DB_RECV_STRING, _db_column::description, _db_column::hasDefaultValue, _db_column::hostDataType, _db_column::nullAllowed, _db_column::precision, _db_column::scale, _db_column::select, _db_column::sqlDataType, _db_column::update, and _db_column::useDefaultValue.
int db__recv_column_value | ( | dbColumn * | column | ) |
Receive column value.
column | pointer to dbColumn |
Definition at line 94 of file xdrcolumn.c.
References db__recv_value(), db_get_column_sqltype(), db_get_column_value(), and db_sqltype_to_Ctype().
int db__send_column_default_value | ( | dbColumn * | column | ) |
Send column default value.
column | pointer to dbColumn |
Definition at line 107 of file xdrcolumn.c.
References db__send_value(), db_get_column_default_value(), db_get_column_sqltype(), and db_sqltype_to_Ctype().
int db__send_column_definition | ( | dbColumn * | column | ) |
Send column definition.
column | pointer to dbColumn |
Definition at line 25 of file xdrcolumn.c.
References _db_column::columnName, _db_column::dataLen, DB_OK, DB_SEND_CHAR, DB_SEND_COLUMN_DEFAULT_VALUE, DB_SEND_INT, DB_SEND_STRING, _db_column::description, _db_column::hasDefaultValue, _db_column::hostDataType, _db_column::nullAllowed, _db_column::precision, _db_column::scale, _db_column::select, _db_column::sqlDataType, _db_column::update, and _db_column::useDefaultValue.
int db__send_column_value | ( | dbColumn * | column | ) |
Send column value.
column | pointer to dbColumn |
Definition at line 81 of file xdrcolumn.c.
References db__send_value(), db_get_column_sqltype(), db_get_column_value(), and db_sqltype_to_Ctype().