Multipart write specialization data_write_callback_arg. More...
#include <globus_dsi_rest.h>
Data Fields | |
| size_t | num_parts |
| globus_dsi_rest_write_t * | part_writer |
| void ** | part_writer_arg |
| globus_dsi_rest_key_array_t * | part_header |
Multipart write specialization data_write_callback_arg.
A pointer to a data structure of this type must be be used as the data_write_callback_arg parameter when using the globus_dsi_rest_write_multipart() function as the data_write_callback to globus_dsi_rest_request().
| size_t globus_dsi_rest_multipart_arg_s::num_parts |
Number of parts for the multipart message
| globus_dsi_rest_key_array_t* globus_dsi_rest_multipart_arg_s::part_header |
Array of num_parts elements, each containing a set of headers to add to the beginning of the part message. Any element in the array may contain an empty set of headers.
| globus_dsi_rest_write_t* globus_dsi_rest_multipart_arg_s::part_writer |
Array of num_parts elements, each containing a globus_dsi_rest_write_t function pointer to write the data for that part.
| void** globus_dsi_rest_multipart_arg_s::part_writer_arg |
Array of num_parts elements, each containing an argument to pass to the corresponding part_writer callback function pointer
1.8.7