From 050896fd00110c5a8744b540041c4c81c68530da Mon Sep 17 00:00:00 2001 From: Patrick McDermott Date: Thu, 13 Apr 2023 01:30:00 -0400 Subject: ustar: Implement --- (limited to 'src/ustar.h') 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 . + */ + +#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_ */ -- cgit v0.9.1