| 2086 | } |
| 2087 | |
| 2088 | static txU1 *fxGetArchiveResources(txMachine *the, void* archive, txU4 *size) |
| 2089 | { |
| 2090 | txPreparation* preparation = the->preparation; |
| 2091 | txU1* p = archive; |
| 2092 | if (!preparation || !p) { |
| 2093 | *size = 0; |
| 2094 | return NULL; |
| 2095 | } |
| 2096 | p += mxArchiveHeaderSize; |
| 2097 | // NAME |
| 2098 | p += c_read32be(p); |
| 2099 | // SYMB |
| 2100 | p += c_read32be(p); |
| 2101 | // IDEN |
| 2102 | p += c_read32be(p); |
| 2103 | // MAPS |
| 2104 | p += c_read32be(p); |
| 2105 | // MODS |
| 2106 | p += c_read32be(p); |
| 2107 | // RSRC |
| 2108 | *size = c_read32be(p) - sizeof(Atom); |
| 2109 | return p + sizeof(Atom); |
| 2110 | } |
| 2111 | |
| 2112 | void* fxGetArchiveData(txMachine* the, void* archive, txString path, size_t* size) |
| 2113 | { |
no outgoing calls
no test coverage detected