summaryrefslogtreecommitdiffstats
path: root/include/libssh/libssh.h
Commit message (Collapse)AuthorAgeFilesLines
* 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
* Improve ssh_options_set_fd().Andreas Schneider2009-04-021-1/+1
| | | | git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@352 7dcaeef0-15fb-0310-b436-a5af3365683c
* Improve ssh_options_set_port().Andreas Schneider2009-04-021-1/+1
| | | | git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@351 7dcaeef0-15fb-0310-b436-a5af3365683c
* Improve ssh_options_set_username().Andreas Schneider2009-04-021-1/+1
| | | | git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@349 7dcaeef0-15fb-0310-b436-a5af3365683c
* Improve ssh_options_set_host().Andreas Schneider2009-04-021-1/+1
| | | | git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@347 7dcaeef0-15fb-0310-b436-a5af3365683c
* Make ssh_options_free() public.Andreas Schneider2009-04-021-0/+1
| | | | git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@346 7dcaeef0-15fb-0310-b436-a5af3365683c
* Add a return value to ssh_userauth_kbdint_setanswer().Andreas Schneider2009-04-021-1/+2
| | | | git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@341 7dcaeef0-15fb-0310-b436-a5af3365683c
* Improve the ssh_get_pubkey_hash() function.Andreas Schneider2009-04-021-1/+1
| | | | git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@337 7dcaeef0-15fb-0310-b436-a5af3365683c
* Add arg and error checking for the string functions.Andreas Schneider2009-04-011-5/+6
| | | | git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@310 7dcaeef0-15fb-0310-b436-a5af3365683c
* Create a ssh_get_hexa function.Andreas Schneider2009-03-301-1/+2
| | | | | | | This function converts a buffer into a colon separated hex string. git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@308 7dcaeef0-15fb-0310-b436-a5af3365683c
* Normalize the license in all files and add vim tab instructions.Andreas Schneider2009-03-291-18/+21
| | | | git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@305 7dcaeef0-15fb-0310-b436-a5af3365683c
* Fix possible precedence problems.Andreas Schneider2009-03-261-1/+1
| | | | git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@287 7dcaeef0-15fb-0310-b436-a5af3365683c
* Add a ssh_version function.Andreas Schneider2009-03-211-1/+22
| | | | git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@283 7dcaeef0-15fb-0310-b436-a5af3365683c
* Enable printf attribute checking on GNU systems.Andreas Schneider2009-03-141-1/+8
| | | | git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@272 7dcaeef0-15fb-0310-b436-a5af3365683c
* R.I.P. ssh_say()Andreas Schneider2009-03-121-2/+1
| | | | git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@271 7dcaeef0-15fb-0310-b436-a5af3365683c
* Complete ssh client agent support.Andreas Schneider2009-02-061-0/+2
| | | | git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@231 7dcaeef0-15fb-0310-b436-a5af3365683c
* channel_get_exit_status()Aris Adamantiadis2009-02-031-0/+1
| | | | git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@228 7dcaeef0-15fb-0310-b436-a5af3365683c
* Moved ssh_crypto_init to priv.h file and added a note.Andreas Schneider2009-02-021-3/+0
| | | | git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@223 7dcaeef0-15fb-0310-b436-a5af3365683c