LibPkg
Namespaces | Functions
status.cc File Reference
#include <vector>
#include <map>
#include <iostream>
#include "libpkg/status.h"

Namespaces

 pkg
 The namespace used to hold the package management library.
 

Functions

bool pkg::operator== (const status &lhs, const status &rhs)
 Test whether two status records are equal. More...
 
bool pkg::operator!= (const status &lhs, const status &rhs)
 Test whether two status records are unequal. More...
 
std::ostream & pkg::operator<< (std::ostream &out, const std::pair< string, status > &pkgstat)
 Write package status record to output stream. More...
 
std::istream & pkg::operator>> (std::istream &in, std::pair< string, status > &pkgstat)
 Read package status record from input stream. More...
 
bool pkg::unpack_req (const status &curstat, const status &selstat)
 Determine whether a package should be unpacked. More...
 
bool pkg::remove_req (const status &curstat, const status &selstat)
 Determine whether a package should be removed. More...
 
bool pkg::config_req (const status &curstat, const status &selstat)
 Determine whether a package should be configured. More...
 
bool pkg::purge_req (const status &curstat, const status &selstat)
 Determine whether a package should be purged. More...
 

Reference Manual LibPkg Version 0.6.1 (28 Jan 2015)