diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/perk/perk.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/include/perk/perk.h b/include/perk/perk.h index a99c8f4..d6f69ec 100644 --- a/include/perk/perk.h +++ b/include/perk/perk.h @@ -46,6 +46,13 @@ extern "C" { /* unit action flags */ #define PERK_ACTION_MAP_READWRITE 0x0001 +struct pe_source_version { + int major; + int minor; + int revision; + const char * commit; +}; + struct pe_raw_image { void * addr; size_t size; @@ -149,6 +156,9 @@ struct pe_unit_ctx { int nerrors; }; +/* package info */ +perk_api const struct pe_source_version * pe_source_version(void); + /* driver api */ perk_api int pe_get_driver_ctx (char ** argv, char ** envp, uint32_t flags, struct pe_driver_ctx **); perk_api void pe_free_driver_ctx (struct pe_driver_ctx *); |