razor.h
changeset 181 28196c52b37b
parent 154 229fb0caa092
child 190 d8b7dd11813d
     1.1 --- a/razor.h	Fri Mar 07 08:52:09 2008 -0500
     1.2 +++ b/razor.h	Fri Mar 14 15:32:24 2008 -0400
     1.3 @@ -83,10 +83,18 @@
     1.4  
     1.5  	/* Error states */
     1.6  
     1.7 +	RAZOR_PACKAGE_FIRST_ERROR_STATE = 0x4,
     1.8 +	RAZOR_PACKAGE_UNAVAILABLE_FLAG = 0x4,
     1.9 +
    1.10  	/* Package requested for install does not exist */
    1.11 -	RAZOR_PACKAGE_INSTALL_UNAVAILABLE,
    1.12 +	RAZOR_PACKAGE_INSTALL_UNAVAILABLE = RAZOR_PACKAGE_INSTALL | RAZOR_PACKAGE_UNAVAILABLE_FLAG,
    1.13 +	/* Package requiring update does not have any update */
    1.14 +	RAZOR_PACKAGE_UPDATE_UNAVAILABLE = RAZOR_PACKAGE_FORCED_UPDATE | RAZOR_PACKAGE_UNAVAILABLE_FLAG,
    1.15  	/* Package requested for removal does not exist */
    1.16 -	RAZOR_PACKAGE_REMOVE_NOT_INSTALLED,
    1.17 +	RAZOR_PACKAGE_REMOVE_NOT_INSTALLED = RAZOR_PACKAGE_REMOVE | RAZOR_PACKAGE_UNAVAILABLE_FLAG,
    1.18 +	/* (not used) */
    1.19 +	RAZOR_PACKAGE_OBSOLETE_UNAVAILABLE = RAZOR_PACKAGE_OBSOLETED | RAZOR_PACKAGE_UNAVAILABLE_FLAG,
    1.20 +
    1.21  	/* No newer version of package is available */
    1.22  	RAZOR_PACKAGE_UP_TO_DATE,
    1.23  	/* Package marked for both install and remove */