~jr/ubuntu/oneiric/apt/bzr-get-rename

« back to all changes in this revision

Viewing changes to test/testextract.cc

  • Committer: Bazaar Package Importer
  • Author(s): Matt Zimmerman
  • Date: 2005-03-07 20:08:33 UTC
  • Revision ID: james.westby@ubuntu.com-20050307200833-0lxdgg2cb4oculdv
Tags: 0.6.35
* Merge apt--mvo--0 (incorporates 0.6.34ubuntu1):
  - Implement MaxSize and MaxAge in apt.cron.daily, to prevent the cache
    from growing too large (Ubuntu #6761)
  - some comments about the pkgAcqMetaSig::Custom600Headers() added
  - use gpg --with-colons
  - commented the ftp no_proxy unseting in methods/ftp.cc
  - added support for "Acquire::gpgv::options" in methods/gpgv.cc
* Merge bubulle@debian.org--2005/apt--main--0
  - Make capitalization more consistent
  - Un-fuzzy translations resulting from capitalization changes
  - Italian translation update

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
#define APT_COMPATIBILITY 1
2
1
#include <apt-pkg/dpkgdb.h>
3
2
#include <apt-pkg/debfile.h>
4
3
#include <apt-pkg/error.h>
11
10
#include <stdio.h>
12
11
#include <stdlib.h>
13
12
 
 
13
using namespace std;
 
14
 
14
15
bool Go(int argc,char *argv[])
15
16
{
16
17
   // Init the database
83
84
 
84
85
int main(int argc,char *argv[])
85
86
{
86
 
   pkgInitialize(*_config);
 
87
   pkgInitConfig(*_config);
 
88
   pkgInitSystem(*_config,_system);
87
89
   _config->Set("Dir::State::status","/tmp/testing/status");
88
90
 
89
91
   Go(argc,argv);