ostree_fetcher: new function _ostree_fetcher_contents_membuf_sync

Move code from ostree-repo-pull.c

Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
ostree-fetcher.c: remove not needed code

Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
ostree-repo-pull; take rid of run_mainloop_monitor_fetcher

Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
metalink: have a single entry to the metalink module

Replace _ostree_metalink_request_async with a synchronous version.

Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
ostree-repo-pull: Remove dead code

Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
ostree-fetcher: remove unused arguments from ostree_fetcher_contents_membuf_sync

Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
ostree-fetcher: make _ostree_fetcher_stream_uri_sync private

And add a sync version to be used from other modules.

Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
ostree-fetcher: remove two unused functions

_ostree_fetcher_query_state_text() and_ostree_fetcher_get_n_requests()
have no callers, so remove them.

If they will be needed, they can be easily copied back from the git
history.

Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
ostree-fetcher: make _ostree_fetcher_stream_uri_finish a static function

Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>