summaryrefslogtreecommitdiffstats
path: root/ini/ini_comment.h
diff options
context:
space:
mode:
Diffstat (limited to 'ini/ini_comment.h')
-rw-r--r--ini/ini_comment.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/ini/ini_comment.h b/ini/ini_comment.h
index db665f8..5365409 100644
--- a/ini/ini_comment.h
+++ b/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: