aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lib/include/dvb-fe.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/lib/include/dvb-fe.h b/lib/include/dvb-fe.h
index a4534247..4207ffe1 100644
--- a/lib/include/dvb-fe.h
+++ b/lib/include/dvb-fe.h
@@ -88,6 +88,10 @@ struct dvb_v5_fe_parms {
/* Open/close methods */
+#ifdef __cplusplus
+extern "C" {
+#endif
+
struct dvb_v5_fe_parms *dvb_fe_open(int adapter, int frontend,
unsigned verbose, unsigned use_legacy_call);
void dvb_fe_close(struct dvb_v5_fe_parms *parms);
@@ -150,6 +154,10 @@ int dvb_fe_diseqc_cmd(struct dvb_v5_fe_parms *parms, const unsigned len,
int dvb_fe_diseqc_reply(struct dvb_v5_fe_parms *parms, unsigned *len, char *buf,
int timeout);
+#ifdef __cplusplus
+}
+#endif
+
/* Arrays from dvb-v5.h */
extern const unsigned fe_bandwidth_name[8];

Privacy Policy