GRASS 8 Programmer's Manual 8.6.0dev(2026)-4bb960b182
Loading...
Searching...
No Matches
xdrtoken.c
Go to the documentation of this file.
1/*!
2 \file lib/db/dbmi_base/xdrtoken.c
3
4 \brief DBMI Library (base) - external data representation (token)
5
6 SPDX-FileCopyrightText: 1999-2009, 2011 GRASS Development Team
7 SPDX-License-Identifier: GPL-2.0-or-later
8
9 \author Joel Jones (CERL/UIUC), Radim Blazek, Brad Douglas, Markus Neteler
10 \author Doxygenized by Martin Landa <landa.martin gmail.com> (2011)
11 */
12
13#include <grass/dbmi.h>
14
15/*!
16 \brief Send token
17
18 \param token
19
20 \return
21 */
23{
24 return db__send_int(*token);
25}
26
27/*!
28 \brief Receive token
29
30 \param token
31
32 \return
33 */
35{
36 return db__recv_int(token);
37}
Main header of GRASS DataBase Management Interface.
int dbToken
Definition dbmi.h:143
int db__send_int(int)
Send integer.
Definition xdrint.c:22
int db__recv_int(int *)
Receive integer.
Definition xdrint.c:42
int db__recv_token(dbToken *token)
Receive token.
Definition xdrtoken.c:34
int db__send_token(dbToken *token)
Send token.
Definition xdrtoken.c:22