summaryrefslogtreecommitdiffstats
path: root/libdvdcss/dvdcss/dvdcss.h
diff options
context:
space:
mode:
authorUoti Urpala <uau@glyph.nonexistent.invalid>2011-03-01 22:37:15 +0200
committerUoti Urpala <uau@glyph.nonexistent.invalid>2011-03-01 22:37:15 +0200
commitb27e4ca37126e95f806d92bb8a2e38c14965376e (patch)
tree8dce7baa7cabb4e6dbacf6c72ccae64fb58b30a3 /libdvdcss/dvdcss/dvdcss.h
parente786c70de9a65c44f575ab8c61ff00fbbd2df585 (diff)
downloadmpv-b27e4ca37126e95f806d92bb8a2e38c14965376e.tar.bz2
mpv-b27e4ca37126e95f806d92bb8a2e38c14965376e.tar.xz
libdvdcss: drop internal libdvdcss tree
The internal libdvdcss version was only compiled if you used internal libdvdread too; and libdvdread was not included in the sources, so that'd only happen if you manually added libdvdread in the build tree. Keeping libdvdcss for that case probably isn't worth it, so delete it from the tree. The build system part is still there, so an internal build is possible if you add the directory back.
Diffstat (limited to 'libdvdcss/dvdcss/dvdcss.h')
-rw-r--r--libdvdcss/dvdcss/dvdcss.h107
1 files changed, 0 insertions, 107 deletions
diff --git a/libdvdcss/dvdcss/dvdcss.h b/libdvdcss/dvdcss/dvdcss.h
deleted file mode 100644
index 8ef98f6e77..0000000000
--- a/libdvdcss/dvdcss/dvdcss.h
+++ /dev/null
@@ -1,107 +0,0 @@
-/**
- * \file dvdcss.h
- * \author Stéphane Borel <stef@via.ecp.fr>
- * \author Sam Hocevar <sam@zoy.org>
- * \brief The \e libdvdcss public header.
- *
- * This header contains the public types and functions that applications
- * using \e libdvdcss may use.
- */
-
-/*
- * Copyright (C) 1998-2008 VideoLAN
- * $Id$
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License along
- * with libdvdcss; if not, write to the Free Software Foundation, Inc.,
- * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
- */
-
-#ifndef DVDCSS_DVDCSS_H
-#ifndef _DOXYGEN_SKIP_ME
-#define DVDCSS_DVDCSS_H 1
-#endif
-
-#ifdef __cplusplus
-extern "C" {
-#endif
-
-/** Library instance handle, to be used for each library call. */
-typedef struct dvdcss_s* dvdcss_t;
-
-
-/** The block size of a DVD. */
-#define DVDCSS_BLOCK_SIZE 2048
-
-/** The default flag to be used by \e libdvdcss functions. */
-#define DVDCSS_NOFLAGS 0
-
-/** Flag to ask dvdcss_read() to decrypt the data it reads. */
-#define DVDCSS_READ_DECRYPT (1 << 0)
-
-/** Flag to tell dvdcss_seek() it is seeking in MPEG data. */
-#define DVDCSS_SEEK_MPEG (1 << 0)
-
-/** Flag to ask dvdcss_seek() to check the current title key. */
-#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.
- */
-LIBDVDCSS_EXPORT char * dvdcss_interface_2;
-
-
-/*
- * Exported prototypes.
- */
-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 );
-LIBDVDCSS_EXPORT int dvdcss_read ( dvdcss_t,
- void *p_buffer,
- int i_blocks,
- int i_flags );
-LIBDVDCSS_EXPORT int dvdcss_readv ( dvdcss_t,
- void *p_iovec,
- int i_blocks,
- int i_flags );
-LIBDVDCSS_EXPORT char * dvdcss_error ( 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
-}
-#endif
-
-#endif /* DVDCSS_DVDCSS_H */