xref: /aosp_15_r20/external/lzma/CPP/7zip/UI/Console/List.h (revision f6dc9357d832569d4d1f5d24eacdb3935a1ae8e6)
1 // List.h
2 
3 #ifndef ZIP7_INC_LIST_H
4 #define ZIP7_INC_LIST_H
5 
6 #include "../../../Common/Wildcard.h"
7 
8 #include "../Common/LoadCodecs.h"
9 
10 struct CListOptions
11 {
12   bool ExcludeDirItems;
13   bool ExcludeFileItems;
14   bool DisablePercents;
15 
CListOptionsCListOptions16   CListOptions():
17     ExcludeDirItems(false),
18     ExcludeFileItems(false),
19     DisablePercents(false)
20     {}
21 };
22 
23 HRESULT ListArchives(
24     const CListOptions &listOptions,
25     CCodecs *codecs,
26     const CObjectVector<COpenType> &types,
27     const CIntVector &excludedFormats,
28     bool stdInMode,
29     UStringVector &archivePaths, UStringVector &archivePathsFull,
30     bool processAltStreams, bool showAltStreams,
31     const NWildcard::CCensorNode &wildcardCensor,
32     bool enableHeaders, bool techMode,
33   #ifndef Z7_NO_CRYPTO
34     bool &passwordEnabled, UString &password,
35   #endif
36   #ifndef Z7_SFX
37     const CObjectVector<CProperty> *props,
38   #endif
39     UInt64 &errors,
40     UInt64 &numWarnings);
41 
42 #endif
43