treewrite: use Lindent to reformat to kernel coding style
[oweals/opkg-lede.git] / libopkg / opkg_download.h
index 91b990e9717979410c871ecfa0e2e8c3ff98ad28..ac67ca45d3bb7614fa551b033def2471b0988358 100644 (file)
 #include "config.h"
 #include "pkg.h"
 
-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);
+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(const char *src, const char *dest_file_name, curl_progress_func cb, void *data, const short hide_error);
-int opkg_download_pkg(pkg_t *pkg, const char *dir);
+int opkg_download(const char *src, const char *dest_file_name,
+                 curl_progress_func cb, void *data, const short hide_error);
+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(const char *url, char **namep);
 
-int opkg_verify_file (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