summaryrefslogtreecommitdiff
path: root/sigrokdecode.h.in
diff options
context:
space:
mode:
authorUwe Hermann <uwe@hermann-uwe.de>2012-04-15 20:58:08 +0200
committerUwe Hermann <uwe@hermann-uwe.de>2012-04-15 20:58:08 +0200
commit0c081c63de28e694eeaeee613e7bfa17bee81bc7 (patch)
treea6376a7703f74ca37ec35533c698b4d2ef501392 /sigrokdecode.h.in
parent63b1026d367275c7171da7dc7d5ac675a420f485 (diff)
downloadlibsigrokdecode-0c081c63de28e694eeaeee613e7bfa17bee81bc7.tar.gz
libsigrokdecode-0c081c63de28e694eeaeee613e7bfa17bee81bc7.zip
srd: Add functions to query srd version(s).
Diffstat (limited to 'sigrokdecode.h.in')
-rw-r--r--sigrokdecode.h.in12
1 files changed, 12 insertions, 0 deletions
diff --git a/sigrokdecode.h.in b/sigrokdecode.h.in
index 7a435bc..b158e37 100644
--- a/sigrokdecode.h.in
+++ b/sigrokdecode.h.in
@@ -277,6 +277,18 @@ SRD_API int srd_log_callback_set_default(void);
SRD_API int srd_log_logdomain_set(const char *logdomain);
SRD_API char *srd_log_logdomain_get(void);
+/*--- version.c -------------------------------------------------------------*/
+
+SRD_API int srd_package_version_major_get(void);
+SRD_API int srd_package_version_minor_get(void);
+SRD_API int srd_package_version_micro_get(void);
+SRD_API const char *srd_package_version_string_get(void);
+
+SRD_API int srd_lib_version_current_get(void);
+SRD_API int srd_lib_version_revision_get(void);
+SRD_API int srd_lib_version_age_get(void);
+SRD_API const char *srd_lib_version_string_get(void);
+
#ifdef __cplusplus
}
#endif