Sebastián Pastor / EtheriosCloudConnector
Embed: (wiki syntax)

« Back to documentation index

connector_data_service_length_t Struct Reference

connector_data_service_length_t Struct Reference
[Length of data/response to send]

The callback data with request ID connector_request_id_data_service_send_length and connector_request_id_data_service_receive_reply_length will point to this structure. More...

#include <connector_api_data_service.h>

Data Fields

connector_transport_t CONST transport
 transport method from where the callback is originated
void * user_context
 context passed in connector_initiate_action
size_t total_bytes
 total number of bytes in send data

Detailed Description

The callback data with request ID connector_request_id_data_service_send_length and connector_request_id_data_service_receive_reply_length will point to this structure.

User needs to update total bytes with the number of bytes in send/response data. This callback will be called just before the callback for send_data and reply_data.

Definition at line 93 of file connector_api_data_service.h.


Field Documentation

size_t total_bytes

total number of bytes in send data

Definition at line 98 of file connector_api_data_service.h.

transport method from where the callback is originated

Definition at line 95 of file connector_api_data_service.h.

void* user_context

context passed in connector_initiate_action

Definition at line 96 of file connector_api_data_service.h.