vfs: check userland buffers before reading them.
[haiku.git] / src / bin / package / PackageWritingUtils.h
blobba696c9eb81b498e64c2039d0044f8b10869c2b5
1 /*
2 * Copyright 2011, Ingo Weinhold, ingo_weinhold@gmx.de.
3 * Distributed under the terms of the MIT License.
4 */
5 #ifndef PACKAGE_WRITING_UTILS_H
6 #define PACKAGE_WRITING_UTILS_H
9 #include <SupportDefs.h>
11 #include <package/hpkg/PackageWriter.h>
14 using BPackageKit::BHPKG::BPackageWriter;
15 using BPackageKit::BHPKG::BPackageWriterListener;
18 status_t add_current_directory_entries(BPackageWriter& packageWriter,
19 BPackageWriterListener& listener, bool skipPackageInfo);
22 #endif // PACKAGE_WRITING_UTILS_H