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

#pragma once

#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 */