GRASS GIS 7 Programmer's Manual  7.9.dev(2021)-e5379bbd7
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

◆ G_xdr_get_double()

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

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

Referenced by Rast3d_read_range(), and Rast_read_fp_range().

◆ G_xdr_get_float()

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

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

◆ G_xdr_get_int()

void G_xdr_get_int ( int *  dst,
const void *  src 
)

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

◆ G_xdr_put_double()

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

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

Referenced by Rast_write_fp_range(), and Rast_write_rstats().

◆ G_xdr_put_float()

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

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

◆ G_xdr_put_int()

void G_xdr_put_int ( void *  dst,
const int *  src 
)

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