opkg: implement opkg_set_option() and opkg_get_option()
[oweals/opkg-lede.git] / libopkg / opkg_conf.h
index 98b3fe1ddff19a17a8a552a8433dc58c67479e7b..4b971b4fe8484e23020b52e4cc31f9fc97344514 100644 (file)
@@ -1,4 +1,4 @@
-/* opkg_conf.h - the itsy package management system
+/* opkg_conf.h - the opkg package management system
 
    Carl D. Worth
 
@@ -21,7 +21,6 @@
 typedef struct opkg_conf opkg_conf_t;
 
 #include "hash_table.h"
-#include "opkg.h"
 #include "args.h"
 #include "pkg.h"
 #include "pkg_hash.h"
@@ -105,4 +104,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