summaryrefslogtreecommitdiff
path: root/src/apk_archive.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/apk_archive.h')
-rw-r--r--src/apk_archive.h35
1 files changed, 0 insertions, 35 deletions
diff --git a/src/apk_archive.h b/src/apk_archive.h
deleted file mode 100644
index 3dbd284..0000000
--- a/src/apk_archive.h
+++ /dev/null
@@ -1,35 +0,0 @@
-/* apk_archive.c - Alpine Package Keeper (APK)
- *
- * Copyright (C) 2005-2008 Natanael Copa <n@tanael.org>
- * Copyright (C) 2008-2011 Timo Teräs <timo.teras@iki.fi>
- * All rights reserved.
- *
- * SPDX-License-Identifier: GPL-2.0-only
- */
-
-#ifndef APK_ARCHIVE
-#define APK_ARCHIVE
-
-#include <sys/types.h>
-#include "apk_blob.h"
-#include "apk_print.h"
-#include "apk_io.h"
-
-int apk_tar_parse(struct apk_istream *,
- apk_archive_entry_parser parser, void *ctx,
- struct apk_id_cache *);
-int apk_tar_write_entry(struct apk_ostream *, const struct apk_file_info *ae,
- const char *data);
-int apk_tar_write_padding(struct apk_ostream *, const struct apk_file_info *ae);
-
-#define APK_EXTRACTF_NO_CHOWN 0x0001
-#define APK_EXTRACTF_NO_OVERWRITE 0x0002
-
-int apk_archive_entry_extract(int atfd, const struct apk_file_info *ae,
- const char *extract_name, const char *hardlink_name,
- struct apk_istream *is,
- apk_progress_cb cb, void *cb_ctx, struct apk_digest_ctx *dctx,
- unsigned int extract_flags,
- struct apk_out *out);
-
-#endif