From e02a6e0225adb88b3eef91c479b9a50065fcdd5e Mon Sep 17 00:00:00 2001 From: Andreas Schneider Date: Sat, 28 Mar 2009 21:56:28 +0000 Subject: Add WITH_SERVER option. git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@293 7dcaeef0-15fb-0310-b436-a5af3365683c --- include/libssh/sftp.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'include/libssh/sftp.h') diff --git a/include/libssh/sftp.h b/include/libssh/sftp.h index 729f0ec..ca549e3 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 -- cgit