summaryrefslogtreecommitdiff
path: root/keyword.h
diff options
context:
space:
mode:
Diffstat (limited to 'keyword.h')
-rw-r--r--keyword.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/keyword.h b/keyword.h
index c39f13c..64183aa 100644
--- a/keyword.h
+++ b/keyword.h
@@ -39,8 +39,11 @@ union keyword_val {
extern void *get_keyword_offset_ptr(const keyword *key, void *ptr);
extern keyword_val get_keyword_value(const keyword *key, char *value, int *error);
+extern keyword_val get_keyword(const keyword *key, void *data, void *ctx, int *error);
extern int set_keyword(const keyword *key, keyword_val val, void *ret, void *ctx);
extern keyword_val parse_keyword(const keyword *key, char *key_str, char *value, int *error);
extern int parse_keywords(const keyword **keys, char *key, char *value, void *ret, void *ctx);
extern int parse_key_value_file(void *ret, void *ctx, const keyword **keywords, char *buf, const char *delm, parse_callback *parse_cb);
+extern char *create_key_value_str(const keyword *key, keyword_val val, const char *start_delm, const char *end_delm, int leading_whitespace, int trailing_whitespace);
+extern char *create_key_value_file(void *data, void *ctx, const keyword **keywords, const char *start_delm, const char *end_delm, int leading_whitespace, int trailing_whitespace);
#endif