diff options
Diffstat (limited to 'src/proj.h')
| -rw-r--r-- | src/proj.h | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -336,6 +336,12 @@ typedef struct projCtx_t PJ_CONTEXT; PJ_CONTEXT PROJ_DLL *proj_context_create (void); PJ_CONTEXT PROJ_DLL *proj_context_destroy (PJ_CONTEXT *ctx); +/** Callback to resolve a filename to a full path */ +typedef const char* (*proj_file_finder) (PJ_CONTEXT *ctx, const char*, void* user_data); + +void PROJ_DLL proj_context_set_file_finder(PJ_CONTEXT *ctx, proj_file_finder finder, void* user_data); +void PROJ_DLL proj_context_set_search_paths(PJ_CONTEXT *ctx, int count_paths, const char* const* paths); + void PROJ_DLL proj_context_use_proj4_init_rules(PJ_CONTEXT *ctx, int enable); int PROJ_DLL proj_context_get_use_proj4_init_rules(PJ_CONTEXT *ctx, int from_legacy_code_path); |
