GRASS GIS 7 Programmer's Manual  7.7.svn(2018)-r73679
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
gis/xdr.c File Reference

GIS Library - XDR related functions. More...

#include <stdlib.h>
#include <string.h>
#include <grass/gis.h>
#include "G.h"
Include dependency graph for gis/xdr.c:

Go to the source code of this file.

Functions

void G_xdr_get_int (int *dst, const void *src)
 
void G_xdr_put_int (void *dst, const int *src)
 
void G_xdr_get_float (float *dst, const void *src)
 
void G_xdr_put_float (void *dst, const float *src)
 
void G_xdr_get_double (double *dst, const void *src)
 
void G_xdr_put_double (void *dst, const double *src)
 

Detailed Description

GIS Library - XDR related functions.

(C) 2012-2014 by the GRASS Development Team

This program is free software under the GNU General Public License (>=v2). Read the file COPYING that comes with GRASS for details.

Author
Glynn Clements

Definition in file gis/xdr.c.

Function Documentation

void G_xdr_get_double ( double *  dst,
const void *  src 
)

Definition at line 83 of file gis/xdr.c.

Referenced by Rast3d_read_doubles(), Rast_read_fp_range(), and Rast_read_rstats().

void G_xdr_get_float ( float *  dst,
const void *  src 
)

Definition at line 73 of file gis/xdr.c.

void G_xdr_get_int ( int dst,
const void *  src 
)

Definition at line 63 of file gis/xdr.c.

Referenced by Rast3d_read_ints().

void G_xdr_put_double ( void *  dst,
const double *  src 
)

Definition at line 88 of file gis/xdr.c.

Referenced by Rast3d_write_doubles(), Rast_write_fp_range(), and Rast_write_rstats().

void G_xdr_put_float ( void *  dst,
const float *  src 
)

Definition at line 78 of file gis/xdr.c.

void G_xdr_put_int ( void *  dst,
const int src 
)

Definition at line 68 of file gis/xdr.c.

Referenced by Rast3d_write_ints().