dnp3 (C API) 1.6.0
Loading...
Searching...
No Matches
dnp3_read_directory_callback_t Struct Reference

Callback interface for retrieving a directory list. More...

#include <dnp3.h>

Data Fields

void(* on_complete )(dnp3_file_info_iterator_t *, void *)
 Invoked when the asynchronous operation completes successfully. More...
 
void(* on_failure )(dnp3_file_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...
 

Detailed Description

Callback interface for retrieving a directory list.

Field Documentation

◆ ctx

void* dnp3_read_directory_callback_t::ctx

Context data.

◆ on_complete

void(* dnp3_read_directory_callback_t::on_complete) (dnp3_file_info_iterator_t *, void *)

Invoked when the asynchronous operation completes successfully.

Parameters
resultiterator of dnp3_file_info_t values
ctxContext data

◆ on_destroy

void(* dnp3_read_directory_callback_t::on_destroy) (void *arg)

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

Parameters
argContext data

◆ on_failure

void(* dnp3_read_directory_callback_t::on_failure) (dnp3_file_error_t, void *)

Invoked when the asynchronous operation fails.

Parameters
errorEnumeration indicating which error occurred
ctxContext data

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