summaryrefslogtreecommitdiffstats
path: root/src/opk.h
diff options
context:
space:
mode:
authorPatrick McDermott <patrick.mcdermott@libiquity.com>2023-04-29 00:40:24 (EDT)
committer Patrick McDermott <patrick.mcdermott@libiquity.com>2023-04-29 01:14:38 (EDT)
commit05574410807fe5834200111f091f48d099326c67 (patch)
tree89f95377022138e8347a136d2858d3085f512268 /src/opk.h
parent558630f3d34a8f8aa54fe6821980de3ba1b6668e (diff)
opk: Print data files
Diffstat (limited to 'src/opk.h')
-rw-r--r--src/opk.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/opk.h b/src/opk.h
index 20579bf..4d70aa2 100644
--- a/src/opk.h
+++ b/src/opk.h
@@ -47,6 +47,19 @@ int
opkg_opk_opk_print_control(struct opkg_opk_opk *opk, const char *name);
/*
+ * Adds a name to a list of data files to print when opkg_opk_opk_read() is
+ * called.
+ * Parameters:
+ * - opk: Package structure.
+ * - name: Name of data file to print.
+ * Returns:
+ * - OPKG_OPK_OK if the name was added to the list.
+ * - OPKG_OPK_ERROR on memory exhaustion.
+ */
+int
+opkg_opk_opk_print_data(struct opkg_opk_opk *opk, const char *name);
+
+/*
* Lists control files when opkg_opk_opk_read() is called.
* Parameters:
* - opk: Package structure.