aboutsummaryrefslogtreecommitdiff
path: root/libssh
diff options
context:
space:
mode:
authorAris Adamantiadis <aris@0xbadc0de.be>2010-08-29 00:12:01 +0200
committerAris Adamantiadis <aris@0xbadc0de.be>2010-08-29 00:12:01 +0200
commitb30aff6d4d3dedb30ff70aa1a5f4bb97184d2054 (patch)
treecdbfd4e9431811748522fe8c5b08df8199e30db2 /libssh
parentbf9a82ad9a7b033a2903f2b8d477cb0657a4e068 (diff)
downloadlibssh-b30aff6d4d3dedb30ff70aa1a5f4bb97184d2054.tar.gz
libssh-b30aff6d4d3dedb30ff70aa1a5f4bb97184d2054.tar.xz
libssh-b30aff6d4d3dedb30ff70aa1a5f4bb97184d2054.zip
Mark channel_read_buffer as deprecated in doxygen
Diffstat (limited to 'libssh')
-rw-r--r--libssh/channels.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/libssh/channels.c b/libssh/channels.c
index cc92132..6900bee 100644
--- a/libssh/channels.c
+++ b/libssh/channels.c
@@ -1948,10 +1948,6 @@ error:
}
-
-/* TODO : fix the delayed close thing */
-/* TODO : fix the blocking behaviours */
-
/**
* @brief Read data from a channel into a buffer.
*
@@ -1967,6 +1963,8 @@ error:
*
* @return The number of bytes read, 0 on end of file or SSH_ERROR
* on error.
+ * @deprecated Please use ssh_channel_read instead
+ * @see ssh_channel_read
*/
int channel_read_buffer(ssh_channel channel, ssh_buffer buffer, uint32_t count,
int is_stderr) {