aboutsummaryrefslogtreecommitdiff
path: root/src/proj.h
diff options
context:
space:
mode:
authorAlan D. Snow <alansnow21@gmail.com>2020-04-20 03:03:41 -0500
committerGitHub <noreply@github.com>2020-04-20 10:03:41 +0200
commit5e3aba396b114fa4bb3cd787acfc000f6792c078 (patch)
tree8bb11317ded5f9b9ed62ccf0cdfc31f711213ae7 /src/proj.h
parentb16b966b7484efd74a7364bd455ed3015d1009d6 (diff)
downloadPROJ-5e3aba396b114fa4bb3cd787acfc000f6792c078.tar.gz
PROJ-5e3aba396b114fa4bb3cd787acfc000f6792c078.zip
Moved proj_context_get_url_endpoint & proj_context_get_user_writable_directory to proj.h (#2162)
Fixes #2028
Diffstat (limited to 'src/proj.h')
-rw-r--r--src/proj.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/proj.h b/src/proj.h
index 167d4de2..19a81163 100644
--- a/src/proj.h
+++ b/src/proj.h
@@ -512,6 +512,10 @@ int PROJ_DLL proj_context_is_network_enabled(PJ_CONTEXT* ctx);
void PROJ_DLL proj_context_set_url_endpoint(PJ_CONTEXT* ctx, const char* url);
+const char PROJ_DLL *proj_context_get_url_endpoint(PJ_CONTEXT* ctx);
+
+const char PROJ_DLL *proj_context_get_user_writable_directory(PJ_CONTEXT *ctx, int create);
+
void PROJ_DLL proj_grid_cache_set_enable(PJ_CONTEXT* ctx, int enabled);
void PROJ_DLL proj_grid_cache_set_filename(PJ_CONTEXT* ctx, const char* fullname);