summaryrefslogtreecommitdiffstats
path: root/common/ini/ini_valueobj.h
diff options
context:
space:
mode:
authorDmitri Pal <dpal@redhat.com>2010-07-28 16:37:14 -0400
committerDmitri Pal <dpal@redhat.com>2010-08-10 12:51:32 -0400
commitd5a0a555074a7f9c529ae98a6a65f168f02a04c9 (patch)
tree60c9665fd63b599f90e8baa1d55e8544ef3324e2 /common/ini/ini_valueobj.h
parent3b39c023b8462d134c45540342193a154ee1a169 (diff)
downloadsssd-d5a0a555074a7f9c529ae98a6a65f168f02a04c9.tar.gz
sssd-d5a0a555074a7f9c529ae98a6a65f168f02a04c9.tar.xz
sssd-d5a0a555074a7f9c529ae98a6a65f168f02a04c9.zip
[INI] 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 'common/ini/ini_valueobj.h')
-rw-r--r--common/ini/ini_valueobj.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/ini/ini_valueobj.h b/common/ini/ini_valueobj.h
index d8e10de..2e13c0d 100644
--- a/common/ini/ini_valueobj.h
+++ b/common/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