diff options
author | Andreas Schneider <mail@cynapses.org> | 2009-03-28 21:56:28 +0000 |
---|---|---|
committer | Andreas Schneider <mail@cynapses.org> | 2009-03-28 21:56:28 +0000 |
commit | e02a6e0225adb88b3eef91c479b9a50065fcdd5e (patch) | |
tree | 600ba6eef014f11ec448666afdffce55b9ae1501 /include/libssh/sftp.h | |
parent | fce4840c779045b50dc8cc45fdfee4e6ee859248 (diff) | |
download | libssh-e02a6e0225adb88b3eef91c479b9a50065fcdd5e.tar.gz libssh-e02a6e0225adb88b3eef91c479b9a50065fcdd5e.tar.xz libssh-e02a6e0225adb88b3eef91c479b9a50065fcdd5e.zip |
Add WITH_SERVER option.
git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@293 7dcaeef0-15fb-0310-b436-a5af3365683c
Diffstat (limited to 'include/libssh/sftp.h')
-rw-r--r-- | include/libssh/sftp.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/libssh/sftp.h b/include/libssh/sftp.h index 729f0ec9..ca549e35 100644 --- a/include/libssh/sftp.h +++ b/include/libssh/sftp.h @@ -607,7 +607,7 @@ char *sftp_canonicalize_path(SFTP_SESSION *sftp, const char *path); */ int sftp_server_version(SFTP_SESSION *sftp); -#ifndef NO_SERVER +#ifdef WITH_SERVER /** * @brief Create a new sftp server session. * @@ -627,7 +627,7 @@ SFTP_SESSION *sftp_server_new(SSH_SESSION *session, CHANNEL *chan); * @return 0 on success, < 0 on error. */ int sftp_server_init(SFTP_SESSION *sftp); -#endif +#endif /* WITH_SERVER */ /* this is not a public interface */ #define SFTP_HANDLES 256 |