swh:1:snp:ff2a11cd2e44dd19ec3814028ef2ce6605664e63
Raw File
Tip revision: a1e7426956e4f491071e92173ad35905dffa0405 authored by Eric Fischer on 02 December 2014, 22:17:49 UTC
Sprinkle consts and casts to make it valid C++ as well as C
Tip revision: a1e7426
mbtiles.h
sqlite3 *mbtiles_open(char *dbname, char **argv);

void mbtiles_write_tile(sqlite3 *outdb, int z, int tx, int ty, const char *data, int size);

void mbtiles_write_metadata(sqlite3 *outdb, const char *fname, const char *layername, int minzoom, int maxzoom, double minlat, double minlon, double maxlat, double maxlon, double midlat, double midlon, struct pool *fields);

void mbtiles_close(sqlite3 *outdb, char **argv);
back to top