blob: de306e802f5926855ba97cedc90aa4b4f78217f1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
#include <apt-pkg/acquire-item.h>
#include <apt-pkg/acquire-worker.h>
#include <apt-pkg/init.h>
#include <apt-pkg/error.h>
#include <strutl.h>
#include <signal.h>
#include <stdio.h>
int main(int argc,char *argv[])
{
URI Foo(argv[1]);
cout << Foo.Access << '\'' << endl;
cout << Foo.Host << '\'' << endl;
cout << Foo.Path << '\'' << endl;
cout << Foo.User << '\'' << endl;
cout << Foo.Password << '\'' << endl;
cout << Foo.Port << endl;
return 0;
}
|