diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-23 04:10:50 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-23 04:10:50 +0000 |
commit | faf78e24948280b25ccad71e5fe027809f8c6279 (patch) | |
tree | eac8c502171ec9b3295e1ed84791d63a2f567666 /apt-pkg/tagfile.h | |
parent | Adding upstream version 2.9.1. (diff) | |
download | apt-faf78e24948280b25ccad71e5fe027809f8c6279.tar.xz apt-faf78e24948280b25ccad71e5fe027809f8c6279.zip |
Adding upstream version 2.9.2.upstream/2.9.2
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'apt-pkg/tagfile.h')
-rw-r--r-- | apt-pkg/tagfile.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/apt-pkg/tagfile.h b/apt-pkg/tagfile.h index 0020d28..45529c9 100644 --- a/apt-pkg/tagfile.h +++ b/apt-pkg/tagfile.h @@ -166,6 +166,14 @@ class APT_PUBLIC pkgTagSection * @return \b true if successful, otherwise \b false */ bool Write(FileFd &File, char const * const * const Order = NULL, std::vector<Tag> const &Rewrite = std::vector<Tag>()) const; +#ifdef APT_COMPILING_APT + enum WriteFlags + { + WRITE_DEFAULT = 0, + WRITE_HUMAN = (1 << 0), /* write human readable output, may include highlighting */ + }; + bool Write(FileFd &File, WriteFlags flags, char const *const *const Order = NULL, std::vector<Tag> const &Rewrite = std::vector<Tag>()) const; +#endif }; |