diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/mdso/mdso.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/include/mdso/mdso.h b/include/mdso/mdso.h index 6dea3dc..52a5e21 100644 --- a/include/mdso/mdso.h +++ b/include/mdso/mdso.h @@ -39,6 +39,13 @@ extern "C" { /* unit action flags */ +struct mdso_source_version { + int major; + int minor; + int revision; + const char * commit; +}; + struct mdso_input { void * addr; size_t size; @@ -74,6 +81,9 @@ struct mdso_unit_ctx { int nerrors; }; +/* package info */ +mdso_api const struct mdso_source_version * mdso_source_version(void); + /* driver api */ mdso_api int mdso_get_driver_ctx (char ** argv, char ** envp, uint32_t flags, struct mdso_driver_ctx **); mdso_api int mdso_create_driver_ctx (const struct mdso_common_ctx *, struct mdso_driver_ctx **); |