dvdcss.h | dvdcss.h | |||
---|---|---|---|---|
skipping to change at line 67 | skipping to change at line 67 | |||
#define LIBDVDCSS_EXPORT __declspec(dllexport) extern | #define LIBDVDCSS_EXPORT __declspec(dllexport) extern | |||
#elif defined(LIBDVDCSS_IMPORTS) | #elif defined(LIBDVDCSS_IMPORTS) | |||
#define LIBDVDCSS_EXPORT __declspec(dllimport) extern | #define LIBDVDCSS_EXPORT __declspec(dllimport) extern | |||
#elif defined(SUPPORT_ATTRIBUTE_VISIBILITY_DEFAULT) | #elif defined(SUPPORT_ATTRIBUTE_VISIBILITY_DEFAULT) | |||
#define LIBDVDCSS_EXPORT __attribute__((visibility("default"))) extern | #define LIBDVDCSS_EXPORT __attribute__((visibility("default"))) extern | |||
#else | #else | |||
#define LIBDVDCSS_EXPORT extern | #define LIBDVDCSS_EXPORT extern | |||
#endif | #endif | |||
/* | /* | |||
* Our version number. The variable name contains the interface version. | ||||
*/ | ||||
LIBDVDCSS_EXPORT char * dvdcss_interface_2; | ||||
/* | ||||
* Exported prototypes. | * Exported prototypes. | |||
*/ | */ | |||
LIBDVDCSS_EXPORT dvdcss_t dvdcss_open ( char *psz_target ); | LIBDVDCSS_EXPORT dvdcss_t dvdcss_open ( char *psz_target ); | |||
LIBDVDCSS_EXPORT int dvdcss_close ( dvdcss_t ); | LIBDVDCSS_EXPORT int dvdcss_close ( dvdcss_t ); | |||
LIBDVDCSS_EXPORT int dvdcss_seek ( dvdcss_t, | LIBDVDCSS_EXPORT int dvdcss_seek ( dvdcss_t, | |||
int i_blocks, | int i_blocks, | |||
int i_flags ); | int i_flags ); | |||
LIBDVDCSS_EXPORT int dvdcss_read ( dvdcss_t, | LIBDVDCSS_EXPORT int dvdcss_read ( dvdcss_t, | |||
void *p_buffer, | void *p_buffer, | |||
int i_blocks, | int i_blocks, | |||
int i_flags ); | int i_flags ); | |||
LIBDVDCSS_EXPORT int dvdcss_readv ( dvdcss_t, | LIBDVDCSS_EXPORT int dvdcss_readv ( dvdcss_t, | |||
void *p_iovec, | void *p_iovec, | |||
int i_blocks, | int i_blocks, | |||
int i_flags ); | int i_flags ); | |||
LIBDVDCSS_EXPORT char * dvdcss_error ( dvdcss_t ); | LIBDVDCSS_EXPORT char * dvdcss_error ( dvdcss_t ); | |||
LIBDVDCSS_EXPORT int dvdcss_is_scrambled ( dvdcss_t ); | LIBDVDCSS_EXPORT int dvdcss_is_scrambled ( dvdcss_t ); | |||
/* | ||||
* Deprecated stuff. | ||||
*/ | ||||
#ifndef _DOXYGEN_SKIP_ME | ||||
#define dvdcss_title(a,b) dvdcss_seek(a,b,DVDCSS_SEEK_KEY) | ||||
#define dvdcss_handle dvdcss_t | ||||
#endif | ||||
#ifdef __cplusplus | #ifdef __cplusplus | |||
} | } | |||
#endif | #endif | |||
#endif /* DVDCSS_DVDCSS_H */ | #endif /* DVDCSS_DVDCSS_H */ | |||
End of changes. 2 change blocks. | ||||
13 lines changed or deleted | 0 lines changed or added | |||