diff options
Diffstat (limited to 'include/git2')
-rw-r--r-- | include/git2/sys/transport.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/include/git2/sys/transport.h b/include/git2/sys/transport.h index b70582188..d7d6c3c3d 100644 --- a/include/git2/sys/transport.h +++ b/include/git2/sys/transport.h @@ -233,6 +233,19 @@ GIT_EXTERN(int) git_transport_local( /* NULL */ void *payload); /** + * Create an instance of the git transport. + * + * @param out The newly created transport (out) + * @param owner The git_remote which will own this transport + * @param payload You must pass NULL for this parameter. + * @return 0 or an error code + */ +GIT_EXTERN(int) git_transport_git( + git_transport **out, + git_remote *owner, + /* NULL */ void *payload); + +/** * Create an instance of the smart transport. * * @param out The newly created transport (out) |