dm_rpc_callback Interface

interface
public function dm_rpc_callback(ptr, size, nmemb, data) bind(c)

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 :: size

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 client data passed by caller.

Return Value integer(kind=c_size_t)

Function return value.

Description

C-interoperable read/write callback for libcurl.