summaryrefslogtreecommitdiffstats
path: root/host/lib
diff options
context:
space:
mode:
authorJosh Blum <josh@joshknows.com>2012-03-20 22:12:23 -0700
committerJosh Blum <josh@joshknows.com>2012-03-21 11:36:43 -0700
commite69bcd3ea2c4b9506199a11eeb2777e0e292f33e (patch)
tree605dae45ad2f46761027b36d7017c852a1cf36bb /host/lib
parentb22c32bd1420aab6809e842ffdd823090828a190 (diff)
downloaduhd-e69bcd3ea2c4b9506199a11eeb2777e0e292f33e.tar.gz
uhd-e69bcd3ea2c4b9506199a11eeb2777e0e292f33e.tar.bz2
uhd-e69bcd3ea2c4b9506199a11eeb2777e0e292f33e.zip
uhd: add calls to query an ABI compat string
Diffstat (limited to 'host/lib')
-rw-r--r--host/lib/version.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/host/lib/version.cpp b/host/lib/version.cpp
index 42880b3c3..2b7125e55 100644
--- a/host/lib/version.cpp
+++ b/host/lib/version.cpp
@@ -1,5 +1,5 @@
//
-// Copyright 2010-2011 Ettus Research LLC
+// Copyright 2010-2012 Ettus Research LLC
//
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
@@ -35,3 +35,7 @@ UHD_STATIC_BLOCK(print_system_info){
std::string uhd::get_version_string(void){
return "@UHD_VERSION@";
}
+
+std::string uhd::get_abi_string(void){
+ return UHD_VERSION_ABI_STRING;
+}