|
mod_tile 0.9.1
Renders map tiles with Mapnik and serves them using Apache HTTP Server
|
#include <errno.h>#include <glib.h>#include <string.h>#include <sys/stat.h>#include "g_logger.h"#include "store.h"#include "store_file.h"#include "store_memcached.h"#include "store_null.h"#include "store_rados.h"#include "store_ro_composite.h"#include "store_ro_http_proxy.h"Functions | |
| struct storage_backend * | init_storage_backend (const char *options) |
| Instantiate and initialize a storage backend from a path or URI specification. | |
| struct storage_backend * init_storage_backend | ( | const char * | options | ) |
Instantiate and initialize a storage backend from a path or URI specification.
Dispatches to the appropriate backend constructor based on the prefix of options:
In mod_tile (Apache HTTPD), this function is invoked once per worker thread so each thread owns an independent storage_backend context.
| options | Filesystem directory path (starting with '/') or backend URI string. |