* A package to make adding self updating functionality to other
* LICENSE: This source file is subject to version 3.01 of the PHP license
* that is available through the world-wide-web at the following URI:
* http://www.php.net/license/3_01.txt. If you did not receive a copy of
* the PHP License and are unable to obtain it through the web, please
* send a note to license@php.net so we can mail you a copy immediately.
* @package PEAR_PackageUpdate
* @copyright 2006 Scott Mattocks
* @license http://www.php.net/license/3_01.txt PHP License 3.01
* @version CVS: $Id: PackageUpdate.php,v 1.1 2008/02/02 15:09:40 farell Exp $
* @link http://pear.php.net/package/PEAR_PackageUpdate
* @since File available since Release 0.4.0a1
require_once 'PEAR/ErrorStack.php';
require_once 'PEAR/Config.php';
// Constants for preferences.
define('PEAR_PACKAGEUPDATE_PREF_NOUPDATES', 0);
define('PEAR_PACKAGEUPDATE_PREF_NEXTRELEASE', 1);
define('PEAR_PACKAGEUPDATE_PREF_TYPE', 2);
define('PEAR_PACKAGEUPDATE_PREF_STATE', 3);
define('PEAR_PACKAGEUPDATE_STATE_DEVEL', 'devel');
define('PEAR_PACKAGEUPDATE_STATE_ALPHA', 'alpha');
define('PEAR_PACKAGEUPDATE_STATE_BETA', 'beta');
define('PEAR_PACKAGEUPDATE_STATE_STABLE', 'stable');
// Constants for release types.
define('PEAR_PACKAGEUPDATE_TYPE_BUG', 'bug');
define('PEAR_PACKAGEUPDATE_TYPE_MINOR', 'minor');
define('PEAR_PACKAGEUPDATE_TYPE_MAJOR', 'major');