summaryrefslogtreecommitdiffstats
path: root/src/opk.h
diff options
context:
space:
mode:
authorPatrick McDermott <patrick.mcdermott@libiquity.com>2023-04-29 00:18:39 (EDT)
committer Patrick McDermott <patrick.mcdermott@libiquity.com>2023-04-29 00:23:46 (EDT)
commit558630f3d34a8f8aa54fe6821980de3ba1b6668e (patch)
treef36bb8d0c829e127b8f3993a110308a46861e69e /src/opk.h
parent4961785e1745a4b9216dc9dcb600acb1fab6012b (diff)
opk: List control files
Diffstat (limited to 'src/opk.h')
-rw-r--r--src/opk.h12
1 files changed, 11 insertions, 1 deletions
diff --git a/src/opk.h b/src/opk.h
index bf60808..20579bf 100644
--- a/src/opk.h
+++ b/src/opk.h
@@ -47,9 +47,19 @@ int
opkg_opk_opk_print_control(struct opkg_opk_opk *opk, const char *name);
/*
+ * Lists control files when opkg_opk_opk_read() is called.
+ * Parameters:
+ * - opk: Package structure.
+ * Returns:
+ * - OPKG_OPK_OK.
+ */
+int
+opkg_opk_opk_list_control(struct opkg_opk_opk *opk);
+
+/*
* Lists data files when opkg_opk_opk_read() is called.
* Parameters:
- * - opk: Package structure.
+ * - opk: Package structure.
* Returns:
* - OPKG_OPK_OK.
*/