aboutsummaryrefslogtreecommitdiff
path: root/src/proj.h
diff options
context:
space:
mode:
authorEven Rouault <even.rouault@spatialys.com>2019-08-22 09:52:45 +0200
committerGitHub <noreply@github.com>2019-08-22 09:52:45 +0200
commitb7f829ce8f7c9fce2934b3981493a5d3338143b9 (patch)
treec50d03ac81b1e10e0d4356234757126a708e9ac1 /src/proj.h
parent2c9c015a6529548f5a5d448c78bc9b565d751590 (diff)
parent15d6475b8caeb169fd2c060076738db75fc527b3 (diff)
downloadPROJ-b7f829ce8f7c9fce2934b3981493a5d3338143b9.tar.gz
PROJ-b7f829ce8f7c9fce2934b3981493a5d3338143b9.zip
Merge pull request #1566 from rouault/add_proj_context_set_autoclose_database
C API: add proj_context_set_autoclose_database() to automatically close database (fixes #1565)
Diffstat (limited to 'src/proj.h')
-rw-r--r--src/proj.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/proj.h b/src/proj.h
index 4024ddfc..4a3e4c59 100644
--- a/src/proj.h
+++ b/src/proj.h
@@ -755,6 +755,9 @@ typedef struct PJ_OBJ_LIST PJ_OBJ_LIST;
void PROJ_DLL proj_string_list_destroy(PROJ_STRING_LIST list);
+void PROJ_DLL proj_context_set_autoclose_database(PJ_CONTEXT *ctx,
+ int autoclose);
+
int PROJ_DLL proj_context_set_database_path(PJ_CONTEXT *ctx,
const char *dbPath,
const char *const *auxDbPaths,