GRASS Programmer's Manual  6.5.svn(2014)-r66266
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
cachehash.c File Reference
#include <stdio.h>
#include <stdlib.h>
#include <sys/types.h>
#include <unistd.h>
#include <grass/G3d.h>
#include "G3d_intern.h"
Include dependency graph for cachehash.c:

Go to the source code of this file.

Data Structures

struct  G3d_cache_hash
 

Functions

void G3d_cache_hash_reset (G3d_cache_hash *h)
 
void G3d_cache_hash_dispose (G3d_cache_hash *h)
 
void * G3d_cache_hash_new (int nofNames)
 
void G3d_cache_hash_remove_name (G3d_cache_hash *h, int name)
 
void G3d_cache_hash_load_name (G3d_cache_hash *h, int name, int index)
 
int G3d_cache_hash_name2index (G3d_cache_hash *h, int name)
 

Function Documentation

void G3d_cache_hash_dispose ( G3d_cache_hash h)

Definition at line 37 of file cachehash.c.

References G3d_cache_hash::active, G3d_free(), G3d_cache_hash::index, and NULL.

Referenced by G3d_cache_dispose(), and G3d_cache_hash_new().

void G3d_cache_hash_load_name ( G3d_cache_hash h,
int  name,
int  index 
)
void* G3d_cache_hash_new ( int  nofNames)
void G3d_cache_hash_remove_name ( G3d_cache_hash h,
int  name 
)
void G3d_cache_hash_reset ( G3d_cache_hash h)