summaryrefslogtreecommitdiffstats
path: root/include/libssh/libssh.h
Commit message (Collapse)AuthorAgeFilesLines
* Move channel_write_stderr to server.c.Andreas Schneider2009-07-291-1/+0
|
* Add channel_write_stderr prototype to the right header file.Andreas Schneider2009-07-291-0/+1
| | | | Signed-off-by: Andreas Schneider <mail@cynapses.org>
* Check for OpenSSH and implement sftp_symlink correct.Andreas Schneider2009-07-281-0/+1
| | | | | | | | When OpenSSH's sftp-server was implemented, the order of the arguments to the SSH_FXP_SYMLINK method was inadvertently reversed. Unfortunately, the reversal was not noticed until the server was widely deployed. Since fixing this to follow the specification would cause incompatibility, the current order was retained.
* Fix conflicting declarations of ssh_session and ssh_kbdint.Andreas Schneider2009-07-251-4/+4
|
* Add ssh_clean_pubkey_hash() which is needed on Windows.Andreas Schneider2009-07-251-0/+1
|
* move all u32,u16,u8 and u64 declarations in priv.hAris Adamantiadis2009-07-241-12/+6
| | | | And fix all headers which need u32,u8,u64
* Make the SSH_SAFE_NAMESPACE flag activeAris Adamantiadis2009-07-241-1/+1
|
* Change refs from AGENT * to ssh_agentAris Adamantiadis2009-07-241-3/+2
| | | | Fixes also a typo in ssh_agent declaration
* Changes all CHANNEL * to ssh_channelAris Adamantiadis2009-07-241-28/+28
|
* Change PRIVATE_KEY * to ssh_private_keyAris Adamantiadis2009-07-241-5/+5
|
* Changed all PUBLIC_KEY * to ssh_public_keyAris Adamantiadis2009-07-241-5/+5
|
* Changed all occurences of BUFFER * to ssh_bufferAris Adamantiadis2009-07-241-6/+6
|
* Change all occurences of STRING * to ssh_stringAris Adamantiadis2009-07-241-15/+30
|
* moved try_publickey_from_file in priv.hAris Adamantiadis2009-07-241-4/+0
| | | | | | 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-241-2/+2
|
* Fixed namespace problem in public structuresAris Adamantiadis2009-07-241-6/+6
| | | | | | | | | 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.
* Fixed copyright noticesAris Adamantiadis2009-07-131-1/+1
|
* 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.
* Temporary move of ssh_poll_* back to priv.hAris Adamantiadis2009-07-041-36/+0
| | | | | 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-041-7/+0
| | | | That are, poll constants.
* Add a generic way to handle sockets asynchronously.Aleksandar Kanchev2009-07-031-0/+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>
* 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
* Fix the vim modeline and place it at the end of the file.Andreas Schneider2009-05-121-2/+1
| | | | git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@763 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
* 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 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-281-2/+4
| | | | git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@636 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 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
* Make use of const.Andreas Schneider2009-04-051-2/+3
| | | | git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@406 7dcaeef0-15fb-0310-b436-a5af3365683c
* Make return of ssh_get_error() const.Andreas Schneider2009-04-051-1/+1
| | | | git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@403 7dcaeef0-15fb-0310-b436-a5af3365683c
* Fix build warnings, mostly const chars.Andreas Schneider2009-04-051-8/+10
| | | | git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@394 7dcaeef0-15fb-0310-b436-a5af3365683c
* Make service name const.Andreas Schneider2009-04-051-1/+1
| | | | git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@392 7dcaeef0-15fb-0310-b436-a5af3365683c
* Improve and document ssh_options_set_[dsa,rsa]_server_key().Andreas Schneider2009-04-031-2/+2
| | | | git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@371 7dcaeef0-15fb-0310-b436-a5af3365683c
* Improve ssh_options_set_auth_callback().Andreas Schneider2009-04-021-10/+1
| | | | git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@370 7dcaeef0-15fb-0310-b436-a5af3365683c
* Improve ssh_options_set_log_verbosity().Andreas Schneider2009-04-021-1/+1
| | | | git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@369 7dcaeef0-15fb-0310-b436-a5af3365683c
* Improve ssh_options_set_log_function().Andreas Schneider2009-04-021-2/+2
| | | | git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@368 7dcaeef0-15fb-0310-b436-a5af3365683c
* Improve ssh_options_allow_ssh2().Andreas Schneider2009-04-021-1/+1
| | | | git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@367 7dcaeef0-15fb-0310-b436-a5af3365683c
* Improve ssh_options_allow_ssh1().Andreas Schneider2009-04-021-1/+1
| | | | git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@366 7dcaeef0-15fb-0310-b436-a5af3365683c
* Improve ssh_options_set_timeout().Andreas Schneider2009-04-021-1/+1
| | | | git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@364 7dcaeef0-15fb-0310-b436-a5af3365683c
* Improve ssh_options_set_status_callback().Andreas Schneider2009-04-021-2/+2
| | | | git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@363 7dcaeef0-15fb-0310-b436-a5af3365683c
* Improve ssh_options_set_banner().Andreas Schneider2009-04-021-1/+1
| | | | git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@358 7dcaeef0-15fb-0310-b436-a5af3365683c
* Improve ssh_options_set_identity().Andreas Schneider2009-04-021-1/+1
| | | | git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@357 7dcaeef0-15fb-0310-b436-a5af3365683c
* Improve ssh_options_set_known_hosts_file().Andreas Schneider2009-04-021-1/+1
| | | | git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@355 7dcaeef0-15fb-0310-b436-a5af3365683c
* Improve ssh_options_set_ssh_dir().Andreas Schneider2009-04-021-1/+1
| | | | git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@354 7dcaeef0-15fb-0310-b436-a5af3365683c
* Improve ssh_options_set_bind().Andreas Schneider2009-04-021-1/+1
| | | | git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@353 7dcaeef0-15fb-0310-b436-a5af3365683c