dm_rpc_read_callback Function

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

Uses

    • unix
  • proc~~dm_rpc_read_callback~~UsesGraph proc~dm_rpc_read_callback dm_rpc_read_callback unix unix proc~dm_rpc_read_callback->unix

C-interoperable read callback function for libcurl. Reads chunks using fread(3). 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)

Function return value.


Calls

proc~~dm_rpc_read_callback~~CallsGraph proc~dm_rpc_read_callback dm_rpc_read_callback c_fread c_fread proc~dm_rpc_read_callback->c_fread