summaryrefslogtreecommitdiffstats
path: root/common/ini/ini_comment.h
diff options
context:
space:
mode:
Diffstat (limited to 'common/ini/ini_comment.h')
-rw-r--r--common/ini/ini_comment.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/common/ini/ini_comment.h b/common/ini/ini_comment.h
index db665f8..5365409 100644
--- a/common/ini/ini_comment.h
+++ b/common/ini/ini_comment.h
@@ -49,6 +49,14 @@ int ini_comment_build(struct ini_comment *ic,
const char *line);
/**
+ * Build up a comment object - use this when reading
+ * comments from a file when length is known.
+ */
+int ini_comment_build_wl(struct ini_comment *ic,
+ const char *line,
+ uint32_t length);
+
+/**
* Modify comment by instering a line.
*
* idx can be: