diff options
author | Andreas Schneider <mail@cynapses.org> | 2009-05-04 10:10:15 +0000 |
---|---|---|
committer | Andreas Schneider <mail@cynapses.org> | 2009-05-04 10:10:15 +0000 |
commit | 3d9fbe8eea901de93a70df5cd1cfa2407583be68 (patch) | |
tree | 850918ec538988ed5e62a85fd32d41908d08a3d6 /libssh | |
parent | 152da0702351dce04b62999aa98efc57fbda4489 (diff) | |
download | libssh-3d9fbe8eea901de93a70df5cd1cfa2407583be68.tar.gz libssh-3d9fbe8eea901de93a70df5cd1cfa2407583be68.tar.xz libssh-3d9fbe8eea901de93a70df5cd1cfa2407583be68.zip |
Add a warning.
git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@701 7dcaeef0-15fb-0310-b436-a5af3365683c
Diffstat (limited to 'libssh')
-rw-r--r-- | libssh/channels.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libssh/channels.c b/libssh/channels.c index 4fbe3f8..686e100 100644 --- a/libssh/channels.c +++ b/libssh/channels.c @@ -1456,6 +1456,9 @@ int channel_read_buffer(CHANNEL *channel, BUFFER *buffer, u32 count, * @param is_stderr A boolean value to mark reading from the stderr flow. * * @return The number of bytes read, 0 on end of file or SSH_ERROR on error. + * + * @warning The read function using a buffer has been renamed to + * channel_read_buffer(). */ int channel_read(CHANNEL *channel, void *dest, u32 count, int is_stderr) { SSH_SESSION *session = channel->session; |