summaryrefslogtreecommitdiff
path: root/src/cmdline/cmdline_show_broken.h
blob: c66713541e5831125e389e1214103e3d95f37551 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
// cmdline_show_broken.h                  -*-c++-*-
//
//   Copyright 2004 Daniel Burrows

#ifndef CMDLINE_SHOW_BROKEN_H
#define CMDLINE_SHOW_BROKEN_H

#include <apt-pkg/pkgcache.h>

/** \file cmdline_show_broken.h
 */

/** Shows a list of all broken packages together with their
 *  dependencies.  Similar to and based on the equivalent routine in
 *  apt-get.
 *
 *  Returns \b false if some packages are broken.
 */
bool show_broken();

/** Shows broken dependencies for a single package */
void show_broken_deps(pkgCache::PkgIterator pkg);

#endif // CMDLINE_SHOW_BROKEN