GRASS GIS 8 Programmer's Manual  8.4.0dev(2024)-112dd97adf
xdrdatetime.c File Reference

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

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

Go to the source code of this file.

Functions

int db__send_datetime (dbDateTime *t)
 Send datetime. More...
 
int db__recv_datetime (dbDateTime *t)
 Receive datetime. More...
 

Detailed Description

DBMI Library (base) - external data representation (datatime)

(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 xdrdatetime.c.

Function Documentation

◆ db__recv_datetime()

int db__recv_datetime ( dbDateTime t)

Receive datetime.

Parameters
tpointer to dbDateTime
Returns
DB_OK

Definition at line 47 of file xdrdatetime.c.

References DB_OK, DB_RECV_CHAR, DB_RECV_DOUBLE, DB_RECV_INT, and t.

◆ db__send_datetime()

int db__send_datetime ( dbDateTime t)

Send datetime.

Parameters
tpointer to dbDateTime
Returns
DB_OK

Definition at line 25 of file xdrdatetime.c.

References DB_OK, DB_SEND_CHAR, DB_SEND_DOUBLE, DB_SEND_INT, and t.