GRASS Programmer's Manual  6.5.svn(2014)-r66266
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
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(), db_protocol_error(), and stat.

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(), NULL, and stat.

int db__send_short ( int  n)

Definition at line 5 of file xdrshort.c.

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

int db__send_short_array ( const short *  x,
int  n 
)

Definition at line 32 of file xdrshort.c.

References db__send(), db_protocol_error(), and stat.