aboutsummaryrefslogtreecommitdiff
path: root/include/libssh/sftp.h
diff options
context:
space:
mode:
authorAris Adamantiadis <aris@0xbadc0de.be>2008-06-11 18:52:16 +0000
committerAris Adamantiadis <aris@0xbadc0de.be>2008-06-11 18:52:16 +0000
commit9aa8df7cd3f95a3414ea7e7226a4900ad101845e (patch)
tree79b93ea00c893d0ffe4a5af57fc8e73306f7e0df /include/libssh/sftp.h
parentea407765db87125f23893015fd236dfedc9413e6 (diff)
downloadlibssh-9aa8df7cd3f95a3414ea7e7226a4900ad101845e.tar.gz
libssh-9aa8df7cd3f95a3414ea7e7226a4900ad101845e.tar.xz
libssh-9aa8df7cd3f95a3414ea7e7226a4900ad101845e.zip
sftp asynchronous read
git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@164 7dcaeef0-15fb-0310-b436-a5af3365683c
Diffstat (limited to 'include/libssh/sftp.h')
-rw-r--r--include/libssh/sftp.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/libssh/sftp.h b/include/libssh/sftp.h
index c5e7066..4d49a4d 100644
--- a/include/libssh/sftp.h
+++ b/include/libssh/sftp.h
@@ -146,6 +146,7 @@ int sftp_file_close(SFTP_FILE *file);
/* access are the sames than the ones from ansi fopen() */
SFTP_FILE *sftp_open(SFTP_SESSION *session, char *file, int access, SFTP_ATTRIBUTES *attr);
int sftp_read(SFTP_FILE *file, void *dest, int len);
+int sftp_async_read(SFTP_FILE *file, void *data, int len, int *id);
int sftp_write(SFTP_FILE *file, void *source, int len);
void sftp_seek(SFTP_FILE *file, int new_offset);
unsigned long sftp_tell(SFTP_FILE *file);