libgit2

git_smart_subtransport_definition

Version:

Definition for a "subtransport"

This is used to let the smart protocol code know about the protocol which you are implementing.

Signature

typedef struct git_smart_subtransport_definition { git_smart_subtransport_cb callback unsigned int rpc };

Members

callback

The function to use to create the git_smart_subtransport

unsigned int
rpc

True if the protocol is stateless; false otherwise. For example, http:// is stateless, but git:// is not.

Versions