Andreas Schneider
be75fac7ff
Add a function to set the callback structure to the session.
2009-10-10 10:51:56 +02:00
Aris Adamantiadis
6ec65c6f9d
ssh_disconnect doesn't free the session anymore
2009-10-09 22:50:48 +02:00
Aris Adamantiadis
71ab0cf6cc
No more SSH_BIND SSH_MESSAGE etc.
2009-10-09 22:37:23 +02:00
Aris Adamantiadis
4b65aea401
Last nail on SSH_OPTIONS, SSH_SESSION etc.
2009-10-09 22:26:08 +02:00
Aris Adamantiadis
98ff6fbbce
get rid of the option structure
2009-10-09 22:24:23 +02:00
Aris Adamantiadis
58294442d3
Moved samples into examples directory
2009-10-09 21:44:05 +02:00
Aris Adamantiadis
2e9c13dad0
Modified server API
2009-10-09 21:26:15 +02:00
Bernhard R. Link
7c759b9615
add ssh_set_error_oom and ssh_set_error_invalid
...
Signed-off-by: Andreas Schneider <mail@cynapses.org>
2009-10-05 00:02:43 +02:00
Bernhard R. Link
d54e9550da
proper prototype of ssh_session_new
...
Signed-off-by: Andreas Schneider <mail@cynapses.org>
2009-10-05 00:01:50 +02:00
Andreas Schneider
7a37f9faf7
Fixed ssh_options_copy().
2009-10-04 10:10:19 +02:00
Andreas Schneider
ab5b4c7cfe
Get rid of the options structure.
2009-10-02 20:26:14 +02:00
Andreas Schneider
42aacc7106
Remove unused option functions.
2009-10-02 10:18:27 +02:00
Aris Adamantiadis
f6f0988d10
Fix warnings on opensolaris
2009-09-29 17:57:37 +02:00
Aris Adamantiadis
f9d1542542
resolve warning on opensolaris
2009-09-29 11:46:06 +02:00
Aris Adamantiadis
cd7f6bea57
more priv.h splitting
2009-09-26 14:05:58 +02:00
Aris Adamantiadis
0f77578ee2
Fixed doxygen compilation warnings
2009-09-26 01:34:14 +02:00
Aris Adamantiadis
3e314e863c
More include file splitting
2009-09-26 01:15:48 +02:00
Aris Adamantiadis
adbb087221
Removed obsolete options
2009-09-26 00:36:02 +02:00
Aris Adamantiadis
3a8d839e86
More include file movings
2009-09-26 00:29:53 +02:00
Aris Adamantiadis
358647f5d9
More comment
2009-09-25 23:56:28 +02:00
Aris Adamantiadis
5e76118512
fix ssh_callbacks_init() macro + documentation
...
ssh_callbacks_init should not zero' the struct because
it could be used on staticaly declared structures
2009-09-25 23:50:18 +02:00
Aris Adamantiadis
e3bdc393cb
callback.h should use public headers
2009-09-25 23:42:29 +02:00
Andreas Schneider
79c475c917
Fixed including of config.h.
...
If there is some option to modify libc behaviour (like if there was some
off_t usage to be modified by some flag to make that 64 bit) that
needs to be done before the first libc header. one could still do -D
there, though (unless cmake wants to do something automatically and puts
that in config.h)
2009-09-25 10:01:56 +02:00
Andreas Schneider
3dd03fec21
Add missing extern C.
2009-09-25 09:59:25 +02:00
Andreas Schneider
e8e07f7376
Fix typo.
2009-09-25 09:37:56 +02:00
Andreas Schneider
1c5ae7dd97
Install callbacks header file.
2009-09-25 09:33:11 +02:00
Aris Adamantiadis
6b0a89a288
Get rid of CRYPTO
2009-09-23 23:55:07 +02:00
Aris Adamantiadis
f84ebc2e27
Moved lots of declaration out of priv.h
2009-09-23 23:51:04 +02:00
Aris Adamantiadis
b359229a2e
Change #defines to enums when it makes sense
2009-09-23 22:42:29 +02:00
Aris Adamantiadis
496a8e12d9
Get rid of SSH_MESSAGE
2009-09-23 22:19:11 +02:00
Aris Adamantiadis
0e8e124d20
get rid of SSH_OPTIONS
2009-09-23 22:13:19 +02:00
Aris Adamantiadis
9a8d4cd0fd
get rid of SSH_SESSION
2009-09-23 21:55:54 +02:00
Aris Adamantiadis
ffed8b03bb
remove the broken setters for options,cb init macro
2009-09-23 21:40:58 +02:00
Aris Adamantiadis
5bd38a5f37
Changed the current callback sys to be scalable
2009-09-23 21:30:56 +02:00
Aris Adamantiadis
ab60d1d678
Ordered functions in libssh.h alphabeticaly
2009-09-23 20:42:59 +02:00
Aris Adamantiadis
95558d54b0
Fix typos in SSH_OPTIONS
2009-09-23 11:21:12 +02:00
Andreas Schneider
f6d2a66de2
Added a cleaned up interface for setting options.
2009-09-22 13:14:16 +02:00
Andreas Schneider
7de3122b42
Added a userdata generic pointer to the log callback function.
2009-09-22 12:28:07 +02:00
Andreas Schneider
4133f484ae
Fixed building libssh with MSVC.
...
Thanks to Carlo Segato for the patch.
2009-09-21 12:23:47 +02:00
Aris Adamantiadis
7c7096d8f8
Limit the size of acceptable compressed packets
2009-09-16 22:29:22 +02:00
Andreas Schneider
4845642611
Added support for ~/.ssh/config.
2009-09-15 17:26:13 +02:00
Aris Adamantiadis
4b363928f6
SCP warning request
2009-09-13 14:03:35 +03:00
Aris Adamantiadis
929f5ca25b
scp recursive mode
2009-09-13 14:03:34 +03:00
Aris Adamantiadis
7ff80a2666
Add better error detection + EOF request
2009-09-13 14:03:34 +03:00
Aris Adamantiadis
07a9e6b7c6
Change scp API to use integers for perms
2009-09-13 14:03:33 +03:00
Dmitry V. Krivenok
df4c62212c
Support for sending signals (RFC 4254, section 6.9).
...
Added function
int channel_request_send_signal(ssh_channel channel, const char *signal);
which implements signals delivery (as described in RFC 4254).
Only SSH-v2 is currently supported.
Signed-off-by: Dmitry V. Krivenok <krivenok@orangesystem.ru>
Signed-off-by: Andreas Schneider <mail@cynapses.org>
2009-09-10 12:34:58 +02:00
Andreas Schneider
97b6036cbf
Add a portable ssh_mkdir function for Windows.
2009-09-09 13:42:00 +02:00
Andreas Schneider
7c575a2418
Fix typedef collisons on Solaris.
2009-08-25 13:54:46 +02:00
Aris Adamantiadis
f3454d571e
ssh_scp_request_get_{filename,permissions,size}
2009-08-23 23:40:30 +02:00
Aris Adamantiadis
1df1f86f7e
added ssh_scp_read
2009-08-23 23:24:46 +02:00