[Libssh] [PATCH] channel_read_direct
Rodolphe Rocca
rodolphe.rocca at kabira.fr
Wed Feb 27 18:50:54 CET 2008
Hello,
channel_read should take a (void *buffer) instead of a (BUFFER *buffer).
This would allows developers to provide their own pointer and would
avoid a string copy in some cases.
Please find enclosed a patch that adds a channel_read_direct function,
but modifying channel_read would probably be a better option.
Regards,
Rodolphe
-------------- next part --------------
A non-text attachment was scrubbed...
Name: libssh_0_2_directread.patch
Type: text/x-patch
Size: 2281 bytes
Desc: not available
Url : http://www.cerkinfo.be/pipermail/libssh/attachments/20080227/52cfc12f/attachment.bin
More information about the Libssh
mailing list