diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/sofort/sofort.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/include/sofort/sofort.h b/include/sofort/sofort.h index 639266a..4bf4c1a 100644 --- a/include/sofort/sofort.h +++ b/include/sofort/sofort.h @@ -40,6 +40,13 @@ extern "C" { #define SFRT_OUTPUT_NAME 0x0001 /* dummy */ #define SFRT_OUTPUT_ADDRESS 0x0002 /* dummy */ +struct sfrt_source_version { + int major; + int minor; + int revision; + const char * commit; +}; + struct sfrt_input { void * addr; size_t size; @@ -71,6 +78,9 @@ struct sfrt_unit_ctx { int nerrors; }; +/* package info */ +sfrt_api const struct sfrt_source_version * sfrt_source_version(void); + /* driver api */ sfrt_api int sfrt_get_driver_ctx (char ** argv, char ** envp, uint32_t flags, struct sfrt_driver_ctx **); sfrt_api int sfrt_create_driver_ctx (const struct sfrt_common_ctx *, struct sfrt_driver_ctx **); |