GRASS GIS 7 Programmer's Manual  7.9.dev(2021)-e5379bbd7
cachehash.c File Reference
#include <stdio.h>
#include <stdlib.h>
#include <sys/types.h>
#include <unistd.h>
#include <grass/raster3d.h>
#include "raster3d_intern.h"
Include dependency graph for cachehash.c:

Go to the source code of this file.

Data Structures

struct  Rast3d_cache_hash
 

Functions

void Rast3d_cache_hash_reset (Rast3d_cache_hash *h)
 
void Rast3d_cache_hash_dispose (Rast3d_cache_hash *h)
 
void * Rast3d_cache_hash_new (int nofNames)
 
void Rast3d_cache_hash_remove_name (Rast3d_cache_hash *h, int name)
 
void Rast3d_cache_hash_load_name (Rast3d_cache_hash *h, int name, int index)
 
int Rast3d_cache_hash_name2index (Rast3d_cache_hash *h, int name)
 

Function Documentation

◆ Rast3d_cache_hash_dispose()

void Rast3d_cache_hash_dispose ( Rast3d_cache_hash h)

Definition at line 37 of file cachehash.c.

◆ Rast3d_cache_hash_load_name()

void Rast3d_cache_hash_load_name ( Rast3d_cache_hash h,
int  name,
int  index 
)

Definition at line 92 of file cachehash.c.

Referenced by Rast3d_cache_elt_ptr().

◆ Rast3d_cache_hash_name2index()

int Rast3d_cache_hash_name2index ( Rast3d_cache_hash h,
int  name 
)

Definition at line 106 of file cachehash.c.

Referenced by Rast3d_cache_elt_ptr(), Rast3d_cache_lock(), and Rast3d_cache_unlock().

◆ Rast3d_cache_hash_new()

void* Rast3d_cache_hash_new ( int  nofNames)

Definition at line 51 of file cachehash.c.

◆ Rast3d_cache_hash_remove_name()

void Rast3d_cache_hash_remove_name ( Rast3d_cache_hash h,
int  name 
)

Definition at line 77 of file cachehash.c.

Referenced by Rast3d_cache_elt_ptr().

◆ Rast3d_cache_hash_reset()

void Rast3d_cache_hash_reset ( Rast3d_cache_hash h)

Definition at line 25 of file cachehash.c.