|
GRASS 8 Programmer's Manual 8.6.0dev(2026)-55de52a352
|
DBMI Library (base) - external data representation (short) More...

Go to the source code of this file.
Functions | |
| int | db__send_short (int n) |
| Send short. | |
| int | db__recv_short (short *n) |
| Receive short. | |
| int | db__send_short_array (const short *x, int n) |
| Send short array. | |
| int | db__recv_short_array (short **x, int *n) |
| Receive short array. | |
DBMI Library (base) - external data representation (short)
SPDX-FileCopyrightText: 1999-2009, 2011 GRASS Development Team SPDX-License-Identifier: GPL-2.0-or-later
Definition in file xdrshort.c.
Receive short.
| n |
Definition at line 44 of file xdrshort.c.
References db__recv(), DB_OK, DB_PROTOCOL_ERR, and db_protocol_error().
Receive short array.
Returns an allocated array of ints Caller is responsible for free()
| x | |
| n |
Definition at line 92 of file xdrshort.c.
References count, db__recv(), db_calloc(), DB_OK, DB_PROTOCOL_ERR, db_protocol_error(), NULL, and x.
Send short.
| n |
Definition at line 23 of file xdrshort.c.
References db__send(), DB_OK, DB_PROTOCOL_ERR, and db_protocol_error().
Send short array.
| x | |
| n |
Definition at line 65 of file xdrshort.c.
References db__send(), DB_OK, DB_PROTOCOL_ERR, db_protocol_error(), and x.