Logo Search packages:      
Sourcecode: langupdate version File versions

aptcache.cc File Reference


Detailed Description

Query the apt cache.

Author:
Neil Williams <codehelp@debian.org>

Definition in file aptcache.cc.

#include "config.h"
#include <iostream>
#include <string>
#include <apt-pkg/init.h>
#include <apt-pkg/cachefile.h>
#include <apt-pkg/error.h>
#include <apt-pkg/sourcelist.h>
#include <apt-pkg/pkgcachegen.h>
#include <apt-pkg/pkgcache.h>
#include <apt-pkg/configuration.h>
#include <apt-pkg/policy.h>
#include <apt-pkg/pkgsystem.h>
#include <apt-pkg/debrecords.h>
#include <apt-pkg/cacheiterators.h>
#include <glib.h>
#include <glib/gi18n.h>
#include "langupdate.h"

Go to the source code of this file.
static const gchar * apt_quiet = "-q -q"
 support full quiet mode for apt
static GHashTable * apt_table = NULL
 the Hash table of packages in the cache
static pkgCache * LangCache = 0
static GHashTable * src_table = NULL
 Hash table of source packages.
static pkgSourceList * SrcList = 0
gboolean apt_init (const gchar *sourcelist, const gchar *suite_codename, gint verbose)
gboolean aptcache_lookup (const gchar *pkg)
static bool LoadPkgNames (void)
static bool LoadSourceNames (gint verbose)
gint lu_check_pkg_version (const gchar *package, const gchar *version)
void lu_clear_caches (void)
gchar * lu_get_sourcepkg (const gchar *binary)


Generated by  Doxygen 1.6.0   Back to index