librazor/razor.h
changeset 417 c7063ba682e0
parent 403 e63951c1d0f8
child 418 33b825d3128d
     1.1 --- a/librazor/razor.h	Thu Nov 10 10:35:21 2011 +0000
     1.2 +++ b/librazor/razor.h	Thu Feb 09 20:43:58 2012 +0000
     1.3 @@ -104,8 +104,13 @@
     1.4   * that should either all succeed or all fail.
     1.5   *
     1.6   * Note that currently only Windows 7 has a native implementation and that
     1.7 - * the fallback implementation will not rollback even if an error does occur.
     1.8 - * This could (and should) be improved.
     1.9 + * while the emulated fallback implementation attempts to rollback the
    1.10 + * transaction if it fails, this is not guaranteed to succeed and that
    1.11 + * the transaction is held in core (and thus vulnernable to program crashes,
    1.12 + * power loss, etc.). This could (and should) be improved.
    1.13 + *
    1.14 + * Atomic transactions can be disabled via configure, in which case all
    1.15 + * bets are off.
    1.16   **/
    1.17  struct razor_atomic;
    1.18  
    1.19 @@ -331,7 +336,8 @@
    1.20  
    1.21  enum razor_install_action {
    1.22  	RAZOR_INSTALL_ACTION_ADD,
    1.23 -	RAZOR_INSTALL_ACTION_REMOVE
    1.24 +	RAZOR_INSTALL_ACTION_REMOVE,
    1.25 +	RAZOR_INSTALL_ACTION_COMMIT
    1.26  };
    1.27  
    1.28  struct razor_install_iterator *