1// Copyright (C) 2019 The Qt Company Ltd.
2// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only
3
4#ifndef QCOAPNAMESPACE_P_H
5#define QCOAPNAMESPACE_P_H
6
7#include "qcoapnamespace.h"
8#include "private/qglobal_p.h"
9
10//
11// W A R N I N G
12// -------------
13//
14// This file is not part of the Qt API. It exists purely as an
15// implementation detail. This header file may change from version to
16// version without notice, or even be removed.
17//
18// We mean it.
19//
20
21QT_BEGIN_NAMESPACE
22
23namespace QtCoap
24{
25 bool Q_AUTOTEST_EXPORT isError(QtCoap::ResponseCode code);
26 Error Q_AUTOTEST_EXPORT errorForResponseCode(QtCoap::ResponseCode code);
27 QRandomGenerator Q_AUTOTEST_EXPORT &randomGenerator();
28}
29
30QT_END_NAMESPACE
31
32#endif // QCOAPNAMESPACE_P_H
33

source code of qtcoap/src/coap/qcoapnamespace_p.h