summaryrefslogtreecommitdiffstats
path: root/src/ustar.h
diff options
context:
space:
mode:
authorPatrick McDermott <patrick.mcdermott@libiquity.com>2023-04-13 01:30:00 (EDT)
committer Patrick McDermott <patrick.mcdermott@libiquity.com>2023-04-13 01:30:00 (EDT)
commit050896fd00110c5a8744b540041c4c81c68530da (patch)
treed5c96b39e47c23abb0481f577c9a1d4a53783718 /src/ustar.h
parentb7e0e663765da3cc95ceefdde172110c690b6ee6 (diff)
ustar: Implement
Diffstat (limited to 'src/ustar.h')
-rw-r--r--src/ustar.h30
1 files changed, 30 insertions, 0 deletions
diff --git a/src/ustar.h b/src/ustar.h
new file mode 100644
index 0000000..a6959c7
--- /dev/null
+++ b/src/ustar.h
@@ -0,0 +1,30 @@
+/*
+ * Copyright (C) 2023 Patrick McDermott
+ *
+ * This file is part of opkg-opk.
+ *
+ * opkg-opk is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * opkg-opk is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with opkg-opk. If not, see <http://www.gnu.org/licenses/>.
+ */
+
+#ifndef OPKG_OPK_USTAR_H_
+#define OPKG_OPK_USTAR_H_
+
+unsigned char *
+opkg_opk_ustar_read(struct opkg_opk_gzip_state *gzip_state, const char *member);
+
+int
+opkg_opk_ustar_list(struct opkg_opk_gzip_state *gzip_state,
+ void (*member)(const char *name));
+
+#endif /* OPKG_OPK_USTAR_H_ */