2016-10-14 16:51:15 -07:00
|
|
|
#pragma once
|
|
|
|
#include "MachineType.h"
|
2016-11-29 18:08:53 -08:00
|
|
|
#include "filesystem_fs.h"
|
2017-04-27 17:56:06 -07:00
|
|
|
#include <vector>
|
2016-10-14 16:51:15 -07:00
|
|
|
|
2017-01-05 14:14:11 -08:00
|
|
|
namespace vcpkg::COFFFileReader
|
2016-10-14 16:51:15 -07:00
|
|
|
{
|
2017-04-03 14:19:13 -07:00
|
|
|
struct DllInfo
|
2016-10-14 16:51:15 -07:00
|
|
|
{
|
|
|
|
MachineType machine_type;
|
|
|
|
};
|
|
|
|
|
2017-04-03 14:19:13 -07:00
|
|
|
struct LibInfo
|
2016-10-14 16:51:15 -07:00
|
|
|
{
|
|
|
|
std::vector<MachineType> machine_types;
|
|
|
|
};
|
|
|
|
|
2017-04-03 14:19:13 -07:00
|
|
|
DllInfo read_dll(const fs::path& path);
|
2016-10-14 16:51:15 -07:00
|
|
|
|
2017-04-03 14:19:13 -07:00
|
|
|
LibInfo read_lib(const fs::path& path);
|
2017-01-05 14:14:11 -08:00
|
|
|
}
|