- pkgInitialize(*_config);
-
- pkgSourceList List;
- pkgAcquire Fetcher;
- List.ReadMainList();
-
- pkgSourceList::const_iterator I;
- for (I = List.begin(); I != List.end(); I++)
- {
- new pkgAcqIndex(&Fetcher,I);
- if (_error->PendingError() == true)
- break;
- }
+
+ 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;