From dc25a788d874d9ee95738b9fa56d2a06f6a31141 Mon Sep 17 00:00:00 2001 From: Patrick McDermott Date: Sun, 30 Apr 2023 03:44:20 -0400 Subject: opk/write: Build mode (WIP) --- (limited to 'src/opk.c') 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) { -- cgit v0.9.1