summaryrefslogtreecommitdiffstats
path: root/ini/ini_valueobj.h
diff options
context:
space:
mode:
authorDmitri Pal <dpal@redhat.com>2010-07-28 16:37:14 -0400
committerStephen Gallagher <sgallagh@redhat.com>2010-09-22 14:57:53 -0400
commit85c26abd9dabc0f192fe9bb695c3aac1493a9e34 (patch)
tree65e23761b5b8036f54fc6b959d27d25614f2df05 /ini/ini_valueobj.h
parentfed9fb7462a5ee8afcae8741cb66d8167f9372b1 (diff)
downloadding-libs2-85c26abd9dabc0f192fe9bb695c3aac1493a9e34.tar.gz
ding-libs2-85c26abd9dabc0f192fe9bb695c3aac1493a9e34.tar.xz
ding-libs2-85c26abd9dabc0f192fe9bb695c3aac1493a9e34.zip
Fixes to the value object
* Removed the annoyong type casting in the serialization since there is a new function in the simplebuffer to addstring. * Changed the serialization code to not create simple buffer object but rather add to the passed in one. * Added serialization of the value that stores section * Started cleaning constants but then stopped since this effor should be done a bit later when the new high level ini config interface is better baked.
Diffstat (limited to 'ini/ini_valueobj.h')
-rw-r--r--ini/ini_valueobj.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/ini/ini_valueobj.h b/ini/ini_valueobj.h
index d8e10de..2e13c0d 100644
--- a/ini/ini_valueobj.h
+++ b/ini/ini_valueobj.h
@@ -124,7 +124,7 @@ int value_put_comment(struct value_obj *vo,
/* Serialize value */
int value_serialize(struct value_obj *vo,
const char *key,
- struct simplebuffer **sbobj);
+ struct simplebuffer *sbobj);
#endif