summaryrefslogtreecommitdiffstats
path: root/src/opk.h
diff options
context:
space:
mode:
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.