aboutsummaryrefslogtreecommitdiff
path: root/src/proj.h
diff options
context:
space:
mode:
authorEven Rouault <even.rouault@spatialys.com>2020-02-23 19:45:20 +0100
committerEven Rouault <even.rouault@spatialys.com>2020-02-24 10:32:24 +0100
commit25f8c03774bd639af9e07f616211caada9d307f0 (patch)
tree84d8bf3644da6398cd0abeed0a5435f9863d727c /src/proj.h
parent57595327b253f23ba4330fb1cda3d7bb66bbc81d (diff)
downloadPROJ-25f8c03774bd639af9e07f616211caada9d307f0.tar.gz
PROJ-25f8c03774bd639af9e07f616211caada9d307f0.zip
Expose proj_context_is_network_enabled() in C API
Diffstat (limited to 'src/proj.h')
-rw-r--r--src/proj.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/proj.h b/src/proj.h
index fbed71b0..74a42034 100644
--- a/src/proj.h
+++ b/src/proj.h
@@ -490,6 +490,8 @@ int PROJ_DLL proj_context_set_network_callbacks(
int PROJ_DLL proj_context_set_enable_network(PJ_CONTEXT* ctx,
int enabled);
+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);
void PROJ_DLL proj_grid_cache_set_enable(PJ_CONTEXT* ctx, int enabled);