Skip to content

Commit b2cafd8

Browse files
author
Pan
committed
Implemented extension class for stat structure. Updated scp_recv signarure and types.
1 parent 7abd6c3 commit b2cafd8

15 files changed

+4527
-462
lines changed

ssh2/agent.c

+4
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

ssh2/c_ssh2.pxd

+2-1
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ from libc.stdint cimport uint64_t
1818
from libc.time cimport time_t
1919
from posix.types cimport (blkcnt_t, blksize_t, dev_t, gid_t, ino_t,
2020
nlink_t, off_t, time_t, uid_t)
21+
from posix.stat cimport struct_stat
2122

2223

2324
cdef extern from "libssh2.h" nogil:
@@ -311,7 +312,7 @@ cdef extern from "libssh2.h" nogil:
311312
# libssh2_scp_recv is DEPRECATED, do not use!
312313
LIBSSH2_CHANNEL *libssh2_scp_recv(LIBSSH2_SESSION *session,
313314
const char *path,
314-
libssh2_struct_stat *sb)
315+
struct_stat *sb)
315316
# Use libssh2_scp_recv2 for large (> 2GB) file support on windows
316317
LIBSSH2_CHANNEL *libssh2_scp_recv2(LIBSSH2_SESSION *session,
317318
const char *path,

ssh2/channel.c

+4
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

ssh2/error_codes.c

+4
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

ssh2/fileinfo.c

+4
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

ssh2/listener.c

+4
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

ssh2/pkey.c

+4
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)