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