libsrtm  0.2.0
some useful C-functions
cache.h File Reference
#include <glib.h>
#include <cfe/gpstypes.h>
#include "tile_info.h"
Include dependency graph for cache.h:

Go to the source code of this file.

Macros

#define TILE_MISSING   -1
 
#define TILE_CACHED   0
 
#define TILE_DOWNLOAD   1
 

Functions

gint _cache_tile (SrtmTileInfo *info)
 
gint _cache_tile_wait (SrtmTileInfo *info)
 
gboolean _data_to_cache (SrtmTileInfo *info, gconstpointer input, guint size)
 
gboolean _read_tile_to_cache (SrtmTileInfo *tile)
 
void _cached_tile_data_free (gpointer data)
 
void _cached_tile_info_free (gpointer data)
 
gboolean _load_tile (const SrtmTileInfo *info)
 

Macro Definition Documentation

◆ TILE_CACHED

#define TILE_CACHED   0

Definition at line 11 of file cache.h.

◆ TILE_DOWNLOAD

#define TILE_DOWNLOAD   1

Definition at line 12 of file cache.h.

◆ TILE_MISSING

#define TILE_MISSING   -1

Definition at line 10 of file cache.h.

Function Documentation

◆ _cache_tile()

gint _cache_tile ( SrtmTileInfo *  info)

◆ _cache_tile_wait()

gint _cache_tile_wait ( SrtmTileInfo *  info)

◆ _cached_tile_data_free()

void _cached_tile_data_free ( gpointer  data)

◆ _cached_tile_info_free()

void _cached_tile_info_free ( gpointer  data)

◆ _data_to_cache()

gboolean _data_to_cache ( SrtmTileInfo *  info,
gconstpointer  input,
guint  size 
)

◆ _load_tile()

gboolean _load_tile ( const SrtmTileInfo *  info)

◆ _read_tile_to_cache()

gboolean _read_tile_to_cache ( SrtmTileInfo *  tile)