summaryrefslogtreecommitdiffstats
path: root/refarray
diff options
context:
space:
mode:
authorDmitri Pal <dpal@redhat.com>2012-12-24 11:31:24 -0500
committerOndrej Kos <okos@redhat.com>2013-01-24 08:34:43 +0100
commit3b9baa61367f2b651c8068efc99ce017331622e0 (patch)
tree7adc6ccea869702e90732f5c3a4001dca696aad5 /refarray
parent833a46e384828be48c27898e755d6215eb5c4bb8 (diff)
downloadding-libs-3b9baa61367f2b651c8068efc99ce017331622e0.tar.gz
ding-libs-3b9baa61367f2b651c8068efc99ce017331622e0.tar.xz
ding-libs-3b9baa61367f2b651c8068efc99ce017331622e0.zip
Refactor interface a bit
After some evaluation it became apparent that error level and collision flags should not be a part of the fileobj but rather passed directly to the parser function. This way the interface is more clean and logical. This patch: 1) Removes the error level and collision flags from the fileobj 2) Moves validation function from ini_fileobj.c to ini_configobj.c where it belongs. 3) Moves error level and collision flags arguments from file open function to the parser function. 4) The internals of the file obj are cleaned 5) Validation of the arguments is moved to parser function. 6) Unit tests are updated.
Diffstat (limited to 'refarray')
0 files changed, 0 insertions, 0 deletions