diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-23 04:10:52 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-23 04:10:52 +0000 |
commit | 85f9a2650850b181208492de61822cf840ee62e5 (patch) | |
tree | f2ba509bc1f23e871c5e0e9d569fb82c68280e50 /apt-pkg/tagfile.h | |
parent | Releasing progress-linux version 2.9.1-0.0~progress7.99u1. (diff) | |
download | apt-85f9a2650850b181208492de61822cf840ee62e5.tar.xz apt-85f9a2650850b181208492de61822cf840ee62e5.zip |
Merging upstream version 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 }; |