This repository has been archived by the owner on Sep 6, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 37
/
Copy pathZipZap+Namespace.h
146 lines (110 loc) · 3.36 KB
/
ZipZap+Namespace.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
// Namespaced Header
#ifndef __NS_SYMBOL
// We need to have multiple levels of macros here so that __NAMESPACE_PREFIX_ is
// properly replaced by the time we concatenate the namespace prefix.
#define __NS_REWRITE(ns, symbol) ns ## _ ## symbol
#define __NS_BRIDGE(ns, symbol) __NS_REWRITE(ns, symbol)
#define __NS_SYMBOL(symbol) __NS_BRIDGE(SBB, symbol)
#endif
// Classes
#ifndef ZZAESDecryptInputStream
#define ZZAESDecryptInputStream __NS_SYMBOL(ZZAESDecryptInputStream)
#endif
#ifndef ZZArchive
#define ZZArchive __NS_SYMBOL(ZZArchive)
#endif
#ifndef ZZArchiveEntry
#define ZZArchiveEntry __NS_SYMBOL(ZZArchiveEntry)
#endif
#ifndef ZZDataChannel
#define ZZDataChannel __NS_SYMBOL(ZZDataChannel)
#endif
#ifndef ZZDataChannelOutput
#define ZZDataChannelOutput __NS_SYMBOL(ZZDataChannelOutput)
#endif
#ifndef ZZDeflateOutputStream
#define ZZDeflateOutputStream __NS_SYMBOL(ZZDeflateOutputStream)
#endif
#ifndef ZZFileChannel
#define ZZFileChannel __NS_SYMBOL(ZZFileChannel)
#endif
#ifndef ZZFileChannelOutput
#define ZZFileChannelOutput __NS_SYMBOL(ZZFileChannelOutput)
#endif
#ifndef ZZInflateInputStream
#define ZZInflateInputStream __NS_SYMBOL(ZZInflateInputStream)
#endif
#ifndef ZZNewArchiveEntry
#define ZZNewArchiveEntry __NS_SYMBOL(ZZNewArchiveEntry)
#endif
#ifndef ZZNewArchiveEntryWriter
#define ZZNewArchiveEntryWriter __NS_SYMBOL(ZZNewArchiveEntryWriter)
#endif
#ifndef ZZOldArchiveEntry
#define ZZOldArchiveEntry __NS_SYMBOL(ZZOldArchiveEntry)
#endif
#ifndef ZZOldArchiveEntryWriter
#define ZZOldArchiveEntryWriter __NS_SYMBOL(ZZOldArchiveEntryWriter)
#endif
#ifndef ZZStandardDecryptInputStream
#define ZZStandardDecryptInputStream __NS_SYMBOL(ZZStandardDecryptInputStream)
#endif
#ifndef ZZStoreOutputStream
#define ZZStoreOutputStream __NS_SYMBOL(ZZStoreOutputStream)
#endif
// Functions
#ifndef ZZGeneralPurposeBitFlag
#define ZZGeneralPurposeBitFlag __NS_SYMBOL(ZZGeneralPurposeBitFlag)
#endif
#ifndef ZZCentralFileHeader
#define ZZCentralFileHeader __NS_SYMBOL(ZZCentralFileHeader)
#endif
#ifndef ZZLocalFileHeader
#define ZZLocalFileHeader __NS_SYMBOL(ZZLocalFileHeader)
#endif
#ifndef ZZStandardCryptoEngine
#define ZZStandardCryptoEngine __NS_SYMBOL(ZZStandardCryptoEngine)
#endif
#ifndef getSaltLength
#define getSaltLength __NS_SYMBOL(getSaltLength)
#endif
#ifndef getKeyLength
#define getKeyLength __NS_SYMBOL(getKeyLength)
#endif
#ifndef getMacLength
#define getMacLength __NS_SYMBOL(getMacLength)
#endif
#ifndef ZZScopeGuard
#define ZZScopeGuard __NS_SYMBOL(ZZScopeGuard)
#endif
#ifndef ZZDataProvider
#define ZZDataProvider __NS_SYMBOL(ZZDataProvider)
#endif
#ifndef ZZExtraField
#define ZZExtraField __NS_SYMBOL(ZZExtraField)
#endif
// Externs
#ifndef ZZChannelOutput
#define ZZChannelOutput __NS_SYMBOL(ZZChannelOutput)
#endif
#ifndef ZZChannel
#define ZZChannel __NS_SYMBOL(ZZChannel)
#endif
#ifndef ZZArchiveEntryWriter
#define ZZArchiveEntryWriter __NS_SYMBOL(ZZArchiveEntryWriter)
#endif
#ifndef ZipZapVersionString
#define ZipZapVersionString __NS_SYMBOL(ZipZapVersionString)
#endif
#ifndef ZipZapVersionNumber
#define ZipZapVersionNumber __NS_SYMBOL(ZipZapVersionNumber)
#endif
#ifndef ZZOpenOptionsCreateIfMissingKey
#define ZZOpenOptionsCreateIfMissingKey __NS_SYMBOL(ZZOpenOptionsCreateIfMissingKey)
#endif
#ifndef ZZErrorDomain
#define ZZErrorDomain __NS_SYMBOL(ZZErrorDomain)
#endif
#ifndef ZZEntryIndexKey
#define ZZEntryIndexKey __NS_SYMBOL(ZZEntryIndexKey)
#endif