diff options
author | Patrick 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) |
commit | 05574410807fe5834200111f091f48d099326c67 (patch) | |
tree | 89f95377022138e8347a136d2858d3085f512268 /src/opk.h | |
parent | 558630f3d34a8f8aa54fe6821980de3ba1b6668e (diff) |
opk: Print data files
Diffstat (limited to 'src/opk.h')
-rw-r--r-- | src/opk.h | 13 |
1 files changed, 13 insertions, 0 deletions
@@ -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. |