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

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