summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2016-04-17 15:26:04 -0400
committermidipix <writeonce@midipix.org>2016-04-17 17:33:21 -0400
commitbcd5af9ca57f03e0a63966ca3be6429e2e659605 (patch)
tree2c2780f5a6ecea9d5862c3f8f614e62777456e0a /include
parent3be47d3719ae8cc39c5a966cefdf5ef87f6393e0 (diff)
downloadslibtool-bcd5af9ca57f03e0a63966ca3be6429e2e659605.tar.bz2
slibtool-bcd5af9ca57f03e0a63966ca3be6429e2e659605.tar.xz
driver: added image format support.
Diffstat (limited to 'include')
-rw-r--r--include/slibtool/slibtool.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/slibtool/slibtool.h b/include/slibtool/slibtool.h
index 24dd8be..cb9a75d 100644
--- a/include/slibtool/slibtool.h
+++ b/include/slibtool/slibtool.h
@@ -53,6 +53,9 @@ extern "C" {
#define SLBT_DRIVER_NO_UNDEFINED 0x040000
#define SLBT_DRIVER_MODULE 0x080000
#define SLBT_DRIVER_AVOID_VERSION 0x100000
+#define SLBT_DRIVER_IMAGE_ELF 0x200000
+#define SLBT_DRIVER_IMAGE_PE 0x400000
+#define SLBT_DRIVER_IMAGE_MACHO 0x800000
/* execution modes */
enum slbt_mode {
@@ -132,6 +135,7 @@ struct slbt_host_params {
};
struct slbt_flavor_settings {
+ const char * imagefmt;
const char * arprefix;
const char * arsuffix;
const char * dsoprefix;