NET_PRES_EncProviderWrite Type
C
typedef int32_t (* NET_PRES_EncProviderWrite)(void * providerData, const uint8_t * buffer, uint16_t size);
Returns
The number of bytes transferred.
Description
Presentation Encryption Provider Write Function Pointer Prototype This function pointer defines the write function. It is called by the presentation layer when the application wants to write to a secured connection.
Preconditions
A connection must have already been created, and be in the open state.
Parameters
Parameters | Description |
---|---|
providerData | A pointer to the buffer for the provider to keep connection specific data. |
buffer | This is a pointer to the buffer that will be sent to the provider. |
size | This is the size of the buffer. |