shithub: libdvdcss

Download patch

ref: 63e6505bf228055c48961a1c179a05134f332d9a
parent: bf99afa9ce226d011d11f997858fe83480e2ca30
author: Sam Hocevar <[email protected]>
date: Sun May 26 10:22:23 EDT 2002

* ./src/dvdcss/dvdcss.h: C++ compliant public header.


--- a/src/dvdcss/dvdcss.h
+++ b/src/dvdcss/dvdcss.h
@@ -2,7 +2,7 @@
  * libdvdcss.h: DVD reading library, exported functions.
  *****************************************************************************
  * Copyright (C) 1998-2001 VideoLAN
- * $Id: dvdcss.h,v 1.1 2002/04/03 15:19:21 sam Exp $
+ * $Id: dvdcss.h,v 1.2 2002/05/26 14:22:23 sam Exp $
  *
  * Authors: St�phane Borel <[email protected]>
  *          Samuel Hocevar <[email protected]>
@@ -22,6 +22,13 @@
  * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111, USA.
  *****************************************************************************/
 
+#ifndef _DVDCSS_DVDCSS_H
+#define _DVDCSS_DVDCSS_H 1
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
 /*****************************************************************************
  * The libdvdcss structure
  *****************************************************************************/
@@ -62,3 +69,8 @@
                                     int i_flags );
 extern char *        dvdcss_error ( dvdcss_handle );
 
+#ifdef __cplusplus
+}
+#endif
+
+#endif /* <dvdcss/dvdcss.h> */