diff options
Diffstat (limited to 'host/include')
| -rw-r--r-- | host/include/uhd/types/device_addr.hpp | 7 | 
1 files changed, 7 insertions, 0 deletions
| diff --git a/host/include/uhd/types/device_addr.hpp b/host/include/uhd/types/device_addr.hpp index 869f4a862..035715bf9 100644 --- a/host/include/uhd/types/device_addr.hpp +++ b/host/include/uhd/types/device_addr.hpp @@ -50,6 +50,13 @@ public:      device_addr_t(const std::map<std::string, std::string>& info);      /*! +     * Looks for any key that matches the prefix. +     * \param prefix string to compare keys to +     * \return a bool true if found else false +     */ +    bool has_key_with_prefix(const std::string& prefix) const; + +    /*!       * Convert a device address into a pretty print string.       * \return a printable string representing the device address       */ | 
