OpenLcbCLib 1.0 Alpha
OpenSource C Library to create OpenLcb/Lcc Nodes
Loading...
Searching...
No Matches
interface_protocol_train_search_handler_t Struct Reference

Application callbacks for train search events. More...

Data Fields

void(* on_search_matched )(openlcb_node_t *openlcb_node, uint16_t search_address, uint8_t flags)
 Called when a search matches this train node.
 
openlcb_node_t *(* on_search_no_match )(uint16_t search_address, uint8_t flags)
 Called when no train node matches (allocate case, deferred).
 

Detailed Description

Application callbacks for train search events.

All callbacks are optional (can be NULL).

Field Documentation

◆ on_search_matched

void(* on_search_matched) (openlcb_node_t *openlcb_node, uint16_t search_address, uint8_t flags)

Called when a search matches this train node.

◆ on_search_no_match

openlcb_node_t *(* on_search_no_match) (uint16_t search_address, uint8_t flags)

Called when no train node matches (allocate case, deferred).


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

Copyright (c) 2026 Jim Kueneman all rights reserved. See the License