summaryrefslogtreecommitdiffstats
path: root/src/ustar.h
diff options
context:
space:
mode:
authorPatrick McDermott <patrick.mcdermott@libiquity.com>2023-04-28 19:03:41 (EDT)
committer Patrick McDermott <patrick.mcdermott@libiquity.com>2023-04-28 20:52:12 (EDT)
commiteffcd79eb38e3ab125a0eaf64850f52df914e965 (patch)
treeefbdd7823c7c3f56073af2e869e187ff00b7d67d /src/ustar.h
parentf6a6b1c9dae1538b9fed7ab52b5ffd31cc411326 (diff)
opk: Absorb seek list management from ustar
Diffstat (limited to 'src/ustar.h')
-rw-r--r--src/ustar.h53
1 files changed, 0 insertions, 53 deletions
diff --git a/src/ustar.h b/src/ustar.h
index 220603a..802412a 100644
--- a/src/ustar.h
+++ b/src/ustar.h
@@ -71,59 +71,6 @@ opkg_opk_ustar_list(struct opkg_opk_ustar *ustar,
struct opkg_opk_ustar_member **member);
/*
- * Adds a name to a list of names to find with opkg_opk_ustar_seek(). List is
- * dynamically allocated; free with opkg_opk_ustar_free_seek_names().
- * Parameters:
- * - names: Address in which to store address of list.
- * - name: Name of member file to find.
- * Returns:
- * - OPKG_OPK_OK if the name was added to the list.
- * - OPKG_OPK_ERROR on memory exhaustion.
- */
-int
-opkg_opk_ustar_add_seek_name(struct opkg_opk_ustar_seek_name **names,
- const char *name);
-
-/*
- * Frees a list of names to find with opkg_opk_ustar_seek().
- * Parameters:
- * - names: List of names.
- */
-void
-opkg_opk_ustar_free_seek_names(struct opkg_opk_ustar_seek_name *names);
-
-/*
- * Advances to a named member file. May be called multiple times until all
- * requested members are found.
- * Parameters:
- * - ustar: Archive structure.
- * - names: Name(s) to find.
- * Returns:
- * - OPKG_OPK_OK if a member matching one of the requested names is found but
- * more names remain to be found.
- * - OPKG_OPK_END if a member matching one of the requested names is found and
- * no more names remain to be found.
- * - OPKG_OPK_ERROR if no matching member is found or on decompression error, an
- * invalid header, or unsupported file type.
- */
-int
-opkg_opk_ustar_seek(struct opkg_opk_ustar *ustar,
- struct opkg_opk_ustar_seek_name *names);
-
-/*
- * Advances to a named member file.
- * Parameters:
- * - ustar: Archive structure.
- * - name: Name to find.
- * Returns:
- * - OPKG_OPK_OK if a member matching the requested name is found.
- * - OPKG_OPK_ERROR if no matching member is found or on decompression error, an
- * invalid header, or unsupported file type.
- */
-int
-opkg_opk_ustar_seek_one(struct opkg_opk_ustar *ustar, const char *name);
-
-/*
* Reads up to a record (512 octets) of member file data at a time.
* Parameters:
* - ustar: Archive structure.