aboutsummaryrefslogtreecommitdiff
path: root/toolsrc/include/coff_file_reader.h
diff options
context:
space:
mode:
authorJan HrubĂ˝ <jhruby.web@gmail.com>2017-03-13 08:56:05 +0100
committerGitHub <noreply@github.com>2017-03-13 08:56:05 +0100
commit665f4118f603c5858217ed7a2f2f824b18ff4fc5 (patch)
treef0167041edf71e90f2331b5025f603392a8de67a /toolsrc/include/coff_file_reader.h
parent1bec0fcb73073b5b1719f454c368a63f1bff625e (diff)
parent1c9873a0daf625f67474aaf3e163c592c27ecb65 (diff)
downloadvcpkg-665f4118f603c5858217ed7a2f2f824b18ff4fc5.tar.gz
vcpkg-665f4118f603c5858217ed7a2f2f824b18ff4fc5.zip
Merge pull request #1 from Microsoft/master
pull
Diffstat (limited to 'toolsrc/include/coff_file_reader.h')
-rw-r--r--toolsrc/include/coff_file_reader.h21
1 files changed, 21 insertions, 0 deletions
diff --git a/toolsrc/include/coff_file_reader.h b/toolsrc/include/coff_file_reader.h
new file mode 100644
index 000000000..24fbf4576
--- /dev/null
+++ b/toolsrc/include/coff_file_reader.h
@@ -0,0 +1,21 @@
+#pragma once
+#include <vector>
+#include "MachineType.h"
+#include "filesystem_fs.h"
+
+namespace vcpkg::COFFFileReader
+{
+ struct dll_info
+ {
+ MachineType machine_type;
+ };
+
+ struct lib_info
+ {
+ std::vector<MachineType> machine_types;
+ };
+
+ dll_info read_dll(const fs::path& path);
+
+ lib_info read_lib(const fs::path& path);
+}