libsrtm  0.2.0
some useful C-functions
cache.h
Go to the documentation of this file.
1 /* kate: indent-mode cstyle; tab-width 4; indent-width 4; */
2 #ifndef XCACHE_H
3 #define XCACHE_H
4 
5 #include <glib.h>
6 #include <cfe/gpstypes.h>
7 
8 #include "tile_info.h"
9 
10 #define TILE_MISSING -1
11 #define TILE_CACHED 0
12 #define TILE_DOWNLOAD 1
13 
14 gint _cache_tile(SrtmTileInfo *info);
15 gint _cache_tile_wait(SrtmTileInfo *info);
16 gboolean _data_to_cache(SrtmTileInfo *info, gconstpointer input, guint size);
17 gboolean _read_tile_to_cache(SrtmTileInfo *tile);
18 void _cached_tile_data_free(gpointer data);
19 void _cached_tile_info_free(gpointer data);
20 gboolean _load_tile(const SrtmTileInfo *info);
21 
22 #endif /* XCACHE_H */
gint _cache_tile(SrtmTileInfo *info)
gint _cache_tile_wait(SrtmTileInfo *info)
gboolean _load_tile(const SrtmTileInfo *info)
gboolean _data_to_cache(SrtmTileInfo *info, gconstpointer input, guint size)
gboolean _read_tile_to_cache(SrtmTileInfo *tile)
void _cached_tile_info_free(gpointer data)
void _cached_tile_data_free(gpointer data)