Zane Shelley | ad103b9 | 2019-07-31 15:57:54 -0500 | [diff] [blame] | 1 | #include "hei_isolator.hpp" |
Zane Shelley | 465e0b3 | 2019-04-17 10:15:39 -0500 | [diff] [blame] | 2 | |
Zane Shelley | 465e0b3 | 2019-04-17 10:15:39 -0500 | [diff] [blame] | 3 | int main() |
4 | { | ||||
Zane Shelley | 814b1e3 | 2019-06-17 20:55:04 -0500 | [diff] [blame] | 5 | libhei::Isolator iso; |
Zane Shelley | 465e0b3 | 2019-04-17 10:15:39 -0500 | [diff] [blame] | 6 | |
Zane Shelley | a61f4c5 | 2019-08-01 13:58:49 -0500 | [diff] [blame] | 7 | void * buffer = nullptr; |
8 | size_t sz_buffer = 0; | ||||
Zane Shelley | 465e0b3 | 2019-04-17 10:15:39 -0500 | [diff] [blame] | 9 | |
Zane Shelley | a61f4c5 | 2019-08-01 13:58:49 -0500 | [diff] [blame] | 10 | iso.initialize( buffer, sz_buffer ); |
11 | |||||
12 | void * chip = nullptr; | ||||
13 | libhei::ChipType_t chipType = 0; | ||||
14 | libhei::IsolationData isoData; | ||||
15 | |||||
16 | iso.isolate( chip, chipType, isoData ); | ||||
Zane Shelley | 465e0b3 | 2019-04-17 10:15:39 -0500 | [diff] [blame] | 17 | |
18 | return 0; | ||||
19 | } |