summaryrefslogtreecommitdiffstats
path: root/src/opk.c
diff options
context:
space:
mode:
authorPatrick McDermott <patrick.mcdermott@libiquity.com>2023-04-30 03:44:20 (EDT)
committer Patrick McDermott <patrick.mcdermott@libiquity.com>2023-04-30 03:44:20 (EDT)
commitdc25a788d874d9ee95738b9fa56d2a06f6a31141 (patch)
treec387f2cac34c32e001409f85dfe1281ede74cc6c /src/opk.c
parentc28ea1e0a30ad036a30288c8cda68c80c08ab0ec (diff)
opk/write: Build mode (WIP)
Diffstat (limited to 'src/opk.c')
-rw-r--r--src/opk.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/opk.c b/src/opk.c
index 4dbefcf..5619bc5 100644
--- a/src/opk.c
+++ b/src/opk.c
@@ -110,6 +110,13 @@ opkg_opk_opk_control_dir(struct opkg_opk_opk *opk, const char *dir)
return OPKG_OPK_OK;
}
+int
+opkg_opk_opk_data_dir(struct opkg_opk_opk *opk, const char *dir)
+{
+ opk->data_dir = dir;
+ return OPKG_OPK_OK;
+}
+
void
opkg_opk_opk_free(struct opkg_opk_opk *opk)
{