aboutsummaryrefslogtreecommitdiff
path: root/src/proj.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/proj.h')
-rw-r--r--src/proj.h28
1 files changed, 28 insertions, 0 deletions
diff --git a/src/proj.h b/src/proj.h
index bcc0cccb..ef6d5841 100644
--- a/src/proj.h
+++ b/src/proj.h
@@ -1056,6 +1056,9 @@ const char PROJ_DLL *proj_context_get_database_path(PJ_CONTEXT *ctx);
const char PROJ_DLL *proj_context_get_database_metadata(PJ_CONTEXT* ctx,
const char* key);
+PROJ_STRING_LIST PROJ_DLL proj_context_get_database_structure(
+ PJ_CONTEXT* ctx,
+ const char* const *options);
PJ_GUESSED_WKT_DIALECT PROJ_DLL proj_context_guess_wkt_dialect(PJ_CONTEXT *ctx,
const char *wkt);
@@ -1192,8 +1195,33 @@ PROJ_UNIT_INFO PROJ_DLL **proj_get_units_from_database(
void PROJ_DLL proj_unit_list_destroy(PROJ_UNIT_INFO** list);
/* ------------------------------------------------------------------------- */
+/*! @cond Doxygen_Suppress */
+typedef struct PJ_INSERT_SESSION PJ_INSERT_SESSION;
+/*! @endcond */
+
+PJ_INSERT_SESSION PROJ_DLL *proj_insert_object_session_create(PJ_CONTEXT *ctx);
+void PROJ_DLL proj_insert_object_session_destroy(PJ_CONTEXT *ctx,
+ PJ_INSERT_SESSION *session);
+PROJ_STRING_LIST PROJ_DLL proj_get_insert_statements(PJ_CONTEXT *ctx,
+ PJ_INSERT_SESSION *session,
+ const PJ *object,
+ const char *authority,
+ const char *code,
+ int numeric_codes,
+ const char *const *allowed_authorities,
+ const char *const *options);
+
+char PROJ_DLL *proj_suggests_code_for(PJ_CONTEXT *ctx,
+ const PJ *object,
+ const char *authority,
+ int numeric_code,
+ const char *const *options);
+
+void PROJ_DLL proj_string_destroy(char* str);
+
+/* ------------------------------------------------------------------------- */
/*! @cond Doxygen_Suppress */
typedef struct PJ_OPERATION_FACTORY_CONTEXT PJ_OPERATION_FACTORY_CONTEXT;
/*! @endcond */