From db040122c566442500e3ea0d7928d32ac3a3ed29 Mon Sep 17 00:00:00 2001 From: Even Rouault Date: Tue, 31 Dec 2019 00:00:41 +0100 Subject: Add a SQLite3 local cache of downloaded chunks --- scripts/reference_exported_symbols.txt | 6 ++++++ scripts/reformat_cpp.sh | 3 ++- 2 files changed, 8 insertions(+), 1 deletion(-) (limited to 'scripts') diff --git a/scripts/reference_exported_symbols.txt b/scripts/reference_exported_symbols.txt index 3e17a3c7..90a1d3cf 100644 --- a/scripts/reference_exported_symbols.txt +++ b/scripts/reference_exported_symbols.txt @@ -707,6 +707,7 @@ pj_chomp(char*) pj_cleanup_lock pj_clear_initcache pj_compare_datums +pj_context_get_grid_cache_filename(projCtx_t*) pj_context_is_network_enabled(projCtx_t*) pj_ctx_alloc pj_ctx_fclose @@ -954,6 +955,11 @@ proj_get_scope proj_get_source_crs proj_get_target_crs proj_get_type +proj_grid_cache_clear +proj_grid_cache_set_enable +proj_grid_cache_set_filename +proj_grid_cache_set_max_size +proj_grid_cache_set_ttl proj_grid_get_info_from_database proj_grid_info proj_identify diff --git a/scripts/reformat_cpp.sh b/scripts/reformat_cpp.sh index ca20e0d8..1b54fb3b 100755 --- a/scripts/reformat_cpp.sh +++ b/scripts/reformat_cpp.sh @@ -18,7 +18,8 @@ TOPDIR="$SCRIPT_DIR/.." for i in "$TOPDIR"/include/proj/*.hpp "$TOPDIR"/include/proj/internal/*.hpp \ "$TOPDIR"/src/iso19111/*.cpp "$TOPDIR"/test/unit/*.cpp "$TOPDIR"/src/apps/projinfo.cpp \ "$TOPDIR"/src/tracing.cpp "$TOPDIR"/src/grids.hpp "$TOPDIR"/src/grids.cpp \ - "$TOPDIR"/src/filemanager.hpp "$TOPDIR"/src/filemanager.cpp ; do + "$TOPDIR"/src/filemanager.hpp "$TOPDIR"/src/filemanager.cpp \ + "$TOPDIR"/src/sqlite3.hpp "$TOPDIR"/src/sqlite3.cpp ; do if ! echo "$i" | grep -q "lru_cache.hpp"; then "$SCRIPT_DIR"/reformat.sh "$i"; fi -- cgit v1.2.3