First stage of improved error handling
authorTomas Mlcoch <xtojaj@gmail.com>
Wed, 8 May 2013 14:28:02 +0000 (16:28 +0200)
committerTomas Mlcoch <xtojaj@gmail.com>
Wed, 8 May 2013 14:28:02 +0000 (16:28 +0200)
commita58055954637ade1eaf5aabbc1aee371561abb0b
tree9ea91a40a1e50eca70a862a3f2fb23182a370d1a
parent238d6159dc719ae49dc3edf4a642675ba16bb2f7
First stage of improved error handling

Add errror module with error code enumeration and error domains.
Add GError** as param to some functions in xml_dump and repomd modules.

This improved interface is aimed to better (more informative and verbose)
error messages for programs using this library and createrepo_c python
bindings.
22 files changed:
src/CMakeLists.txt
src/createrepo_c.c
src/createrepo_c.h
src/error.c [new file with mode: 0644]
src/error.h [new file with mode: 0644]
src/mergerepo_c.c
src/misc.c
src/misc.h
src/parsehdr.c
src/parsepkg.c
src/python/repomdrecord-py.c
src/python/xml_dump-py.c
src/repomd.c
src/repomd.h
src/sqlite.c
src/sqlite.h
src/xml_dump.c
src/xml_dump.h
src/xml_dump_filelists.c
src/xml_dump_other.c
src/xml_dump_primary.c
tests/testmisc.c