summaryrefslogtreecommitdiffstats
path: root/src/ustar.h
diff options
context:
space:
mode:
authorPatrick McDermott <patrick.mcdermott@libiquity.com>2023-04-30 03:24:14 (EDT)
committer Patrick McDermott <patrick.mcdermott@libiquity.com>2023-04-30 03:37:57 (EDT)
commitd159b5cf03212e9ecb848dd7eef5edc3ba1a7bba (patch)
tree0e2e375be7865329ae6c712f5ab93df282451119 /src/ustar.h
parent6b09c55d892e31a633075279bf9c1446b69d139e (diff)
ustar: Add function to write trailer
Diffstat (limited to 'src/ustar.h')
-rw-r--r--src/ustar.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/ustar.h b/src/ustar.h
index 4f6b79b..679f8ae 100644
--- a/src/ustar.h
+++ b/src/ustar.h
@@ -99,6 +99,9 @@ opkg_opk_ustar_get_buffer(struct opkg_opk_ustar *ustar, char **buffer,
int
opkg_opk_ustar_write_data(struct opkg_opk_ustar *ustar, size_t size);
+int
+opkg_opk_ustar_write_trailer(struct opkg_opk_ustar *ustar);
+
/*
* Frees an archive structure.
* Parameters: