summaryrefslogtreecommitdiffstats
path: root/aclk/helpers/mqtt_wss_pal.h
blob: 5c89f8bb7dbd1b8f73d210e8d3c66c975047358c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
// SPDX-License-Identifier: GPL-3.0-or-later

#ifndef MQTT_WSS_PAL_H
#define MQTT_WSS_PAL_H

#include "libnetdata/libnetdata.h"

#undef OPENSSL_VERSION_095
#undef OPENSSL_VERSION_097
#undef OPENSSL_VERSION_110
#undef OPENSSL_VERSION_111

#define mw_malloc(...) mallocz(__VA_ARGS__)
#define mw_calloc(...) callocz(__VA_ARGS__)
#define mw_free(...) freez(__VA_ARGS__)
#define mw_strdup(...) strdupz(__VA_ARGS__)
#define mw_realloc(...) reallocz(__VA_ARGS__)

#endif /* MQTT_WSS_PAL_H */