Soletta™ Framework
Framework for making IoT devices

Full online documentation | C API Index
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Fields
sol_netctl_agent Struct Reference

agent callback functions More...

#include <sol-netctl.h>

Data Fields

uint16_t api_version
 
void(* cancel )(void *data)
 connection cancel callback used to inform connection cancel More...
 
void(* release )(void *data)
 agent release callback used to inform agent release More...
 
void(* report_error )(void *data, const struct sol_netctl_service *service, const char *error)
 connection error callback used to inform connection failure More...
 
void(* request_input )(void *data, const struct sol_netctl_service *service, const struct sol_ptr_vector *inputs)
 connection input callback used to inform connection login input More...
 

Detailed Description

agent callback functions

This struct contains the callback functions of agent.

Examples:
/src/samples/network/netctl.c.

Field Documentation

uint16_t sol_netctl_agent::api_version
Examples:
/src/samples/network/netctl.c.

Referenced by startup().

void(* sol_netctl_agent::cancel)(void *data)

connection cancel callback used to inform connection cancel

Parameters
datathe user data

Referenced by startup().

void(* sol_netctl_agent::release)(void *data)

agent release callback used to inform agent release

Parameters
datathe user data

Referenced by startup().

void(* sol_netctl_agent::report_error)(void *data, const struct sol_netctl_service *service, const char *error)

connection error callback used to inform connection failure

Parameters
datathe user data
servicethe connection failure service
errorthe error information

Referenced by startup().

void(* sol_netctl_agent::request_input)(void *data, const struct sol_netctl_service *service, const struct sol_ptr_vector *inputs)

connection input callback used to inform connection login input

Parameters
datathe user data
servicethe connection login input service
inputsthe ptr vector of login input type

Referenced by startup().


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