aboutsummaryrefslogtreecommitdiffstats
path: root/host/include/uhd.h
diff options
context:
space:
mode:
authorNicholas Corgan <nicholas.corgan@ni.com>2019-04-29 20:22:39 -0500
committerMartin Braun <martin.braun@ettus.com>2019-05-02 08:36:44 -0700
commit918e4ff20c4e843b5b32d27274fbe558ec1b0000 (patch)
tree445f6ab9c2b7cfaaafeed2b606fe1ac3b63f0c2f /host/include/uhd.h
parent436df1087b0f26ee9a3990e3a575c94e43c34293 (diff)
downloaduhd-918e4ff20c4e843b5b32d27274fbe558ec1b0000.tar.gz
uhd-918e4ff20c4e843b5b32d27274fbe558ec1b0000.tar.bz2
uhd-918e4ff20c4e843b5b32d27274fbe558ec1b0000.zip
C: Add uhd_get_abi_string, uhd_get_version_string
Clients that include the UHD C headers have access to the version and ABI #defines, but this is not available to clients that dynamically load the library. This commit adds publicly exported functions to provide this information.
Diffstat (limited to 'host/include/uhd.h')
-rw-r--r--host/include/uhd.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/host/include/uhd.h b/host/include/uhd.h
index b9143baac..413e786f9 100644
--- a/host/include/uhd.h
+++ b/host/include/uhd.h
@@ -1,6 +1,7 @@
/*
* Copyright 2015 Ettus Research LLC
* Copyright 2018 Ettus Research, a National Instruments Company
+ * Copyright 2019 Ettus Research, a National Instruments Brand
*
* SPDX-License-Identifier: GPL-3.0-or-later
*/
@@ -10,6 +11,7 @@
#include <uhd/config.h>
#include <uhd/error.h>
+#include <uhd/version.h>
#include <uhd/types/metadata.h>
#include <uhd/types/ranges.h>