GRASS GIS 7 Programmer's Manual  7.5.svn(2017)-r71942
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
xdrindex.c File Reference

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

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

Go to the source code of this file.

Functions

int db__send_index (dbIndex *index)
 Send index. More...
 
int db__send_index_array (dbIndex *list, int count)
 Send index array. More...
 
int db__recv_index (dbIndex *index)
 Receive index. More...
 
int db__recv_index_array (dbIndex **list, int *count)
 Receive index array. More...
 

Detailed Description

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

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

Function Documentation

int db__recv_index ( dbIndex index)
int db__recv_index_array ( dbIndex **  list,
int count 
)

Receive index array.

Parameters
list
count

Definition at line 96 of file xdrindex.c.

References count, db_alloc_index_array(), db_get_error_code(), DB_OK, DB_RECV_INDEX, DB_RECV_INT, and NULL.

int db__send_index ( dbIndex index)
int db__send_index_array ( dbIndex list,
int  count 
)

Send index array.

Parameters
list
count
Returns

Definition at line 51 of file xdrindex.c.

References count, DB_OK, DB_SEND_INDEX, and DB_SEND_INT.