summaryrefslogtreecommitdiffstats
path: root/include/libssh
Commit message (Collapse)AuthorAgeFilesLines
* Changes all CHANNEL * to ssh_channelAris Adamantiadis2009-07-244-43/+43
|
* Change PRIVATE_KEY * to ssh_private_keyAris Adamantiadis2009-07-242-13/+13
|
* Changed all PUBLIC_KEY * to ssh_public_keyAris Adamantiadis2009-07-242-10/+10
|
* Changed all occurences of BUFFER * to ssh_bufferAris Adamantiadis2009-07-243-47/+47
|
* Change all occurences of STRING * to ssh_stringAris Adamantiadis2009-07-243-53/+68
|
* moved try_publickey_from_file in priv.hAris Adamantiadis2009-07-242-4/+3
| | | | | | Had nothing to do in libssh.h. 100% sure nobody used it since one of the structure declaration was not public.
* replacing keys_struct with ssh_keys_structAris Adamantiadis2009-07-242-3/+3
|
* Fixed namespace problem in public structuresAris Adamantiadis2009-07-242-22/+22
| | | | | | | | | 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
* Make the ssh_userauth_kbdint functions to get the prompts const.Andreas Schneider2009-07-211-3/+3
| | | | They shouldn't be modified or free'd by a user.
* Fix sol8 + ss11 compile errors.Andreas Schneider2009-07-201-1/+11
| | | | Thanks to tysonite@gmail.com.
* Fixed copyright noticesAris Adamantiadis2009-07-132-2/+2
|
* Added return code SSH_SERVER_FILE_NOT_FOUNDAris Adamantiadis2009-07-121-0/+1
| | | | | This error is returned by ssh_is_server_known when known_hosts file does not exist and gives more action to the developer.
* Set correct hint when connecting to an IP addressAris Adamantiadis2009-07-121-0/+3
| | | | | | | | libssh now uses a regular expression against destination hostnames to match numerical IP addresses and set the appropriate hint. Patches also add init and finalize code to compile the regexp
* fix int -> socket_t in SSH_POLLAris Adamantiadis2009-07-041-1/+1
|
* Temporary move of ssh_poll_* back to priv.hAris Adamantiadis2009-07-042-36/+33
| | | | | We'll see later what needs to be put back in public functions
* Move doxygen tags into C filesAris Adamantiadis2009-07-041-122/+1
|
* Put back the poll declarations into priv.hAris Adamantiadis2009-07-042-7/+9
| | | | That are, poll constants.
* Add a generic way to handle sockets asynchronously.Aleksandar Kanchev2009-07-032-8/+163
| | | | | | | | | | | | | | It's based on poll objects, each of which store a socket, it's events and a callback, which gets called whenever an event is set. The poll objects are attached to a poll context, which should be allocated on per thread basis. Polling the poll context will poll all the attached poll objects and call their callbacks (handlers) if any of the socket events are set. This should be done within the main loop of an application. This is intended as a ground work for making libssh asynchronous. Signed-off-by: Aleksandar Kanchev <aleksandar.kanchev@googlemail.com>
* Verify memory return codes in ssh_list functionsAris Adamantiadis2009-06-191-1/+1
|
* added ssh_message_callback support.Aris Adamantiadis2009-06-182-3/+8
| | | | Not fully working yet. User can set his ssh_message_callback, and the function ssh_execute_message_callbacks will call them when appropriate. Messages are correctly stacked (in packet_parse) but no call to ssh_execute_callbacks exists yet.
* Created general singlelinked list implementationAris Adamantiadis2009-06-181-0/+35
|
* Begin of asynchronous SSH message parsingAris Adamantiadis2009-06-171-0/+4
|
* ssh_message_retrieve + memoryleak fixed in ssh_message_freeAris Adamantiadis2009-06-172-0/+11
| | | | | ssh_message_retrieve parses a specific SSH message and returns a pointer to it. Hacked ssh_message_get to use it. This is the first step to have asynchronous ssh messages callbacks.
* ssh_init()Aris Adamantiadis2009-06-151-0/+1
| | | | | | | fixes in client.c and server.c for this git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@778 7dcaeef0-15fb-0310-b436-a5af3365683c
* Make use of poll() and add a poll-emulation for win32.Andreas Schneider2009-06-041-0/+25
| | | | git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@772 7dcaeef0-15fb-0310-b436-a5af3365683c
* Fix the vim modeline and place it at the end of the file.Andreas Schneider2009-05-126-10/+6
| | | | git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@763 7dcaeef0-15fb-0310-b436-a5af3365683c
* Document the ssh server bind functions.Andreas Schneider2009-05-111-1/+74
| | | | git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@756 7dcaeef0-15fb-0310-b436-a5af3365683c
* Added a ssh_bind_set_fd() function.Andreas Schneider2009-05-111-1/+12
| | | | git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@754 7dcaeef0-15fb-0310-b436-a5af3365683c
* Change variable names of the keys_struct to avoid conflicts.Andreas Schneider2009-05-111-2/+2
| | | | git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@753 7dcaeef0-15fb-0310-b436-a5af3365683c
* Improve bin_to_base64() and use const for source.Andreas Schneider2009-05-051-1/+1
| | | | git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@743 7dcaeef0-15fb-0310-b436-a5af3365683c
* Improve base64_to_bin().Andreas Schneider2009-05-051-1/+1
| | | | git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@735 7dcaeef0-15fb-0310-b436-a5af3365683c
* Format ssh_select().Andreas Schneider2009-05-051-1/+2
| | | | git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@729 7dcaeef0-15fb-0310-b436-a5af3365683c
* Use const char * and an unsigned int in ssh_crc32().Andreas Schneider2009-05-051-1/+1
| | | | git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@723 7dcaeef0-15fb-0310-b436-a5af3365683c
* Improve channel_poll() and add a SSH_EOF return value.Andreas Schneider2009-05-041-3/+4
| | | | git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@702 7dcaeef0-15fb-0310-b436-a5af3365683c
* Implement channel_read() as a POSIX like function.Andreas Schneider2009-05-041-2/+5
| | | | | | | Create channel_read_buffer() to have the old version still available. git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@700 7dcaeef0-15fb-0310-b436-a5af3365683c
* Improve ssh_channel_from_local().Andreas Schneider2009-05-021-1/+1
| | | | git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@674 7dcaeef0-15fb-0310-b436-a5af3365683c
* Add a BURN_STRING macro and use it in auth.c.Andreas Schneider2009-04-301-0/+3
| | | | git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@660 7dcaeef0-15fb-0310-b436-a5af3365683c
* Improve the autopubkey authentication.Andreas Schneider2009-04-301-3/+3
| | | | git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@658 7dcaeef0-15fb-0310-b436-a5af3365683c
* Improve auto public key authentication.Andreas Schneider2009-04-282-2/+12
| | | | git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@636 7dcaeef0-15fb-0310-b436-a5af3365683c
* Improve sftp_reply_data and fix sftp_reply_status.Andreas Schneider2009-04-271-2/+2
| | | | git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@627 7dcaeef0-15fb-0310-b436-a5af3365683c
* Improve sftp_reply_names_add.Andreas Schneider2009-04-271-2/+2
| | | | git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@625 7dcaeef0-15fb-0310-b436-a5af3365683c
* Improve sftp_reply_name.Andreas Schneider2009-04-271-1/+2
| | | | git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@622 7dcaeef0-15fb-0310-b436-a5af3365683c
* Add option to build with or without sftp support.Andreas Schneider2009-04-271-2/+14
| | | | git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@618 7dcaeef0-15fb-0310-b436-a5af3365683c
* Improve the sftp seek functions.Andreas Schneider2009-04-241-2/+6
| | | | git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@605 7dcaeef0-15fb-0310-b436-a5af3365683c
* Use a negative value for SSH_AGAIN.Andreas Schneider2009-04-241-1/+1
| | | | | | | | | This is needed for function which return the length read for example. If we read only one byte then 1 would be returned and some function may think that it has to read again. git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@603 7dcaeef0-15fb-0310-b436-a5af3365683c
* Improve the sftp async read functions.Andreas Schneider2009-04-241-5/+5
| | | | git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@602 7dcaeef0-15fb-0310-b436-a5af3365683c
* Improve buffer_add_attributes() and add a return value.Andreas Schneider2009-04-231-1/+1
| | | | git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@593 7dcaeef0-15fb-0310-b436-a5af3365683c
* Rename buffer_add_data_begin() to buffer_prepend_data().Andreas Schneider2009-04-221-1/+1
| | | | git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@571 7dcaeef0-15fb-0310-b436-a5af3365683c
* Improve publickey_from_file().Andreas Schneider2009-04-201-1/+2
| | | | git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@567 7dcaeef0-15fb-0310-b436-a5af3365683c
* Rename privatekey_free() to be consistent with publickey_free().Andreas Schneider2009-04-201-1/+1
| | | | git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@563 7dcaeef0-15fb-0310-b436-a5af3365683c