ostree-fetcher: make _ostree_fetcher_stream_uri_sync private

Rename _ostree_fetcher_contents_membuf_sync to
ostree_fetcher_request_uri_to_membuf and drop unused argument
user_data.

Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
This commit is contained in:
Giuseppe Scrivano authored and Colin Walters committed 2014-11-12 21:20:28 -05:00
1 parent c2bc99bc16
commit a5491f98cb
4 files changed
+37 -51

No files matched your search

+9 -10
View File
@@ -258,16 +258,15 @@ fetch_uri_contents_membuf_sync (OtPullData *pull_data,
{
gboolean ret;
pull_data->fetching_sync_uri = uri;
ret = _ostree_fetcher_contents_membuf_sync (pull_data->fetcher,
uri,
add_nul,
allow_noent,
out_contents,
pull_data->loop,
pull_data,
OSTREE_MAX_METADATA_SIZE,
cancellable,
error);
ret = _ostree_fetcher_request_uri_to_membuf (pull_data->fetcher,
uri,
add_nul,
allow_noent,
out_contents,
pull_data->loop,
OSTREE_MAX_METADATA_SIZE,
cancellable,
error);
pull_data->fetching_sync_uri = NULL;
return ret;
}