MGE General C Library - Full Internal Documentation  v1.4.1
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  * *
27  ************************************************************************
28  */
29 
30 #ifndef BUFMSG_INTERNAL_H
31 #define BUFMSG_INTERNAL_H
32 
33 #include <portability.h>
34 
36 
41 #ifndef DEF_BUF_SIZE
42 #define DEF_BUF_SIZE 256
43 #endif
44 
51 #ifndef BUF_UNUSED_DEF_SIZE_MULT
52 #define BUF_UNUSED_DEF_SIZE_MULT 3
53 #endif
54 
61 #ifndef BUF_MAX_UNREACH_PERCENT
62 #define BUF_MAX_UNREACH_PERCENT 33
63 #endif
64 
69 #ifndef DEF_MSG_SIZE
70 #define DEF_MSG_SIZE 256
71 #endif
72 
74 
75 #endif /* ndef BUFMSG_INTERNAL_H */
76 
Header file to ease portability.
#define END_C_DECLS
Use END_C_DECLS at the end of C declarations.
Definition: portability.h:50
#define BEGIN_C_DECLS
BEGIN_C_DECLS should be used at the beginning of declarations so that C++ compilers don&#39;t mangle thei...
Definition: portability.h:46