From 2fdb3fc0b67757afd6fe7a244b6e14d2a546af0e Mon Sep 17 00:00:00 2001 From: graham.gower Date: Tue, 08 Dec 2009 20:20:03 -0500 Subject: Merge commit 'grg' into HEAD git-svn-id: http://opkg.googlecode.com/svn/trunk@471 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358 --- (limited to 'libopkg/opkg_download.h') diff --git a/libopkg/opkg_download.h b/libopkg/opkg_download.h index 10347ca..d98a311 100644 --- a/libopkg/opkg_download.h +++ b/libopkg/opkg_download.h @@ -24,14 +24,14 @@ typedef void (*opkg_download_progress_callback)(int percent, char *url); typedef int (*curl_progress_func)(void *data, double t, double d, double ultotal, double ulnow); -int opkg_download(opkg_conf_t *conf, const char *src, const char *dest_file_name, curl_progress_func cb, void *data); -int opkg_download_pkg(opkg_conf_t *conf, pkg_t *pkg, const char *dir); +int opkg_download(const char *src, const char *dest_file_name, curl_progress_func cb, void *data); +int opkg_download_pkg(pkg_t *pkg, const char *dir); /* * Downloads file from url, installs in package database, return package name. */ -int opkg_prepare_url_for_install(opkg_conf_t *conf, const char *url, char **namep); +int opkg_prepare_url_for_install(const char *url, char **namep); -int opkg_verify_file (opkg_conf_t *conf, char *text_file, char *sig_file); +int opkg_verify_file (char *text_file, char *sig_file); #ifdef HAVE_CURL void opkg_curl_cleanup(void); #endif -- cgit v0.9.1