libgit2

git_transport_message_cb

Version:

Callback for messages recieved by the transport.

Return a negative value to cancel the network operation.

Signature

typedef int git_transport_message_cb(const char *str, int len, void *payload);

Parameters

const char *
In
str

The message from the transport

int
In
len

The length of the message

void *
In
payload

Payload provided by the caller

Versions