summaryrefslogtreecommitdiffstats
path: root/libopkg/opkg.h
diff options
context:
space:
mode:
authorticktock35 <ticktock35@e8e0d7a0-c8d9-11dd-a880-a1081c7ac358>2008-12-15 00:09:30 (EST)
committer ticktock35 <ticktock35@e8e0d7a0-c8d9-11dd-a880-a1081c7ac358>2008-12-15 00:09:30 (EST)
commit64aa995bce735d74bf936aae7ae59a104f992ff2 (patch)
tree8fde208044e132e8c2bf0f282c372477354a5651 /libopkg/opkg.h
parent8261c5aeb2e39f0bda4f30a53b34303f151a4da3 (diff)
opkg: implement opkg_set_option() and opkg_get_option()
git-svn-id: http://opkg.googlecode.com/svn/trunk@71 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358
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);