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