GRASS GIS 8 Programmer's Manual  8.5.0dev(2024)-36359e2344
fpxdr.c File Reference
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <sys/types.h>
#include <unistd.h>
#include <grass/raster.h>
#include "raster3d_intern.h"
Include dependency graph for fpxdr.c:

Go to the source code of this file.

Functions

int Rast3d_is_xdr_null_num (const void *num, int isFloat)
 
int Rast3d_is_xdr_null_float (const float *f)
 
int Rast3d_is_xdr_null_double (const double *d)
 
void Rast3d_set_xdr_null_num (void *num, int isFloat)
 
void Rast3d_set_xdr_null_double (double *d)
 
void Rast3d_set_xdr_null_float (float *f)
 
int Rast3d_init_fp_xdr (RASTER3D_Map *map, int misuseBytes)
 
int Rast3d_init_copy_to_xdr (RASTER3D_Map *map, int sType)
 
int Rast3d_copy_to_xdr (const void *src, int nofNum)
 
int Rast3d_init_copy_from_xdr (RASTER3D_Map *map, int dType)
 
int Rast3d_copy_from_xdr (int nofNum, void *dst)
 

Function Documentation

◆ Rast3d_copy_from_xdr()

int Rast3d_copy_from_xdr ( int  nofNum,
void *  dst 
)

Definition at line 223 of file fpxdr.c.

◆ Rast3d_copy_to_xdr()

int Rast3d_copy_to_xdr ( const void *  src,
int  nofNum 
)

Definition at line 141 of file fpxdr.c.

◆ Rast3d_init_copy_from_xdr()

int Rast3d_init_copy_from_xdr ( RASTER3D_Map map,
int  dType 
)

Definition at line 184 of file fpxdr.c.

◆ Rast3d_init_copy_to_xdr()

int Rast3d_init_copy_to_xdr ( RASTER3D_Map map,
int  sType 
)

Definition at line 102 of file fpxdr.c.

◆ Rast3d_init_fp_xdr()

int Rast3d_init_fp_xdr ( RASTER3D_Map map,
int  misuseBytes 
)

◆ Rast3d_is_xdr_null_double()

int Rast3d_is_xdr_null_double ( const double *  d)

Definition at line 31 of file fpxdr.c.

◆ Rast3d_is_xdr_null_float()

int Rast3d_is_xdr_null_float ( const float *  f)

Definition at line 24 of file fpxdr.c.

References Rast3d_is_xdr_null_num().

◆ Rast3d_is_xdr_null_num()

int Rast3d_is_xdr_null_num ( const void *  num,
int  isFloat 
)

Definition at line 13 of file fpxdr.c.

Referenced by Rast3d_is_xdr_null_float().

◆ Rast3d_set_xdr_null_double()

void Rast3d_set_xdr_null_double ( double *  d)

Definition at line 49 of file fpxdr.c.

◆ Rast3d_set_xdr_null_float()

void Rast3d_set_xdr_null_float ( float *  f)

Definition at line 56 of file fpxdr.c.

References Rast3d_set_xdr_null_num().

◆ Rast3d_set_xdr_null_num()

void Rast3d_set_xdr_null_num ( void *  num,
int  isFloat 
)

Definition at line 38 of file fpxdr.c.

Referenced by Rast3d_set_xdr_null_float().