MGE General C Library - Full Internal Documentation v1.8.0
Library of general C functions.
internal.h
Go to the documentation of this file.
1
14/* **********************************************************************
15 * *
16 * Changelog *
17 * *
18 * Date Author Version Description *
19 * *
20 * 09/09/2018 MG 1.0.1 First release. *
21 * 08/06/2019 MG 1.0.2 clang-format coding style changes. *
22 * 29/04/2020 MG 1.0.3 Add BUF_UNUSED_DEF_SIZE_MULT and *
23 * BUF_MAX_UNREACH_PERCENT. *
24 * 14/04/2021 MG 1.0.4 Allow some default values to be *
25 * overridden on the gcc CL. *
26 * 03/12/2021 MG 1.0.5 Tighten SPDX tag. *
27 * 16/09/2022 MG 1.0.6 Rename of portability.h *
28 * *
29 ************************************************************************
30 */
31
32#ifndef BUFMSG_INTERNAL_H
33#define BUFMSG_INTERNAL_H
34
36
38
43#ifndef DEF_BUF_SIZE
44 #define DEF_BUF_SIZE 256
45#endif
46
53#ifndef BUF_UNUSED_DEF_SIZE_MULT
54 #define BUF_UNUSED_DEF_SIZE_MULT 3
55#endif
56
63#ifndef BUF_MAX_UNREACH_PERCENT
64 #define BUF_MAX_UNREACH_PERCENT 33
65#endif
66
71#ifndef DEF_MSG_SIZE
72 #define DEF_MSG_SIZE 256
73#endif
74
76
77#endif /* ndef BUFMSG_INTERNAL_H */
Header file to ease portability.
#define BEGIN_C_DECLS
BEGIN_C_DECLS should be used at the beginning of declarations so that C++ compilers don't mangle thei...
Definition: mge-portability.h:48
#define END_C_DECLS
Use END_C_DECLS at the end of C declarations.
Definition: mge-portability.h:52