GRASS GIS 8 Programmer's Manual  8.2.2dev(2023)-3d2c704037
xdrcolumn.c File Reference

DBMI Library (base) - external data representation (column) More...

#include <grass/dbmi.h>
#include "macros.h"
Include dependency graph for xdrcolumn.c:

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...
 

Detailed Description

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.

Author
Joel Jones (CERL/UIUC), Radim Blazek, Brad Douglas, Markus Neteler
Doxygenized by Martin Landa <landa.martin gmail.com> (2011)

Definition in file xdrcolumn.c.

Function Documentation

◆ db__recv_column_default_value()

int db__recv_column_default_value ( dbColumn column)

Receive column default value.

Parameters
columnpointer to dbColumn
Returns

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().

◆ db__recv_column_definition()

◆ db__recv_column_value()

int db__recv_column_value ( dbColumn column)

Receive column value.

Parameters
columnpointer to dbColumn
Returns

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().

◆ db__send_column_default_value()

int db__send_column_default_value ( dbColumn column)

Send column default value.

Parameters
columnpointer to dbColumn
Returns

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().

◆ db__send_column_definition()

◆ db__send_column_value()

int db__send_column_value ( dbColumn column)

Send column value.

Parameters
columnpointer to dbColumn
Returns

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().