summaryrefslogtreecommitdiff
path: root/include/git2/transport.h
diff options
context:
space:
mode:
authorBrad Morgan <brad@dmgctrl.com>2013-05-03 10:37:33 -0400
committerBrad Morgan <brad@dmgctrl.com>2013-05-03 10:37:33 -0400
commit297758dce3bd012b17da379996dca4413d9d651c (patch)
treed697021ff0a8e5f16010706c8b70f587db563a3d /include/git2/transport.h
parenta50086d174658914d4d6462afbc83b02825b1f5b (diff)
downloadlibgit2-297758dce3bd012b17da379996dca4413d9d651c.tar.gz
Added ssh transport file
Diffstat (limited to 'include/git2/transport.h')
-rw-r--r--include/git2/transport.h11
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 ***
*/