summaryrefslogtreecommitdiff
path: root/include/dlt/dlt_user.h
diff options
context:
space:
mode:
authorChristian Muck <christian.muck@bmw.de>2011-09-05 15:02:23 +0200
committerChristian Muck <christian.muck@bmw.de>2011-09-05 15:02:23 +0200
commitd818704990324fbacd0c7cfb92ba1e7e73e59ab0 (patch)
treeed186088c3f7e2eef4bec828a0ce5a497e25ef7a /include/dlt/dlt_user.h
parent48928c656c68cc4a63e457c2511bbff457c87c36 (diff)
downloadDLT-daemon-d818704990324fbacd0c7cfb92ba1e7e73e59ab0.tar.gz
[GSW-62] DLT Library version check
Diffstat (limited to 'include/dlt/dlt_user.h')
-rwxr-xr-xinclude/dlt/dlt_user.h10
1 files changed, 9 insertions, 1 deletions
diff --git a/include/dlt/dlt_user.h b/include/dlt/dlt_user.h
index a1b6229..263a5f2 100755
--- a/include/dlt/dlt_user.h
+++ b/include/dlt/dlt_user.h
@@ -382,7 +382,7 @@ int dlt_free();
* @param description long name of the application
* @return negative value if there was an error
*/
-int dlt_register_app(const char *appid, const char * description);
+int dlt_register_app(const char *appid, const char * description, const char * user_major_version, const char * user_minor_version);
/**
* Unregister an application in the daemon.
@@ -440,6 +440,14 @@ int dlt_register_injection_callback(DltContext *handle, uint32_t service_id,
int dlt_verbose_mode(void);
/**
+ * Check the version of dlt library with library version used of the application.
+ * @param Major version number of application - see dlt_version.h
+ * @param Minor version number of application - see dlt_version.h
+ * @return negative value if there is a mismatch
+ */
+int dlt_user_check_library_version(const char *user_major_version,const char *user_minor_version);
+
+/**
* Switch to non-verbose mode
*
*/