[MPlayer-cvslog] r20443 - trunk/libmpdvdkit2/dvdcss/dvdcss.h

diego subversion at mplayerhq.hu
Wed Oct 25 15:08:08 CEST 2006


Author: diego
Date: Wed Oct 25 15:08:08 2006
New Revision: 20443

Modified:
   trunk/libmpdvdkit2/dvdcss/dvdcss.h

Log:
Sync with upstream r201.


Modified: trunk/libmpdvdkit2/dvdcss/dvdcss.h
==============================================================================
--- trunk/libmpdvdkit2/dvdcss/dvdcss.h	(original)
+++ trunk/libmpdvdkit2/dvdcss/dvdcss.h	Wed Oct 25 15:08:08 2006
@@ -56,29 +56,37 @@
 #define DVDCSS_SEEK_KEY        (1 << 1)
 
 
+#if defined(LIBDVDCSS_EXPORTS)
+#define LIBDVDCSS_EXPORT __declspec(dllexport) extern
+#elif defined(LIBDVDCSS_IMPORTS)
+#define LIBDVDCSS_EXPORT __declspec(dllimport) extern
+#else
+#define LIBDVDCSS_EXPORT extern
+#endif
+
 /*
  * Our version number. The variable name contains the interface version.
  */
-extern char *        dvdcss_interface_2;
+LIBDVDCSS_EXPORT char *        dvdcss_interface_2;
 
 
 /*
  * Exported prototypes.
  */
-extern dvdcss_t dvdcss_open  ( char *psz_target );
-extern int      dvdcss_close ( dvdcss_t );
-extern int      dvdcss_seek  ( dvdcss_t,
+LIBDVDCSS_EXPORT dvdcss_t dvdcss_open  ( char *psz_target );
+LIBDVDCSS_EXPORT int      dvdcss_close ( dvdcss_t );
+LIBDVDCSS_EXPORT int      dvdcss_seek  ( dvdcss_t,
                                int i_blocks,
                                int i_flags );
-extern int      dvdcss_read  ( dvdcss_t,
+LIBDVDCSS_EXPORT int      dvdcss_read  ( dvdcss_t,
                                void *p_buffer,
                                int i_blocks,
                                int i_flags );
-extern int      dvdcss_readv ( dvdcss_t,
+LIBDVDCSS_EXPORT int      dvdcss_readv ( dvdcss_t,
                                void *p_iovec,
                                int i_blocks,
                                int i_flags );
-extern char *   dvdcss_error ( dvdcss_t );
+LIBDVDCSS_EXPORT char *   dvdcss_error ( dvdcss_t );
 
 
 /*



More information about the MPlayer-cvslog mailing list