summaryrefslogtreecommitdiff
path: root/src/trust.h
blob: 06438308b81c61f9c71fb3875f4c29aeab46b5ad (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
25
26
27
28
29
// trust.h
//
//  Copyright 2004 Daniel Burrows
//

#ifndef TRUST_H
#define TRUST_H

#include <apt-pkg/pkgcache.h>

/** \brief Various routines dealing with messages about package trust.
 * 
 *  \file trust.h
 */

namespace cwidget
{
  class fragment;
}

/** Create a new cwidget::fragment, suitable as a BIG FAT WARNING to the user
 *  that a single package is not trusted.
 *
 *  \param ver the version to which the cwidget::fragment refers
 *  \return the new cwidget::fragment, or NULL if ver is trusted.
 */
cwidget::fragment *make_untrusted_warning(const pkgCache::VerIterator &ver);

#endif