rodbus (C API) 1.3.1
Loading...
Searching...
No Matches
rodbus_database_callback_t Struct Reference

Callback used to access the internal database while it is locked. More...

#include <rodbus.h>

Data Fields

void(* callback )(rodbus_database_t *, void *)
 callback function More...
 
void(* on_destroy )(void *arg)
 Callback when the underlying owner doesn't need the interface anymore. More...
 
void * ctx
 Context data. More...
 

Detailed Description

Callback used to access the internal database while it is locked.

Field Documentation

◆ callback

void(* rodbus_database_callback_t::callback) (rodbus_database_t *, void *)

callback function

Parameters
databaseDatabase on which to perform updates
ctxContext data

◆ ctx

void* rodbus_database_callback_t::ctx

Context data.

◆ on_destroy

void(* rodbus_database_callback_t::on_destroy) (void *arg)

Callback when the underlying owner doesn't need the interface anymore.

Parameters
argContext data

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