libopkg: implement lightweight package listing logic
[oweals/opkg-lede.git] / libopkg / opkg_install.h
index d6d074f61d71d7b5b85e65af16b7e8803dc9a4f4..ff7ff13b9540b783d1a7f0f3337a15efb8b36143 100644 (file)
@@ -20,9 +20,8 @@
 
 #include "pkg.h"
 #include "opkg_conf.h"
-#include "opkg_error.h"
 
-opkg_error_t opkg_install_by_name(opkg_conf_t *conf, const char *pkg_name);
-int opkg_install_pkg(opkg_conf_t *conf, pkg_t *pkg, int from_upgrading);
+int opkg_install_by_name(const char *pkg_name);
+int opkg_install_pkg(pkg_t * pkg, int from_upgrading);
 
 #endif