summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/slibtool/slibtool.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/include/slibtool/slibtool.h b/include/slibtool/slibtool.h
index 953ab19..a2529f7 100644
--- a/include/slibtool/slibtool.h
+++ b/include/slibtool/slibtool.h
@@ -87,6 +87,13 @@ enum slbt_warning_level {
SLBT_WARNING_LEVEL_NONE,
};
+struct slbt_source_version {
+ int major;
+ int minor;
+ int revision;
+ const char * commit;
+};
+
struct slbt_input {
void * addr;
size_t size;
@@ -204,6 +211,9 @@ struct slbt_unit_ctx {
int nerrors;
};
+/* package info */
+slbt_api const struct slbt_source_version * slbt_source_version(void);
+
/* driver api */
slbt_api int slbt_get_driver_ctx (char ** argv, char ** envp, uint32_t flags, struct slbt_driver_ctx **);
slbt_api int slbt_create_driver_ctx (const struct slbt_common_ctx *, struct slbt_driver_ctx **);