GRASS GIS 8 Programmer's Manual  8.5.0dev(2024)-d6dec75dd4
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

◆ db__recv_index()

int db__recv_index ( dbIndex index)

Receive index.

Parameters
index
Returns

Definition at line 68 of file xdrindex.c.

◆ db__recv_index_array()

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

Receive index array.

Parameters
list
count

Definition at line 95 of file xdrindex.c.

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

◆ db__send_index()

int db__send_index ( dbIndex index)

◆ db__send_index_array()

int db__send_index_array ( dbIndex list,
int  count 
)

Send index array.

Parameters
list
count
Returns

Definition at line 50 of file xdrindex.c.

References count, DB_OK, DB_SEND_INDEX, and DB_SEND_INT.