dm_rpc_write_callback Function

public function dm_rpc_write_callback(ptr, sz, nmemb, data) result(n) bind(c))

C-interoperable write callback function for libcurl. Writes the received response chunks to rpc_response_type pointer that has to be passed through C pointer data. Do not call this function directly.

Arguments

Type IntentOptional Attributes Name
type(c_ptr), intent(in), value :: ptr

C pointer to a chunk of the response.

integer(kind=c_size_t), intent(in), value :: sz

Always 1.

integer(kind=c_size_t), intent(in), value :: nmemb

Size of the response chunk.

type(c_ptr), intent(in), value :: data

C pointer to argument passed by caller.

Return Value integer(kind=c_size_t)


Calls

proc~~dm_rpc_write_callback~~CallsGraph proc~dm_rpc_write_callback dm_rpc_write_callback c_f_str_ptr c_f_str_ptr proc~dm_rpc_write_callback->c_f_str_ptr