Diffusion C API  6.10.2
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
session_create_callback_s Struct Reference

When creating a session which performs a connection to Diffusion asynchronously, these callbacks can be supplied and are invoked when the connection is made successfully, or an error occurs. More...

Data Fields

int(* on_connected )(struct session_s *session)
 A connection has been made to Diffusion successfully.
 
int(* on_error )(struct session_s *session, DIFFUSION_ERROR_T *error)
 An error has occurred with the connection.
 

Detailed Description

When creating a session which performs a connection to Diffusion asynchronously, these callbacks can be supplied and are invoked when the connection is made successfully, or an error occurs.


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