summaryrefslogtreecommitdiffstats
path: root/include/libssh/callbacks.h
Commit message (Collapse)AuthorAgeFilesLines
* Revert "direct-tcpip and forwarded-tcpip callbacks"Andreas Schneider2014-04-091-32/+2
| | | | | | | This reverts commit efe785e711e1fe8c66dc120b741d1e560ef556db. We need a Signed-off version. I didn't have the Certificate of Origin yet.
* direct-tcpip and forwarded-tcpip callbacksLoïc Michaux2014-04-091-2/+32
|
* doc: Document expected return value of channel data callbackAudrius Butkevicius2014-02-021-0/+2
| | | | | Signed-off-by: Audrius Butkevicius <audrius.butkevicius@gmail.com> Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
* threads: support libgcrypt 1.6 hackAris Adamantiadis2014-01-081-0/+2
| | | | | | | Not 100% satisfied of this patch, but the way libgcrypt handles threading in 1.6 is not compatible with custom handlers. The new code basicaly uses pthreads in every case. This will probably not work on windows.
* SSH_AUTH_OK -> SSH_AUTH_SUCCESS in commentsAlan Dunn2013-10-311-4/+4
| | | | | | | | A few callback descriptions refer to a non-existent value SSH_AUTH_OK, which should be SSH_AUTH_SUCCESS. This commit fixes these. Signed-off-by: Alan Dunn <amdunn@gmail.com> Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
* callbacks: Improve the documentation of ssh_threads_set_callbacks().Andreas Schneider2013-09-161-6/+11
| | | | BUG: https://red.libssh.org/issues/123
* callbacks: Improve the documentation of ssh_threads_get_noop().Andreas Schneider2013-09-161-3/+7
| | | | BUG: https://red.libssh.org/issues/123
* log: Implment new logging functions.Andreas Schneider2013-07-141-0/+34
|
* server: add pubkey auth callbackAris Adamantiadis2013-07-131-0/+23
| | | | Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
* gssapi: Add user parameter to gssapi auth callbackAris Adamantiadis2013-07-131-2/+6
| | | | Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
* gssapi: gssapi callbacks serversideAris Adamantiadis2013-07-131-2/+52
| | | | Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
* server: callback for channel_request_subsystemAris Adamantiadis2013-07-131-0/+16
| | | | Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
* server: added 2 missing channel callbacksAris Adamantiadis2013-07-131-1/+40
| | | | Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
* client: handle x11 channel open requests with callbacksAris Adamantiadis2013-07-131-1/+17
| | | | Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
* server: Implement X11 requests and window-changeAris Adamantiadis2013-07-131-2/+44
| | | | Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
* channels: implement callback for agent forwarding requestAris Adamantiadis2013-07-131-0/+14
| | | | Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
* callbacks: make the channel accept callback more logicalAris Adamantiadis2013-07-131-6/+5
| | | | Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
* callbacks: new callbacks for gssapiAris Adamantiadis2013-07-131-1/+16
| | | | Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
* server: added channel callbacksAris Adamantiadis2013-07-131-0/+36
| | | | Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
* Defined SSH server callbacks interfaceAris Adamantiadis2013-07-131-0/+107
| | | | Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
* include: Fix the LGPL header.Andreas Schneider2013-01-231-12/+11
| | | | | This has been reported by rpmlint: libssh-devel.x86_64: W: incorrect-fsf-address libssh.h
* pki: Remove session from ssh_pki_import_privkey_* functions.Andreas Schneider2011-08-161-15/+0
|
* doc: Define a doc group for the callbacks.Andreas Schneider2010-12-071-0/+11
|
* Fix warnings on testcasesAris Adamantiadis2010-10-021-1/+1
|
* Add new callbacks in session and channelsmilo2010-10-021-3/+152
|
* Changed the threads cbks from struct to publ funcAris Adamantiadis2010-09-301-2/+15
|
* Changed callbacks typeAris Adamantiadis2010-09-121-19/+1
|
* Implemented the noop and native pointersAris Adamantiadis2010-09-061-1/+22
|
* Moved pthread specific code in src/threads/pthread.cAris Adamantiadis2010-09-061-53/+1
| | | | | pthread example doesn't compile du to the lack of libssh_threads_native.so library
* Made pthread threading a user macroAris Adamantiadis2010-09-031-1/+70
|
* Openssl implementation of threading + default impAris Adamantiadis2010-09-011-0/+15
|
* Add consistency check to ssh_set_callbacksAris Adamantiadis2010-07-231-1/+1
|
* Add ssh_callbacks_exists internal macro + unittestAris Adamantiadis2010-06-251-6/+20
| | | (first commit with eclipse helios, crossing fingers ...)
* Documentation callbacks.h + standardizationAris Adamantiadis2009-12-181-1/+21
|
* Document the callback structure correctly.Andreas Schneider2009-12-181-12/+23
|
* Asynchronous sockets work !Aris Adamantiadis2009-12-011-8/+9
| | | | | Still need a bit of tuning but it's stable enough for our current needs
* Fixed uint* to work on Windows.Andreas Schneider2009-12-011-2/+2
| | | | Thanks to Patrick Spendrin.
* Socket connect callback working...Aris Adamantiadis2009-11-301-1/+1
| | | | | Still need to make sure the connect syscall is correctly called
* Standardize callbacks style and add documentationAris Adamantiadis2009-11-291-25/+59
|
* Squashed commit of the following:Aris Adamantiadis2009-11-271-1/+63
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | commit 43fad8dfd977637c31fade76ace2905f6528c3bc Author: Aris Adamantiadis <aris@0xbadc0de.be> Date: Fri Nov 27 18:39:06 2009 +0100 adaptation to the new ssh_poll_handle object name commit 1e5e6ac4605adf10d437d04f0fd4b7e66024853c Merge: 3fd92a0... 810adad... Author: Aris Adamantiadis <aris@0xbadc0de.be> Date: Fri Nov 27 18:33:06 2009 +0100 Merge branch 'master' into badcode/libssh_async commit 3fd92a08eb74b1447a9ff4ca4e1d137475c62cc6 Author: Aris Adamantiadis <aris@0xbadc0de.be> Date: Mon Nov 2 14:25:46 2009 +0100 Compiles again commit 8910d7b9692418c9ccea0234f6d49674d238dc16 Merge: e83f1b5... cce34a6... Author: Aris Adamantiadis <aris@0xbadc0de.be> Date: Mon Nov 2 12:47:34 2009 +0100 Merge branch 'master' into libssh_async Very big merge ! Conflicts: include/libssh/callbacks.h include/libssh/priv.h libssh/channels.c libssh/messages.c libssh/packet.c libssh/server.c libssh/session.c libssh/socket.c commit e83f1b593219e183082b015315f09bfe95a29cfc Author: Aris Adamantiadis <aris@0xbadc0de.be> Date: Mon Nov 2 12:07:01 2009 +0100 rename callback.h commit dffa7b730e8f39e2198de18ab69a8e57bef95e58 Merge: 5a8b748... de8808c... Author: Aris Adamantiadis <aris@0xbadc0de.be> Date: Tue Sep 15 10:50:07 2009 +0200 Merge branch 'master' of git://git.libssh.org/projects/libssh/libssh into libssh_async commit 5a8b7484f36599d28f2c0c14a23b76bfc7257638 Author: Aris Adamantiadis <aris@0xbadc0de.be> Date: Sun Sep 13 12:55:18 2009 +0200 More updates to callback system commit 18620c20d5e4e62107093f7fd330e553493253fa Author: Aris Adamantiadis <aris@0xbadc0de.be> Date: Sat Sep 12 22:26:52 2009 +0200 Same thing with channel_rcv_data commit fc4a56f6726e409a5866272923f1cbebfc821af3 Author: Aris Adamantiadis <aris@0xbadc0de.be> Date: Sat Sep 12 22:17:45 2009 +0200 added a few packet handlers for channels commit 4b6bb4fd00b10cf1321a764126f277ab204bffe3 Author: Aris Adamantiadis <aris@0xbadc0de.be> Date: Fri Sep 11 23:15:25 2009 +0300 sample packet handlers + bugfixes commit 2784d09d6dec0a8f868912d14f90d860233b3f82 Author: Aris Adamantiadis <aris@0xbadc0de.be> Date: Fri Sep 11 20:30:50 2009 +0300 Packet callbacks nearly finished Need tests and implementation of some packet callbacks commit cd3ea43f20c9ae2f54576ca98a0ea75c5d4299d3 Author: Aris Adamantiadis <aris@0xbadc0de.be> Date: Thu Sep 10 12:46:02 2009 +0300 First step of async packet handling The socket to packet handler is nearly done (needs testing) I still need to define the interface for callbacks. commit 487f4d2a900a5fe3b90ceda4460ab7d38d7ad722 Author: Aris Adamantiadis <aris@0xbadc0de.be> Date: Tue Sep 8 23:24:09 2009 +0300 Almost complete socket callback system Finished the callback function so it bufferizes data when callee does not use it. Flushes the buffer automaticaly after a ssh_socket_nonblocking_flush commit 23571f22fac9e40c855dfa99569bba181a39648b Author: Aris Adamantiadis <aris@0xbadc0de.be> Date: Tue Sep 8 22:22:32 2009 +0300 First draft of a callback system
* Add structure cleaning in commentAris Adamantiadis2009-10-101-1/+1
|
* Document the function to set the callbacks and provide an example.Andreas Schneider2009-10-101-0/+22
|
* resolve callback crashAris Adamantiadis2009-10-101-1/+1
|
* Rename callback header file.Andreas Schneider2009-10-101-0/+91