diff options
author | Andreas Schneider <mail@cynapses.org> | 2009-01-08 17:48:35 +0000 |
---|---|---|
committer | Andreas Schneider <mail@cynapses.org> | 2009-01-08 17:48:35 +0000 |
commit | 944084964a424584efa1f3e46c8efb731e58023f (patch) | |
tree | 98685db5f199b0b1ce9f96da58ee3027ab5da4f1 /include/libssh/server.h | |
parent | f9f8ded7f0a691c0b46ccff596944ef1b06cf8a8 (diff) | |
download | libssh-944084964a424584efa1f3e46c8efb731e58023f.tar.gz libssh-944084964a424584efa1f3e46c8efb731e58023f.tar.xz libssh-944084964a424584efa1f3e46c8efb731e58023f.zip |
Add extern C declatrion to server header file.
git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@199 7dcaeef0-15fb-0310-b436-a5af3365683c
Diffstat (limited to 'include/libssh/server.h')
-rw-r--r-- | include/libssh/server.h | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/include/libssh/server.h b/include/libssh/server.h index 66f823a8..468cd126 100644 --- a/include/libssh/server.h +++ b/include/libssh/server.h @@ -24,6 +24,10 @@ MA 02111-1307, USA. */ #include "libssh/libssh.h" #define SERVERBANNER CLIENTBANNER +#ifdef __cplusplus +extern "C" { +#endif + typedef struct ssh_bind_struct SSH_BIND; SSH_BIND *ssh_bind_new(); @@ -83,4 +87,8 @@ char *ssh_message_channel_request_pty_term(SSH_MESSAGE *msg); char *ssh_message_channel_request_subsystem(SSH_MESSAGE *msg); int ssh_message_channel_request_reply_success(SSH_MESSAGE *msg); -#endif +#ifdef __cplusplus +} +#endif /* __cplusplus */ + +#endif /* SERVER_H */ |