summaryrefslogtreecommitdiffstats
path: root/src/opk.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/opk.h')
-rw-r--r--src/opk.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/opk.h b/src/opk.h
index 4d70aa2..049953f 100644
--- a/src/opk.h
+++ b/src/opk.h
@@ -80,6 +80,18 @@ int
opkg_opk_opk_list_data(struct opkg_opk_opk *opk);
/*
+ * Sets the directory into which to extract control files. The directory (but
+ * not its ancestors) will be created if it doesn't exist.
+ * Parameters:
+ * - opk: Package structure.
+ * - dir: Directory.
+ * Returns:
+ * - OPKG_OPK_OK.
+ */
+int
+opkg_opk_opk_control_dir(struct opkg_opk_opk *opk, const char *dir);
+
+/*
* Performs the configured read actions.
* Parameters:
* - file_name: Package's file name.