aboutsummaryrefslogtreecommitdiff
path: root/libssh/buffer.c
AgeCommit message (Collapse)AuthorFilesLines
2009-04-22Rename buffer_add_data_begin() to buffer_prepend_data().Andreas Schneider1-1/+2
git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@571 7dcaeef0-15fb-0310-b436-a5af3365683c
2009-04-07Fix a memory leak in realloc_buffer.Andreas Schneider1-2/+5
If realloc fails, the original block is left untouched. So don't overwrite it that we can free it. git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@411 7dcaeef0-15fb-0310-b436-a5af3365683c
2009-04-01Use memset cause something is wrong with the macro.Andreas Schneider1-1/+1
git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@335 7dcaeef0-15fb-0310-b436-a5af3365683c
2009-04-01Add NULL check to buffer free.Andreas Schneider1-0/+4
git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@332 7dcaeef0-15fb-0310-b436-a5af3365683c
2009-04-01Add error checking to buffer functions.Andreas Schneider1-96/+162
We don't check arguments cause we want a segfault here. git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@312 7dcaeef0-15fb-0310-b436-a5af3365683c
2009-03-29Normalize the license in all files and add vim tab instructions.Andreas Schneider1-18/+23
git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@305 7dcaeef0-15fb-0310-b436-a5af3365683c
2009-02-02Use unsigned values for length in buffer functions.Andreas Schneider1-4/+4
git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@211 7dcaeef0-15fb-0310-b436-a5af3365683c
2009-02-02Fix compiler warnings in buffer implementation.Andreas Schneider1-4/+4
git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@206 7dcaeef0-15fb-0310-b436-a5af3365683c
2008-11-04doxygen fixes. Mostly typos and some comments.Aris Adamantiadis1-8/+63
sftp must be fully documented ! git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@187 7dcaeef0-15fb-0310-b436-a5af3365683c
2008-11-01small changes in doxyfile.Aris Adamantiadis1-7/+7
cosmetic changes in buffer.c added debugging enter_functions() in sftp.c git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@185 7dcaeef0-15fb-0310-b436-a5af3365683c
2008-06-16more efficient allocation algorithm for buffer.cAris Adamantiadis1-7/+15
git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@170 7dcaeef0-15fb-0310-b436-a5af3365683c
2008-06-16Big changes :Aris Adamantiadis1-3/+3
refactoring of the socket class. Now the buffering happens in the socket class. enhanced the logging system. Cleaned up some debugging messages. Verified the working with ssh-1. If this cleanup introduced bugs (it did but corrected the found ones) at least, they will be easier to find also added the (c) and fixed dates for updated files git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@169 7dcaeef0-15fb-0310-b436-a5af3365683c
2008-06-12begin fixing the ssh_say everywhereAris Adamantiadis1-1/+1
git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@167 7dcaeef0-15fb-0310-b436-a5af3365683c
2008-05-12Doxygen changesAris Adamantiadis1-4/+2
Modified the makefile so the ln -s never fails. git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@157 7dcaeef0-15fb-0310-b436-a5af3365683c
2008-03-12fixed the netdb problem ?Aris Adamantiadis1-1/+0
i don't understand, removing the #include <netdb.h> didn't add misses for ntohl. git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@148 7dcaeef0-15fb-0310-b436-a5af3365683c
2006-11-12good work tonight. Made documentation for authentication, channels, buffers, ↵Aris Adamantiadis1-1/+75
errors git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@80 7dcaeef0-15fb-0310-b436-a5af3365683c
2005-10-26resolved the channel hangs on exit issue (moved EOF to read events and ↵Aris Adamantiadis1-0/+4
removed it from exceptions). resolved stupid cute & paste error in init_md5() git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@47 7dcaeef0-15fb-0310-b436-a5af3365683c
2005-10-04added the gcrypt patch (without gcrypt as default library).Aris Adamantiadis1-1/+1
still needs tests. git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@38 7dcaeef0-15fb-0310-b436-a5af3365683c
2005-07-05first importAris Adamantiadis1-0/+181
git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@1 7dcaeef0-15fb-0310-b436-a5af3365683c