libgit2

git_smart_subtransport_stream

Version:

A stream used by the smart transport to read and write data from a subtransport.

This provides a customization point in case you need to support some other communication method.

Signature

typedef struct git_smart_subtransport_stream { git_smart_subtransport *subtransport int (*)(git_smart_subtransport_stream *, char *, size_t, size_t *) read int (*)(git_smart_subtransport_stream *, const char *, size_t) write void (*)(git_smart_subtransport_stream *) free };

Members

subtransport

The owning subtransport

int (*)(git_smart_subtransport_stream *, char *, size_t, size_t *)
read
int (*)(git_smart_subtransport_stream *, const char *, size_t)
write
void (*)(git_smart_subtransport_stream *)
free

Versions