diff options
Diffstat (limited to 'src/opk.h')
-rw-r--r-- | src/opk.h | 12 |
1 files changed, 12 insertions, 0 deletions
@@ -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. |