blob: c2bb24e05ee574eb8270aab22f0714356677d7ae [file] [log] [blame]
Zane Shelley5a266612019-08-15 16:23:53 -05001#include <hei_main.hpp>
Zane Shelley465e0b32019-04-17 10:15:39 -05002
Zane Shelley465e0b32019-04-17 10:15:39 -05003int main()
4{
Zane Shelleyb406de42019-09-09 16:10:38 -05005 using namespace libhei;
6
Zane Shelley7c8faa12019-10-28 22:26:28 -05007 void* buffer = nullptr;
Zane Shelleya61f4c52019-08-01 13:58:49 -05008 size_t sz_buffer = 0;
Zane Shelley465e0b32019-04-17 10:15:39 -05009
Zane Shelley83da2452019-10-25 15:45:34 -050010 initialize(buffer, sz_buffer);
Zane Shelleya61f4c52019-08-01 13:58:49 -050011
Zane Shelleyb406de42019-09-09 16:10:38 -050012 Chip c1, c2;
Zane Shelleya61f4c52019-08-01 13:58:49 -050013
Zane Shelleyb406de42019-09-09 16:10:38 -050014 std::vector<Chip> chipList;
15 chipList.push_back(c1);
16 chipList.push_back(c2);
Zane Shelley5a266612019-08-15 16:23:53 -050017
Zane Shelleyb406de42019-09-09 16:10:38 -050018 IsolationData isoData;
19
Zane Shelley83da2452019-10-25 15:45:34 -050020 isolate(chipList, isoData);
Zane Shelleyb406de42019-09-09 16:10:38 -050021
22 uninitialize();
Zane Shelley465e0b32019-04-17 10:15:39 -050023
24 return 0;
25}