diff options
author | Dmitri Pal <dpal@redhat.com> | 2012-12-05 11:29:39 -0500 |
---|---|---|
committer | Ondrej Kos <okos@redhat.com> | 2012-12-06 14:23:26 +0100 |
commit | c1ea4fc67da3dff58e87a28859f93966e4dd10b7 (patch) | |
tree | f7b85af5045234b9ecc8cf10b70ba2bb8e49b156 /ini/ini_valueobj.h | |
parent | 5605cc68ac70722284f5443e1fbc7dccb59c4e77 (diff) | |
download | ding-libs-c1ea4fc67da3dff58e87a28859f93966e4dd10b7.tar.gz ding-libs-c1ea4fc67da3dff58e87a28859f93966e4dd10b7.tar.xz ding-libs-c1ea4fc67da3dff58e87a28859f93966e4dd10b7.zip |
Merge comments from different values
Patch allows merging comments that are part of the two different
value objects. The values are not merged.
Diffstat (limited to 'ini/ini_valueobj.h')
-rw-r--r-- | ini/ini_valueobj.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/ini/ini_valueobj.h b/ini/ini_valueobj.h index cbecc75..865c94b 100644 --- a/ini/ini_valueobj.h +++ b/ini/ini_valueobj.h @@ -132,6 +132,10 @@ int value_extract_comment(struct value_obj *vo, int value_put_comment(struct value_obj *vo, struct ini_comment *ic); +/* Merge comment from one value into another */ +int value_merge_comment(struct value_obj *vo_donor, + struct value_obj *vo); + /* Serialize value */ int value_serialize(struct value_obj *vo, const char *key, |