GRASS GIS 7 Programmer's Manual  7.5.svn(2018)-r72636
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
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

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_date_time::current, _db_date_time::day, DB_OK, DB_RECV_CHAR, DB_RECV_DOUBLE, DB_RECV_INT, _db_date_time::hour, _db_date_time::minute, _db_date_time::month, _db_date_time::seconds, and _db_date_time::year.

int db__send_datetime ( dbDateTime t)