summaryrefslogtreecommitdiffstats
path: root/include/libssh/libssh.h
Commit message (Collapse)AuthorAgeFilesLines
* ssh_scp_request_get_{filename,permissions,size}Aris Adamantiadis2009-08-231-0/+3
|
* added ssh_scp_readAris Adamantiadis2009-08-231-0/+2
|
* Implementation of ssh_scp_pull_requestAris Adamantiadis2009-08-231-4/+5
| | | | | | | | | | | Still needed: code in ssh_scp_init, implementation of ssh_scp_read ssh_scp_request_get_filename, ssh_scp_request_get_size, ssh_scp_request_get_mode, ssh_scp_deny_request ssh_scp_accept_request !!
* Merge branch 'master' of git://git.libssh.org/projects/libssh/libsshAris Adamantiadis2009-08-231-0/+18
|\ | | | | | | | | Conflicts: include/libssh/priv.h
| * Pending workAris Adamantiadis2009-08-231-0/+2
| |
| * added ssh_scp_request_new,ssh_scp_request_structAris Adamantiadis2009-08-231-0/+7
| |
| * add ssh_scp_push_directory,ssh_scp_leave_directoryAris Adamantiadis2009-08-231-0/+2
| | | | | | | | Not yet carefully tested
| * Make the functions public.Andreas Schneider2009-08-211-2/+2
| |
| * Added ssh_basename() and ssh_dirname().Andreas Schneider2009-08-211-0/+4
| |
| * Add forward listening featureVic Lee2009-08-161-0/+3
| | | | | | | | Signed-off-by: Andreas Schneider <mail@cynapses.org>
* | experimental callback systemAris Adamantiadis2009-08-231-1/+2
|/
* Set version number to 0.4.0.Andreas Schneider2009-08-121-1/+1
|
* Fix static build.Andreas Schneider2009-08-111-14/+18
| | | | | | | If you want to link against the static library you have to define LIBSSH_STATIC and link against ssh_static. gcc -static -DLIBSSH_STATIC -lssh_static foo.c -o foo
* Use gcc visibility attribute to get rid of the map file.Andreas Schneider2009-08-111-20/+34
|
* Fix compilation with MSVC and use declspec to export functions.Andreas Schneider2009-08-111-131/+141
| | | | Thanks to Patrick Spendrin <ps_ml@gmx.de> for all the MSVC fixes.
* ssh_scp_push_file and ssh_scp_writeAris Adamantiadis2009-08-091-1/+2
| | | | still needs tests
* Initial scp implementation in source treeAris Adamantiadis2009-08-091-0/+14
|
* Remove ssh_fd_poll which is gone.Andreas Schneider2009-08-051-1/+0
|
* Fixed libssh compilation without server support.Andreas Schneider2009-07-311-5/+41
|
* Add x11 forwarding support for ssh clientVic Lee2009-07-311-0/+3
| | | | | Signed-off-by: Vic Lee <llyzs@163.com> Signed-off-by: Andreas Schneider <mail@cynapses.org>
* 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