summaryrefslogtreecommitdiffhomepage
path: root/include/perk/perk.h
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2015-12-04 20:34:33 -0500
committermidipix <writeonce@midipix.org>2016-11-10 23:35:30 -0500
commit6e813807b7eecb7b35f661db3d481c3fa1847a1d (patch)
tree7e8546f37e5a749c819349921f699eb57a2fd667 /include/perk/perk.h
parent1711ab4da336a78976c2211411e669a1b27bf947 (diff)
downloadperk-6e813807b7eecb7b35f661db3d481c3fa1847a1d.tar.bz2
perk-6e813807b7eecb7b35f661db3d481c3fa1847a1d.tar.xz
API redesign 2/10: replace size & version members with attrs vector.
Diffstat (limited to 'include/perk/perk.h')
-rw-r--r--include/perk/perk.h14
1 files changed, 4 insertions, 10 deletions
diff --git a/include/perk/perk.h b/include/perk/perk.h
index 43c9913..de2ee57 100644
--- a/include/perk/perk.h
+++ b/include/perk/perk.h
@@ -81,32 +81,26 @@ struct pe_image_meta {
};
struct pe_symbol_ctx {
- uint32_t size;
- uint32_t version;
+ const char ** attrs;
const char ** append;
const char ** exclude;
};
struct pe_output_ctx {
- uint32_t size;
- uint32_t version;
+ const char ** attrs;
const char * header;
const char * footer;
};
struct pe_linker_ctx {
- uint32_t size;
- uint32_t version;
+ const char ** attrs;
};
struct pe_server_ctx {
- uint32_t size;
- uint32_t version;
+ const char ** attrs;
};
struct pe_common_ctx {
- uint32_t size;
- uint32_t version;
int fdin;
int fdout;
int fderr;