GRASS GIS 8 Programmer's Manual
8.5.0dev(2025)-565e82de51
Main Page
Related Pages
Data Structures
Data Structures
Class Hierarchy
Data Fields
All
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Functions
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
~
Variables
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Related Functions
Files
File List
Globals
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
Variables
_
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
w
x
y
Typedefs
a
b
c
d
e
f
g
h
i
j
k
l
m
o
p
r
s
t
u
v
w
y
Enumerations
a
c
d
e
h
i
j
l
m
n
o
p
r
s
t
v
y
Enumerator
_
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
r
s
t
u
v
w
y
Macros
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
•
All
Data Structures
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
xdrhandle.c
Go to the documentation of this file.
1
/*!
2
\file lib/db/dbmi_base/xdrhandle.c
3
4
\brief DBMI Library (base) - external data representation (handle)
5
6
(C) 1999-2009, 2011 by the GRASS Development Team
7
8
This program is free software under the GNU General Public License
9
(>=v2). Read the file COPYING that comes with GRASS for details.
10
11
\author Joel Jones (CERL/UIUC), Radim Blazek, Brad Douglas, Markus Neteler
12
\author Doxygenized by Martin Landa <landa.martin gmail.com> (2011)
13
*/
14
15
#include <
grass/dbmi.h
>
16
#include "
macros.h
"
17
18
/*!
19
\brief Send handle
20
21
\param handle
22
23
\return
24
*/
25
int
db__send_handle
(
dbHandle
*handle)
26
{
27
DB_SEND_STRING
(&handle->
dbName
);
28
DB_SEND_STRING
(&handle->
dbSchema
);
29
30
return
DB_OK
;
31
}
32
33
/*!
34
\brief Receive handle
35
36
\param handle
37
38
\return
39
*/
40
int
db__recv_handle
(
dbHandle
*handle)
41
{
42
DB_RECV_STRING
(&handle->
dbName
);
43
DB_RECV_STRING
(&handle->
dbSchema
);
44
45
return
DB_OK
;
46
}
dbmi.h
DB_OK
#define DB_OK
Definition:
dbmi.h:71
macros.h
DB_SEND_STRING
#define DB_SEND_STRING(x)
Definition:
macros.h:24
DB_RECV_STRING
#define DB_RECV_STRING(x)
Definition:
macros.h:39
_db_handle
Definition:
dbmi.h:171
_db_handle::dbSchema
dbString dbSchema
Definition:
dbmi.h:174
_db_handle::dbName
dbString dbName
Definition:
dbmi.h:172
db__send_handle
int db__send_handle(dbHandle *handle)
Send handle.
Definition:
xdrhandle.c:25
db__recv_handle
int db__recv_handle(dbHandle *handle)
Receive handle.
Definition:
xdrhandle.c:40
lib
db
dbmi_base
xdrhandle.c
Generated on Thu Mar 20 2025 07:33:31 for GRASS GIS 8 Programmer's Manual by
1.9.1