MGE General C Library - Full Internal Documentation v1.6.8
Library of general C functions.
Loading...
Searching...
No Matches
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 * *
28 ************************************************************************
29 */
30
31#ifndef BUFMSG_INTERNAL_H
32#define BUFMSG_INTERNAL_H
33
34#include <portability.h>
35
37
42#ifndef DEF_BUF_SIZE
43#define DEF_BUF_SIZE 256
44#endif
45
52#ifndef BUF_UNUSED_DEF_SIZE_MULT
53#define BUF_UNUSED_DEF_SIZE_MULT 3
54#endif
55
62#ifndef BUF_MAX_UNREACH_PERCENT
63#define BUF_MAX_UNREACH_PERCENT 33
64#endif
65
70#ifndef DEF_MSG_SIZE
71#define DEF_MSG_SIZE 256
72#endif
73
75
76#endif /* ndef BUFMSG_INTERNAL_H */
77
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: portability.h:47
#define END_C_DECLS
Use END_C_DECLS at the end of C declarations.
Definition: portability.h:51