diff options
| author | Even Rouault <even.rouault@spatialys.com> | 2019-12-19 21:24:53 +0100 |
|---|---|---|
| committer | Even Rouault <even.rouault@spatialys.com> | 2019-12-19 22:31:37 +0100 |
| commit | a06f4a258f618dbad2ce01feadab6908db00bda5 (patch) | |
| tree | 71497daf091671b478abf90bda5a3a222c5e91eb /src/ctx.cpp | |
| parent | 2aeb122fb2720fa6809b9429aca5154f8eec5e6d (diff) | |
| download | PROJ-a06f4a258f618dbad2ce01feadab6908db00bda5.tar.gz PROJ-a06f4a258f618dbad2ce01feadab6908db00bda5.zip | |
Add proj_context_set_network_callbacks() with an empty implementation
Diffstat (limited to 'src/ctx.cpp')
| -rw-r--r-- | src/ctx.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/ctx.cpp b/src/ctx.cpp index da90d4d7..a7cf8cb3 100644 --- a/src/ctx.cpp +++ b/src/ctx.cpp @@ -33,6 +33,7 @@ #include "proj_experimental.h" #include "proj_internal.h" +#include "filemanager.hpp" /************************************************************************/ /* pj_get_ctx() */ @@ -96,6 +97,7 @@ projCtx_t projCtx_t::createDefault() ctx.debug_level = PJ_LOG_NONE; ctx.logger = pj_stderr_logger; ctx.fileapi_legacy = pj_get_default_fileapi(); + NS_PROJ::FileManager::fillDefaultNetworkInterface(&ctx); if( getenv("PROJ_DEBUG") != nullptr ) { @@ -139,6 +141,7 @@ projCtx_t::projCtx_t(const projCtx_t& other) file_finder = other.file_finder; file_finder_legacy = other.file_finder_legacy; file_finder_user_data = other.file_finder_user_data; + networking = other.networking; } /************************************************************************/ |
