Branding and callback functions
specific to Telodendria.
const char TelodendriaLogo[TELODENDRIA_LOGO_HEIGHT][TELODENDRIA_LOGO_WIDTH]
This holds the Telodendria ASCII art logo. TELODENDRIA_LOGO_HEIGHT and TELODENDRIA_LOGO_WIDTH are the sizes of each dimension of the two-dimensional array. TELODENDRIA_LOGO_HEIGHT is the number of lines the logo contains, and TELODENDRIA_LOGO_WIDTH is the number of characters in each line.
NOTE: the Telodendria logo belongs solely to the Telodendria project. If this code is modified and distributed as something other than a packaging of the official Telodendria source package, the logo must be replaced with a different one, or removed entirely. Consult the licensing section of telodendria(7) for details.
const char TelodendriaHeader[TELODENDRIA_HEADER_HEIGHT][TELODENDRIA_HEADER_WIDTH]
This holds the Telodendria ASCII art header. It follows the same conventions as the logo, but is not under any particular restrictions other than those spelled out in the license.
This API provides the callbacks used to hook Telodendria into the
various other APIs. It exists primarily to be called by
but these functions are not static so
main() can be
in a separate compilation unit.
void TelodendriaMemoryHook(MemoryAction, MemoryInfo *, void *)
This function follows the function prototype required by
It is executed every time an allocation, re-allocation, or free occurs, and
is responsible for logging memory operations to the log.
Print the logo and header, along with the copyright year and holder, and the version number, out to the global log.