aboutsummaryrefslogtreecommitdiff
path: root/contrib/libucl/src/ucl_internal.h
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/libucl/src/ucl_internal.h')
-rw-r--r--contrib/libucl/src/ucl_internal.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/contrib/libucl/src/ucl_internal.h b/contrib/libucl/src/ucl_internal.h
index 9a35dcec40be..0ac8de84c2ed 100644
--- a/contrib/libucl/src/ucl_internal.h
+++ b/contrib/libucl/src/ucl_internal.h
@@ -197,6 +197,8 @@ struct ucl_parser {
struct ucl_chunk *chunks;
struct ucl_pubkey *keys;
struct ucl_variable *variables;
+ ucl_variable_handler var_handler;
+ void *var_data;
UT_string *err;
};
@@ -341,6 +343,22 @@ ucl_hash_insert_object (ucl_hash_t *hashlin, const ucl_object_t *obj)
}
/**
+ * Get standard emitter context for a specified emit_type
+ * @param emit_type type of emitter
+ * @return context or NULL if input is invalid
+ */
+const struct ucl_emitter_context *
+ucl_emit_get_standard_context (enum ucl_emitter emit_type);
+
+/**
+ * Serialise string
+ * @param str string to emit
+ * @param buf target buffer
+ */
+void ucl_elt_string_write_json (const char *str, size_t size,
+ struct ucl_emitter_context *ctx);
+
+/**
* Emit a single object to string
* @param obj
* @return