// cmdline_common.h -*-c++-*- // // Copyright 2004 Daniel Burrows // #ifndef CMDLINE_COMMON_H #define CMDLINE_COMMON_H #include #include #include #include /** \brief Stuff that doesn't particularly belong anywhere. * * \file cmdline_common.h */ typedef std::vector pkgvector; typedef std::vector prvvector; typedef std::set pkgset; typedef std::vector strvector; enum cmdline_pkgaction_type {cmdline_install, cmdline_installauto, cmdline_remove, cmdline_purge, cmdline_hold, cmdline_unhold, cmdline_markauto, cmdline_unmarkauto, cmdline_forbid_version, cmdline_reinstall, cmdline_keep, cmdline_build_depends, cmdline_upgrade}; enum cmdline_version_source {cmdline_version_cand, /** \brief The current version, if any; * otherwise the candidate version. */ cmdline_version_curr_or_cand, cmdline_version_archive, cmdline_version_version}; #endif // CMDLINE_COMMON_H