open62541
1.3.12
Open source implementation of OPC UA
Loading...
Searching...
No Matches
doc
open62541
src
pubsub
ua_pubsub_bufmalloc.h
Go to the documentation of this file.
1
/** This Source Code Form is subject to the terms of the Mozilla Public
2
* License, v. 2.0. If a copy of the MPL was not distributed with this
3
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
4
*
5
* Copyright 2018 (c) Fraunhofer IOSB (Author: Julius Pfrommer)
6
*/
7
8
#ifndef UA_PUBSUB_BUFMALLOC_H_
9
#define UA_PUBSUB_BUFMALLOC_H_
10
11
#include <
open62541/config.h
>
12
13
_UA_BEGIN_DECLS
14
15
/** Build options UA_ENABLE_MALLOC_SINGLETON and UA_ENABLE_PUBSUB_BUFMALLOC required
16
This module provides a switch for memory allocation on heap or static array
17
for faster memory operations */
18
19
void
resetMembuf
(
void
);
20
void
useMembufAlloc
(
void
);
21
void
useNormalAlloc
(
void
);
22
23
_UA_END_DECLS
24
25
#endif
/* UA_PUBSUB_BUFMALLOC_H_ */
config.h
_UA_BEGIN_DECLS
#define _UA_BEGIN_DECLS
#undef UA_DEBUG_DUMP_PKGS
Definition
config.h:89
_UA_END_DECLS
#define _UA_END_DECLS
Definition
config.h:96
useMembufAlloc
void useMembufAlloc(void)
useNormalAlloc
void useNormalAlloc(void)
resetMembuf
_UA_BEGIN_DECLS void resetMembuf(void)
This Source Code Form is subject to the terms of the Mozilla Public License, v.
Generated by
1.11.0