]>
Commit | Line | Data |
---|---|---|
024835dc | 1 | #include <apt-pkg/acquire-item.h> |
b98f2859 | 2 | #include <apt-pkg/acquire-worker.h> |
024835dc AL |
3 | #include <apt-pkg/init.h> |
4 | #include <apt-pkg/error.h> | |
93bf083d | 5 | #include <strutl.h> |
024835dc | 6 | |
b98f2859 AL |
7 | #include <signal.h> |
8 | #include <stdio.h> | |
9 | ||
93bf083d | 10 | int main(int argc,char *argv[]) |
024835dc | 11 | { |
93bf083d | 12 | |
f46e7681 | 13 | URI Foo(argv[1]); |
93bf083d AL |
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 | ||
f46e7681 | 21 | return 0; |
024835dc | 22 | } |