File: ept-cat.cpp

package info (click to toggle)
libept 1.2.1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye
  • size: 4,672 kB
  • sloc: cpp: 5,627; sh: 62; makefile: 17
file content (16 lines) | stat: -rw-r--r-- 292 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#include <ept/apt/apt.h>
#include <iostream>

int summary = 0;

int main( int argc, char **argv ) {
    using namespace ept::apt;
    using namespace std;

    Apt db;

    for (Apt::record_iterator i = db.recordBegin(); i != db.recordEnd(); ++i)
        cout << *i << endl;

    return 0;
}