summaryrefslogtreecommitdiffstats
path: root/libopkg/opkg.h
diff options
context:
space:
mode:
Diffstat (limited to 'libopkg/opkg.h')
-rw-r--r--libopkg/opkg.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/libopkg/opkg.h b/libopkg/opkg.h
index d399948..029b20c 100644
--- a/libopkg/opkg.h
+++ b/libopkg/opkg.h
@@ -19,6 +19,9 @@ typedef struct _opkg_t opkg_t;
opkg_t* opkg_new ();
void opkg_free (opkg_t *opkg);
+void opkg_get_option (opkg_t *opkg, char *option, void **value);
+void opkg_set_option (opkg_t *opkg, char *option, void *value);
+
int opkg_install_package (opkg_t *opkg, char *package_name);
int opkg_remove_package (opkg_t *opkg, char *package_name);
int opkg_upgrade_package (opkg_t *opkg, char *package_name);