NAME

invalidateEntry - Mark a file cache entry as invalid

SYNOPSIS

#include "topo/index.h"

Example compile flags (system dependent):
  -DLINUX_X86_64 -DLINUX_X86_64_OPTERON  -DGNU_COMPILER 
   -I/home/kobus/include
   -L/home/kobus/misc/load/linux_x86_64_opteron -L/usr/lib/x86_64-linux-gnu
  -lKJB                               -lfftw3  -lgsl -lgslcblas -ljpeg  -lSVM -lstdc++                    -lpthread -lSLATEC -lg2c    -lacml -lacml_mv -lblas -lg2c      -lncursesw 


int invalidateEntry
(
	int x,
	int y,
	int typ,
	char zone
);

PARAMETERS

int x
UTM easting location of the tile to invalidate
int y
UTM northing location of the tile to invalidate
int typ
Tileset identifier of tile to invalidate
char zone
UTM zone of the location chosen whose tile to invalidate

DESCRIPTION

invalidates entry for a tile in both the fileIndex and the memory pool goes back into MapIndex.dat and overwrites offending entry. This and all file cache functions are NOT reentrant, because they access static structures.

RETURNS

NO_ERROR if the tile is found in the cache, otherwise ERROR.

DISCLAIMER

This software is not adequatedly tested. It is recomended that results are checked independantly where appropriate.

AUTHOR

Scott Morris

DOCUMENTER

Andrew Predoehl

SEE ALSO

initIndexFile , closeIndexFile , addIndexEntry , findTileOnDisk , getTileFromDisk