diff options
author | Dmitri Pal <dpal@redhat.com> | 2010-06-10 11:55:49 -0400 |
---|---|---|
committer | Stephen Gallagher <sgallagh@redhat.com> | 2010-09-22 14:57:52 -0400 |
commit | 6f41753879870c35b2192fe6d6e7c0fca8f5ef17 (patch) | |
tree | 4fc888c8047443d0a02cdd7b8fc88ffd6969e51f /ini/ini_comment.h | |
parent | 252be01e3972f0bfa01b5ad562a4c95d5fbf0039 (diff) | |
download | ding-libs-6f41753879870c35b2192fe6d6e7c0fca8f5ef17.tar.gz ding-libs-6f41753879870c35b2192fe6d6e7c0fca8f5ef17.tar.xz ding-libs-6f41753879870c35b2192fe6d6e7c0fca8f5ef17.zip |
Refining comment object
Comment object should store lengths of the lines.
Diffstat (limited to 'ini/ini_comment.h')
-rw-r--r-- | ini/ini_comment.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/ini/ini_comment.h b/ini/ini_comment.h index 05c6a72..db665f8 100644 --- a/ini/ini_comment.h +++ b/ini/ini_comment.h @@ -91,7 +91,8 @@ int ini_comment_get_numlines(struct ini_comment *ic, /* Get line */ int ini_comment_get_line(struct ini_comment *ic, uint32_t idx, - char **line); + char **line, + uint32_t *line_len); /* Swap lines */ int ini_comment_swap(struct ini_comment *ic, |