eolian: clean rollback support
authorDaniel Kolesa <d.kolesa@osg.samsung.com>
Thu, 22 Mar 2018 14:34:32 +0000 (15:34 +0100)
committerWonki Kim <wonki_.kim@samsung.com>
Tue, 10 Apr 2018 11:22:02 +0000 (20:22 +0900)
commitc3042b6c99bfa91ce979c1f353a98ec23b49de02
treea34563aef337d02f0c81d3c7d762c71d487e7efd
parentb70368f8e2e74525f67e908f5dfdccb64c9657ac
eolian: clean rollback support

Previously, when an error happened in Eolian, the state was left
in a presumably unusable and inconsistent condition. This work
aims to change that, as all changes are committed into a staging
area before being validated and merged back into main state.

This is not yet complete, as units and by-file lookups are not
currently involved in the rollback. This will change in the
subsequent commits.

@feature
src/lib/eolian/eo_parser.c
src/lib/eolian/eolian_database.c
src/lib/eolian/eolian_database.h