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 | 62de58d8e5fd2a325c8b4fb6407d39f9901f6db8 (patch) | |
tree | 7dc76f5ab545895908bea197812b15b2b2691643 | |
parent | 1c9ed8d41d13715fcbbddb010433283a45d8152f (diff) | |
download | libssh-v0-2.tar.gz libssh-v0-2.tar.xz libssh-v0-2.zip |
Add extern C declatrion to server header file.v0-2
git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/branches/v0.2@199 7dcaeef0-15fb-0310-b436-a5af3365683c
-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 */ |