File: test_dpkg.cc

package info (click to toggle)
cruft-ng 0.4.7
  • links: PTS, VCS
  • area: main
  • in suites: buster, sid
  • size: 152 kB
  • sloc: cpp: 779; ansic: 92; makefile: 37; sh: 9
file content (13 lines) | stat: -rw-r--r-- 211 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
#include <iostream>
#include "dpkg.h"

int main(int argc, char *argv[])
{
	vector<string> db;
	read_dpkg_items(db);

	cout << '/' << endl;
	for (unsigned int i=0;i<db.size();i++) {
		cout << db[i] << endl;
	}
}