summaryrefslogtreecommitdiff
path: root/keyword.h
diff options
context:
space:
mode:
authormrb0nk500 <b0nk@b0nk.xyz>2022-08-06 09:48:30 -0300
committermrb0nk500 <b0nk@b0nk.xyz>2022-08-06 09:48:30 -0300
commita185caea7fbc0969829b96af3f43e8ae980df000 (patch)
tree63654541f5e435c25b70761698814f641d800235 /keyword.h
parent2555a7caaab3d5dba812940575129fd808e9e3dc (diff)
keyword: Make use of `delimiter` struct in `create_key_value_file()`,
and `create_key_value_str()`
Diffstat (limited to 'keyword.h')
-rw-r--r--keyword.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/keyword.h b/keyword.h
index a45854b..57397ee 100644
--- a/keyword.h
+++ b/keyword.h
@@ -51,6 +51,6 @@ 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);
+extern char *create_key_value_str(const keyword *key, keyword_val val, const delimiter *start_delm, const delimiter *end_delm);
+extern char *create_key_value_file(void *data, void *ctx, const keyword **keywords, const delimiter *start_delm, const delimiter *end_delm);
#endif