GRASS GIS 8 Programmer's Manual  8.5.0dev(2024)-36359e2344
db/dbmi_base/xdr.c File Reference

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

#include "xdr.h"
Include dependency graph for db/dbmi_base/xdr.c:

Go to the source code of this file.

Macros

#define USE_STDIO   1
 
#define USE_READN   0
 

Functions

void db__set_protocol_fds (FILE *send, FILE *recv)
 ? More...
 
int db__send (const void *buf, size_t size)
 ? More...
 
int db__recv (void *buf, size_t size)
 

Detailed Description

DBMI Library (base) - external data representation.

(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 db/dbmi_base/xdr.c.

Macro Definition Documentation

◆ USE_READN

#define USE_READN   0

Definition at line 22 of file db/dbmi_base/xdr.c.

◆ USE_STDIO

#define USE_STDIO   1

Definition at line 21 of file db/dbmi_base/xdr.c.

Function Documentation

◆ db__recv()

int db__recv ( void *  buf,
size_t  size 
)

Definition at line 100 of file db/dbmi_base/xdr.c.

Referenced by db__recv_int(), db__recv_procnum(), and db__recv_short().

◆ db__send()

int db__send ( const void *  buf,
size_t  size 
)

?

Parameters
buf
size
Returns

Definition at line 89 of file db/dbmi_base/xdr.c.

Referenced by db__send_double_array(), db__send_float_array(), db__send_int(), db__send_int_array(), and db__send_short_array().

◆ db__set_protocol_fds()