X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=libopkg%2Fopkg_conf.h;h=fe29e0002e85aa9f827650831c14a71afe6402f4;hb=90299e3df5c5d5eb4ae2189b11e44ec83995ca62;hp=f774b4ace35d964a76979cebc9c453df32b30c17;hpb=3523443344809d2f357a5008931c9f79e91a3de3;p=oweals%2Fopkg-lede.git diff --git a/libopkg/opkg_conf.h b/libopkg/opkg_conf.h index f774b4a..fe29e00 100644 --- a/libopkg/opkg_conf.h +++ b/libopkg/opkg_conf.h @@ -49,7 +49,7 @@ struct opkg_conf pkg_dest_t *default_dest; char *tmp_dir; - const char *lists_dir; + char *lists_dir; const char *pending_dir; /* options */ @@ -63,7 +63,6 @@ struct opkg_conf int force_removal_of_dependent_packages; int force_removal_of_essential_packages; int nodeps; /* do not follow dependences */ - int verbose_wget; int multiple_providers; char *offline_root; char *offline_root_pre_script_cmd; @@ -104,4 +103,7 @@ void opkg_conf_deinit(opkg_conf_t *conf); int opkg_conf_write_status_files(opkg_conf_t *conf); char *root_filename_alloc(opkg_conf_t *conf, char *filename); + +int opkg_init_options_array(const opkg_conf_t *conf, opkg_option_t **options); + #endif