opkg: (leak fixing, day 1) lots and lots of memory leaks fixed
[oweals/opkg-lede.git] / libopkg / opkg_conf.h
index f774b4ace35d964a76979cebc9c453df32b30c17..fe29e0002e85aa9f827650831c14a71afe6402f4 100644 (file)
@@ -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