libopkg: support passing callbacks to feed parsing functions
[oweals/opkg-lede.git] / libopkg / opkg.c
index aba6364c8fa1906fb5b25be87052d5453d295760..3583488780221b6fc566aa3b39ce378950a0503b 100644 (file)
@@ -87,10 +87,10 @@ int opkg_new()
        if (opkg_conf_load())
                goto err0;
 
-       if (pkg_hash_load_feeds(0))
+       if (pkg_hash_load_feeds(0, NULL, NULL))
                goto err1;
 
-       if (pkg_hash_load_status_files())
+       if (pkg_hash_load_status_files(NULL, NULL))
                goto err1;
 
        return 0;