aboutsummaryrefslogtreecommitdiff
path: root/libssh
diff options
context:
space:
mode:
authorAndreas Schneider <mail@cynapses.org>2009-05-04 07:00:47 +0000
committerAndreas Schneider <mail@cynapses.org>2009-05-04 07:00:47 +0000
commit5b547812eb7f19eb06bd9cc6c4861944e687923a (patch)
treeb2c301b083745dc3c0bc8ca10792e26ab2974947 /libssh
parent8060f51ec7891f2d27972a3662c47a05df40a8eb (diff)
downloadlibssh-5b547812eb7f19eb06bd9cc6c4861944e687923a.tar.gz
libssh-5b547812eb7f19eb06bd9cc6c4861944e687923a.tar.xz
libssh-5b547812eb7f19eb06bd9cc6c4861944e687923a.zip
Improve the channel_request_subsystem() docu.
git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@697 7dcaeef0-15fb-0310-b436-a5af3365683c
Diffstat (limited to 'libssh')
-rw-r--r--libssh/channels.c17
1 files changed, 10 insertions, 7 deletions
diff --git a/libssh/channels.c b/libssh/channels.c
index 66fcc18..3821d6c 100644
--- a/libssh/channels.c
+++ b/libssh/channels.c
@@ -1195,13 +1195,16 @@ int channel_request_shell(CHANNEL *channel) {
return channel_request(channel, "shell", NULL, 1);
}
-/** \brief requests a subsystem (for example sftp)
- * \param channel channel
- * \param system subsystem to request (for example sftp)
- * \return SSH_SUCCESS on success\n
- * SSH_ERROR on error
- * \warning you normally don't have to call it to have sftp
- * \see sftp_new()
+/**
+ * @brief Request a subsystem (for example "sftp").
+ *
+ * @param channel The channel to send the request.
+ *
+ * @param system The subsystem to request (for example "sftp").
+ *
+ * @return SSH_SUCCESS on success, SSH_ERROR on error.
+ *
+ * @warning You normally don't have to call it for sftp, see sftp_new().
*/
int channel_request_subsystem(CHANNEL *channel, const char *sys) {
BUFFER *buffer = NULL;