GRASS GIS 8 Programmer's Manual  8.5.0dev(2024)-36359e2344
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 89 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 79 of file gis/xdr.c.

◆ G_xdr_get_int()

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

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

◆ G_xdr_put_double()

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

Definition at line 94 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 84 of file gis/xdr.c.

◆ G_xdr_put_int()

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

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