BSL v0.0.0 - 0.g33cf081
AMMOS Bundle Protocol Security Library (BSL)
|
Definition of a sequential writer using callbacks. More...
#include <UtilDefs_SeqReadWrite.h>
Data Fields | |
void * | user_data |
Context from the BPA. | |
int(* | write )(void *user_data, const void *buf, size_t size) |
Called to read a block of data from the source. | |
void(* | deinit )(void *user_data) |
Called to close this writer and free its resources. | |
Definition of a sequential writer using callbacks.
void(* BSL_SeqWriter_t::deinit) (void *user_data) |
Called to close this writer and free its resources.
This pointer must not be NULL.
[in] | user_data | The context pointer. |
int(* BSL_SeqWriter_t::write) (void *user_data, const void *buf, size_t size) |
Called to read a block of data from the source.
This pointer must not be NULL.
[in] | user_data | The context pointer. |
[in] | buf | The buffer to write from, with its size indicated by size . |
size | The input of the buffer size. |