USRP Hardware Driver and USRP Manual  Version: 4.6.0.0
UHD and USRP Manual
version.h
Go to the documentation of this file.
1 //
2 // Copyright 2019 Ettus Research, a National Instruments Brand
3 //
4 // SPDX-License-Identifier: GPL-3.0-or-later
5 //
6 
7 #pragma once
8 
9 #include <uhd/config.h>
10 #include <uhd/error.h>
11 
12 #include <stdlib.h>
13 
14 #ifdef __cplusplus
15 extern "C" {
16 #endif
17 
19 UHD_API uhd_error uhd_get_abi_string(char* abi_string_out, size_t buffer_len);
20 
22 UHD_API uhd_error uhd_get_version_string(char* version_out, size_t buffer_len);
23 
24 #ifdef __cplusplus
25 }
26 #endif
UHD_API uhd_error uhd_get_version_string(char *version_out, size_t buffer_len)
Get the version string (dotted version number + build info)
uhd_error
UHD error codes.
Definition: error.h:20
#define UHD_API
Definition: config.h:87
UHD_API uhd_error uhd_get_abi_string(char *abi_string_out, size_t buffer_len)
Get the ABI compatibility string for this build of the library.