From 78a05415b20680e917c496b71b7fbdd0b0aafa03 Mon Sep 17 00:00:00 2001 From: Laxmikant Rashinkar Date: Tue, 13 Nov 2012 14:53:41 -0800 Subject: [PATCH] added cplusplus guards to header file xrdpvr.h --- xrdpvr/xrdpvr.h | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/xrdpvr/xrdpvr.h b/xrdpvr/xrdpvr.h index d98f71e2..88e30e76 100644 --- a/xrdpvr/xrdpvr.h +++ b/xrdpvr/xrdpvr.h @@ -23,8 +23,16 @@ #ifndef __XRDPVR_H__ #define __XRDPVR_H__ +#ifdef __cplusplus +extern "C" { +#endif + int xrdpvr_init_player(void *channel, int stream_id, char *filename); int xrdpvr_deinit_player(void *channel, int stream_id); int xrdpvr_play_media(void *channel, int stream_id, char *filename); +#ifdef __cplusplus +} +#endif + #endif /* __XRDPVR_H__ */