|
mod_tile 0.9.1
Renders map tiles with Mapnik and serves them using Apache HTTP Server
|
Virtual dispatch table and context handle for a pluggable tile/metatile storage backend. More...
#include <store.h>
Public Attributes | |
| int(*) | tile_read (struct storage_backend *store, const char *xmlconfig, const char *options, int x, int y, int z, char *buf, size_t sz, int *compressed, char *err_msg) |
| Read a single tile's payload into buf, returning bytes read or < 0 on error. | |
| struct stat_info(*) | tile_stat (struct storage_backend *store, const char *xmlconfig, const char *options, int x, int y, int z) |
| Query size, timestamps, and expiry status of a tile without reading its full payload. | |
| int(*) | metatile_write (struct storage_backend *store, const char *xmlconfig, const char *options, int x, int y, int z, const char *buf, int sz) |
| Persist a serialized METATILE x METATILE archive buffer into the backend. | |
| int(*) | metatile_delete (struct storage_backend *store, const char *xmlconfig, int x, int y, int z) |
| Remove the metatile containing coordinates (x, y, z) from the backend. | |
| int(*) | metatile_expire (struct storage_backend *store, const char *xmlconfig, int x, int y, int z) |
| Mark the metatile containing coordinates (x, y, z) as expired. | |
| char *(*) | tile_storage_id (struct storage_backend *store, const char *xmlconfig, const char *options, int x, int y, int z, char *string) |
| Format a backend-specific storage identifier string (path, object key, or URL) for logging. | |
| int(*) | close_storage (struct storage_backend *store) |
| Release backend-specific resources and free the storage_backend instance. | |
| void * | storage_ctx |
| Opaque pointer to backend-specific private state/configuration context. | |
Virtual dispatch table and context handle for a pluggable tile/metatile storage backend.
| int(*) storage_backend::close_storage(struct storage_backend *store) |
Release backend-specific resources and free the storage_backend instance.
| int(*) storage_backend::metatile_delete(struct storage_backend *store, const char *xmlconfig, int x, int y, int z) |
Remove the metatile containing coordinates (x, y, z) from the backend.
| int(*) storage_backend::metatile_expire(struct storage_backend *store, const char *xmlconfig, int x, int y, int z) |
Mark the metatile containing coordinates (x, y, z) as expired.
| int(*) storage_backend::metatile_write(struct storage_backend *store, const char *xmlconfig, const char *options, int x, int y, int z, const char *buf, int sz) |
| void* storage_backend::storage_ctx |
Opaque pointer to backend-specific private state/configuration context.
| int(*) storage_backend::tile_read(struct storage_backend *store, const char *xmlconfig, const char *options, int x, int y, int z, char *buf, size_t sz, int *compressed, char *err_msg) |
Read a single tile's payload into buf, returning bytes read or < 0 on error.
| struct stat_info(*) storage_backend::tile_stat(struct storage_backend *store, const char *xmlconfig, const char *options, int x, int y, int z) |
Query size, timestamps, and expiry status of a tile without reading its full payload.
| char *(*) storage_backend::tile_storage_id(struct storage_backend *store, const char *xmlconfig, const char *options, int x, int y, int z, char *string) |
Format a backend-specific storage identifier string (path, object key, or URL) for logging.