libgit2

git_smart_subtransport

Version:

An implementation of a subtransport which carries data for the smart transport

Signature

typedef struct git_smart_subtransport { int (*)(git_smart_subtransport_stream **, git_smart_subtransport *, const char *, git_smart_service_t) action int (*)(git_smart_subtransport *) close void (*)(git_smart_subtransport *) free };

Members

int (*)(git_smart_subtransport_stream **, git_smart_subtransport *, const char *, git_smart_service_t)
action

Setup a subtransport stream for the requested action.

int (*)(git_smart_subtransport *)
close

Close the subtransport.

Subtransports are guaranteed a call to close() between calls to action(), except for the following two "natural" progressions of actions against a constant URL:

  • UPLOADPACK_LS -> UPLOADPACK
  • RECEIVEPACK_LS -> RECEIVEPACK
void (*)(git_smart_subtransport *)
free

Free the subtransport

Parameter To

Versions