[SSSD] [INI] Refactoring interface a bit

Dmitri Pal dpal at redhat.com
Mon Dec 24 16:38:21 UTC 2012


Hello,

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.

-- 
Thank you,
Dmitri Pal

Sr. Engineering Manager for IdM portfolio
Red Hat Inc.


-------------------------------
Looking to carve out IT costs?
www.redhat.com/carveoutcosts/



-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-INI-Refactor-interface-a-bit.patch
Type: text/x-patch
Size: 17179 bytes
Desc: not available
URL: <https://lists.fedorahosted.org/pipermail/sssd-devel/attachments/20121224/38db6967/attachment.bin>


More information about the sssd-devel mailing list