diff options
author | Edward Thomson <ethomson@edwardthomson.com> | 2023-04-11 21:50:32 +0100 |
---|---|---|
committer | Edward Thomson <ethomson@edwardthomson.com> | 2023-04-11 21:50:32 +0100 |
commit | b3e23030982f3613ca426cc73089ed8f2b9e8d62 (patch) | |
tree | b9074e01ed62192c6b003ddccb568197b024addc /include/git2/sys | |
parent | f15c8ac71a916bf186cd5ff81f07ca85eef82afb (diff) | |
download | libgit2-b3e23030982f3613ca426cc73089ed8f2b9e8d62.tar.gz |
Diffstat (limited to 'include/git2/sys')
-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) |