summaryrefslogtreecommitdiffstats
path: root/libssh/buffer.c
Commit message (Collapse)AuthorAgeFilesLines
* misc: Rename libssh/ to src/Andreas Schneider2010-09-061-578/+0
|
* Added missing /** in doxygen @}'sAris Adamantiadis2010-08-281-1/+1
|
* Sanitize libssh namespace + legacy wrappersAris Adamantiadis2010-05-141-10/+10
|
* Fixed the documentation of buffer.cAndreas Schneider2010-04-041-121/+237
|
* Fixed typos from a* to error.cAris Adamantiadis2010-01-061-1/+1
|
* First lines of experimental pcap output supportAris Adamantiadis2009-11-081-0/+15
| | | | This will serve to debug packets right under wireshark !
* Moved lots of declaration out of priv.hAris Adamantiadis2009-09-231-4/+4
|
* Fix an integer overflow in buffer_get_data().Andreas Schneider2009-09-031-2/+7
| | | | Thanks to Orange Labs for the report.
* Switch completly to stdint types.Andreas Schneider2009-07-251-27/+27
|
* Fixed namespace problem in public structuresAris Adamantiadis2009-07-241-29/+29
| | | | | | | | | changed struct string_struct to ssh_string_struct buffer_struct to ssh_buffer_struct and so on. Should not break apps using the caps version of these
* Fixed copyright noticesAris Adamantiadis2009-07-131-1/+1
|
* Added a macro to test buffer_struct integrityAris Adamantiadis2009-06-211-9/+50
| | | | Nothing yet in cmake and config.h.in for this
* Fix build warnings.Andreas Schneider2009-06-091-0/+5
| | | | git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@774 7dcaeef0-15fb-0310-b436-a5af3365683c
* Fix the vim modeline and place it at the end of the file.Andreas Schneider2009-05-121-3/+1
| | | | git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@763 7dcaeef0-15fb-0310-b436-a5af3365683c
* Rename buffer_add_data_begin() to buffer_prepend_data().Andreas Schneider2009-04-221-1/+2
| | | | git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@571 7dcaeef0-15fb-0310-b436-a5af3365683c
* Fix a memory leak in realloc_buffer.Andreas Schneider2009-04-071-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
* Use memset cause something is wrong with the macro.Andreas Schneider2009-04-011-1/+1
| | | | git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@335 7dcaeef0-15fb-0310-b436-a5af3365683c
* Add NULL check to buffer free.Andreas Schneider2009-04-011-0/+4
| | | | git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@332 7dcaeef0-15fb-0310-b436-a5af3365683c
* Add error checking to buffer functions.Andreas Schneider2009-04-011-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
* Normalize the license in all files and add vim tab instructions.Andreas Schneider2009-03-291-18/+23
| | | | git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@305 7dcaeef0-15fb-0310-b436-a5af3365683c
* Use unsigned values for length in buffer functions.Andreas Schneider2009-02-021-4/+4
| | | | git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@211 7dcaeef0-15fb-0310-b436-a5af3365683c
* Fix compiler warnings in buffer implementation.Andreas Schneider2009-02-021-4/+4
| | | | git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@206 7dcaeef0-15fb-0310-b436-a5af3365683c
* doxygen fixes. Mostly typos and some comments.Aris Adamantiadis2008-11-041-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
* small changes in doxyfile.Aris Adamantiadis2008-11-011-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
* more efficient allocation algorithm for buffer.cAris Adamantiadis2008-06-161-7/+15
| | | | git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@170 7dcaeef0-15fb-0310-b436-a5af3365683c
* Big changes :Aris Adamantiadis2008-06-161-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
* begin fixing the ssh_say everywhereAris Adamantiadis2008-06-121-1/+1
| | | | git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@167 7dcaeef0-15fb-0310-b436-a5af3365683c
* Doxygen changesAris Adamantiadis2008-05-121-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
* fixed the netdb problem ?Aris Adamantiadis2008-03-121-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
* good work tonight. Made documentation for authentication, channels, buffers, ↵Aris Adamantiadis2006-11-121-1/+75
| | | | | | errors git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@80 7dcaeef0-15fb-0310-b436-a5af3365683c
* resolved the channel hangs on exit issue (moved EOF to read events and ↵Aris Adamantiadis2005-10-261-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
* added the gcrypt patch (without gcrypt as default library).Aris Adamantiadis2005-10-041-1/+1
| | | | | | | still needs tests. git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@38 7dcaeef0-15fb-0310-b436-a5af3365683c
* first importAris Adamantiadis2005-07-051-0/+181
git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@1 7dcaeef0-15fb-0310-b436-a5af3365683c