GRASS Programmer's Manual  6.4.4(2014)-r
xdrshort.c File Reference
#include <stdlib.h>
#include "xdr.h"
Include dependency graph for xdrshort.c:

Go to the source code of this file.

Functions

int db__send_short (int n)
 
int db__recv_short (short *n)
 
int db__send_short_array (const short *x, int n)
 
int db__recv_short_array (short **x, int *n)
 

Function Documentation

int db__recv_short ( short *  n)

Definition at line 19 of file xdrshort.c.

References db__recv(), and db_protocol_error().

int db__recv_short_array ( short **  x,
int *  n 
)

Definition at line 50 of file xdrshort.c.

References count, db__recv(), db_calloc(), db_protocol_error(), and NULL.

int db__send_short ( int  n)

Definition at line 5 of file xdrshort.c.

References db__send(), db_protocol_error(), and dialogs::h.

int db__send_short_array ( const short *  x,
int  n 
)

Definition at line 32 of file xdrshort.c.

References db__send(), and db_protocol_error().