aboutsummaryrefslogtreecommitdiff
path: root/src/base/QXmppUtils_p.h
blob: 9a7b6103bf3d993f9cd4612d506b9047dfbe0990 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
// SPDX-FileCopyrightText: 2022 Linus Jahn <lnj@kaidan.im>
// SPDX-FileCopyrightText: 2022 Melvin Keskin <melvo@olomono.de>
//
// SPDX-License-Identifier: LGPL-2.1-or-later

#ifndef QXMPPUTILS_P_H
#define QXMPPUTILS_P_H

#include "QXmppGlobal.h"

#include <stdint.h>

#include <QByteArray>

namespace QXmpp::Private {

QXMPP_EXPORT QByteArray generateRandomBytes(uint32_t minimumByteCount, uint32_t maximumByteCount);
QXMPP_EXPORT void generateRandomBytes(uint8_t *bytes, uint32_t byteCount);

}  // namespace QXmpp::Private

#endif  // QXMPPUTILS_P_H