ELinks 0.18.0
dom_stack_context_info Struct Reference

DOM stack context info. More...

#include <stack.h>

Collaboration diagram for dom_stack_context_info:

Data Fields

size_t object_size
 The number of bytes to allocate on the stack for each state's data member.
 
dom_stack_callback_T push [DOM_NODES]
 Callbacks to be called when pushing nodes.
 
dom_stack_callback_T pop [DOM_NODES]
 Callbacks to be called when popping nodes.
 

Detailed Description

DOM stack context info.

To add a DOM stack context define this struct either statically or on the stack.

Field Documentation

◆ object_size

size_t dom_stack_context_info::object_size

The number of bytes to allocate on the stack for each state's data member.

Zero means no state data should be allocated.

◆ pop

dom_stack_callback_T dom_stack_context_info::pop[DOM_NODES]

Callbacks to be called when popping nodes.

◆ push

dom_stack_callback_T dom_stack_context_info::push[DOM_NODES]

Callbacks to be called when pushing nodes.


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