/usr/include/cln/malloc.h is in libcln-dev 1.3.3-1ubuntu1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 | // User modifiable memory allocator.
#ifndef _CL_MALLOC_H
#define _CL_MALLOC_H
#include <cstdlib>
namespace cln {
// Function like malloc() which returns aligned memory of size (> 0) bytes.
extern void* (*malloc_hook) (size_t size);
// Function like free() which makes available for reuse such memory.
extern void (*free_hook) (void* ptr);
} // namespace cln
#endif /* _CL_MALLOC_H */
|