Zephyr Project API 3.7.0
A Scalable Open Source RTOS
Loading...
Searching...
No Matches

#include <heap_listener.h>

Data Fields

sys_snode_t node
 Singly linked list node.
 
uintptr_t heap_id
 Identifier of the heap whose events are listened.
 
enum heap_event_types event
 The heap event to be notified.
 
union { 
 
   heap_listener_alloc_cb_t   alloc_cb 
 
   heap_listener_free_cb_t   free_cb 
 
   heap_listener_resize_cb_t   resize_cb 
 
};  
 

Field Documentation

◆ [union]

union { ... } heap_listener

◆ alloc_cb

heap_listener_alloc_cb_t heap_listener::alloc_cb

◆ event

enum heap_event_types heap_listener::event

The heap event to be notified.

◆ free_cb

heap_listener_free_cb_t heap_listener::free_cb

◆ heap_id

uintptr_t heap_listener::heap_id

Identifier of the heap whose events are listened.

It can be a heap pointer, if the heap is represented as an object, or 0 in the case of the global libc heap.

◆ node

sys_snode_t heap_listener::node

Singly linked list node.

◆ resize_cb

heap_listener_resize_cb_t heap_listener::resize_cb

The documentation for this struct was generated from the following file: