]> mj.ucw.cz Git - libucw.git/commit
Conf: Cleaned up use of journal
authorMartin Mares <mj@ucw.cz>
Sun, 29 Apr 2012 11:22:52 +0000 (13:22 +0200)
committerMartin Mares <mj@ucw.cz>
Sun, 29 Apr 2012 11:57:31 +0000 (13:57 +0200)
commitf959d51e5ee06aad70d26ee38d4ef2be29c4f266
tree7c432802478d7d3f8a1db4d39b8be868806d7191
parent712d4ad76dc6ba3a2dbd591165debfe0ac0c8a71
Conf: Cleaned up use of journal

Introduced a new function cf_revert() for reverting the configuration
to its pristine state. It is automatically called upon cf_free_context().

Also, everything except cf_reload() now should work with journalling
disabled. In this case, nothing is ever rolled back.
ucw/conf-context.c
ucw/conf-input.c
ucw/conf-internal.h
ucw/conf-journal.c
ucw/conf-test.c
ucw/conf.h