blocking way. The channel code is now responsible for enabling/disabling
blocking status and to work with it.
I've also modified indenting and fixed compiler warnings at places, and
added a bunch of new examples in example/simple that I've used to verify that
the code still runs like before.
libssh2_channel_{read|write}nb_ex() and libssh2_sftp_{read|write}nb() are the
four new functions that supposedly work non-blocking.
18 lines
328 B
Makefile
18 lines
328 B
Makefile
AUTOMAKE_OPTIONS = foreign nostdinc
|
|
|
|
# samples
|
|
noinst_PROGRAMS = ssh2 scp_nonblock sftp_nonblock sftp scp
|
|
|
|
INCLUDES = -I$(top_srcdir)/include
|
|
LDADD = $(top_builddir)/src/libssh2.la
|
|
|
|
ssh2_SOURCES = ssh2.c
|
|
|
|
sftp_SOURCES = sftp.c
|
|
|
|
scp_nonblock_SOURCES = scp_nonblock.c
|
|
|
|
sftp_nonblock_SOURCES = sftp_nonblock.c
|
|
|
|
scp_SOURCES = scp.c
|