diff options
| author | Brad Morgan <brad@dmgctrl.com> | 2013-05-03 10:37:33 -0400 |
|---|---|---|
| committer | Brad Morgan <brad@dmgctrl.com> | 2013-05-03 10:37:33 -0400 |
| commit | 297758dce3bd012b17da379996dca4413d9d651c (patch) | |
| tree | d697021ff0a8e5f16010706c8b70f587db563a3d /include/git2/transport.h | |
| parent | a50086d174658914d4d6462afbc83b02825b1f5b (diff) | |
| download | libgit2-297758dce3bd012b17da379996dca4413d9d651c.tar.gz | |
Added ssh transport file
Diffstat (limited to 'include/git2/transport.h')
| -rw-r--r-- | include/git2/transport.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/include/git2/transport.h b/include/git2/transport.h index 5e9968363..9b9ecc5fc 100644 --- a/include/git2/transport.h +++ b/include/git2/transport.h @@ -319,6 +319,17 @@ GIT_EXTERN(int) git_smart_subtransport_git( git_smart_subtransport **out, git_transport* owner); +/** + * Create an instance of the ssh subtransport. + * + * @param out The newly created subtransport + * @param owner The smart transport to own this subtransport + * @return 0 or an error code + */ +GIT_EXTERN(int) git_smart_subtransport_ssh( + git_smart_subtransport **out, + git_transport* owner); + /* *** End interface for subtransports for the smart transport *** */ |
