File: test_filters.cc

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

int main(int argc, char *argv[])
{
	vector<string> packages,globs;
	read_dpkg_header(packages);
	read_filters(packages,globs);
	for (unsigned int i=0;i<globs.size();i++) {
		cout << globs[i] << endl;
	}
}