dnp3 (C API) 1.1.0
|
Handler for time synchronization tasks. More...
#include <dnp3.h>
Data Fields | |
void(* | on_complete )(dnp3_nothing_t, void *) |
Invoked when the asynchronous operation completes successfully. More... | |
void(* | on_failure )(dnp3_time_sync_error_t, void *) |
Invoked when the asynchronous operation fails. More... | |
void(* | on_destroy )(void *arg) |
Callback when the underlying owner doesn't need the interface anymore. More... | |
void * | ctx |
Context data. More... | |
Handler for time synchronization tasks.
void* dnp3_time_sync_task_callback_t::ctx |
Context data.
void(* dnp3_time_sync_task_callback_t::on_complete) (dnp3_nothing_t, void *) |
Invoked when the asynchronous operation completes successfully.
result | Result of the time synchronization task |
ctx | Context data |
void(* dnp3_time_sync_task_callback_t::on_destroy) (void *arg) |
Callback when the underlying owner doesn't need the interface anymore.
arg | Context data |
void(* dnp3_time_sync_task_callback_t::on_failure) (dnp3_time_sync_error_t, void *) |
Invoked when the asynchronous operation fails.
error | Enumeration indicating which error occurred |
ctx | Context data |