-/* opkg_conf.h - the itsy package management system
+/* opkg_conf.h - the opkg package management system
Carl D. Worth
typedef struct opkg_conf opkg_conf_t;
#include "hash_table.h"
-#include "opkg.h"
#include "args.h"
#include "pkg.h"
#include "pkg_hash.h"
pkg_dest_t *default_dest;
char *tmp_dir;
- const char *lists_dir;
- const char *pending_dir;
+ char *lists_dir;
+ char *pending_dir;
/* options */
+ int autoremove;
int force_depends;
int force_defaults;
int force_overwrite;
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;
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