summaryrefslogtreecommitdiffstats
path: root/src/ustar.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/ustar.h')
-rw-r--r--src/ustar.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/ustar.h b/src/ustar.h
index 1337f1a..4f6b79b 100644
--- a/src/ustar.h
+++ b/src/ustar.h
@@ -92,6 +92,13 @@ opkg_opk_ustar_write_header(struct opkg_opk_ustar *ustar,
uid_t uid, const char *uname, gid_t gid, const char *gname,
uint64_t size, char type, const char *linkname);
+int
+opkg_opk_ustar_get_buffer(struct opkg_opk_ustar *ustar, char **buffer,
+ size_t *size);
+
+int
+opkg_opk_ustar_write_data(struct opkg_opk_ustar *ustar, size_t size);
+
/*
* Frees an archive structure.
* Parameters: