aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib/include/uhdlib/rfnoc/device_id.hpp
blob: c86dd04df7b785b0b7f88d00b45c34204d3913d5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
//
// Copyright 2019 Ettus Research, a National Instruments Brand
//
// SPDX-License-Identifier: GPL-3.0-or-later
//

#ifndef INCLUDED_LIBUHD_DEVICE_ID_HPP
#define INCLUDED_LIBUHD_DEVICE_ID_HPP

#include <uhdlib/rfnoc/rfnoc_common.hpp>

namespace uhd { namespace rfnoc {

//! Return a new, unique device ID.
//
// This function will never return the same device ID twice.
device_id_t allocate_device_id();

}} /* namespace uhd::rfnoc */

#endif /* INCLUDED_LIBUHD_DEVICE_ID_HPP */