include: add some missing extern C decl.

This commit is contained in:
Vic Lee 2013-05-19 21:57:08 -07:00
parent 25229f520f
commit 5aa49de0c0
2 changed files with 16 additions and 0 deletions

View File

@ -90,7 +90,15 @@ struct _audin_server_context
psAudinServerReceiveSamples ReceiveSamples;
};
#ifdef __cplusplus
extern "C" {
#endif
FREERDP_API audin_server_context* audin_server_context_new(WTSVirtualChannelManager* vcm);
FREERDP_API void audin_server_context_free(audin_server_context* context);
#ifdef __cplusplus
}
#endif
#endif /* FREERDP_CHANNEL_AUDIN_SERVER_H */

View File

@ -91,7 +91,15 @@ struct _rdpsnd_server_context
psRdpsndServerActivated Activated;
};
#ifdef __cplusplus
extern "C" {
#endif
FREERDP_API rdpsnd_server_context* rdpsnd_server_context_new(WTSVirtualChannelManager* vcm);
FREERDP_API void rdpsnd_server_context_free(rdpsnd_server_context* context);
#ifdef __cplusplus
}
#endif
#endif /* FREERDP_CHANNEL_RDPSND_SERVER_H */