Commit f8afe06d authored by Diego Biurrun's avatar Diego Biurrun

Move UDFReadBlocksRaw declaration to dvdread_internal.h.

parent 5beb5939
......@@ -37,14 +37,10 @@
#include <unistd.h>
#include <inttypes.h>
#include "dvdread_internal.h"
#include "dvdread/dvd_reader.h"
#include "dvdread/dvd_udf.h"
/* Private but located in/shared with dvd_reader.c */
extern int UDFReadBlocksRaw( dvd_reader_t *device, uint32_t lb_number,
size_t block_count, unsigned char *data,
int encrypted );
/* It's required to either fail or deliver all the blocks asked for. */
static int DVDReadLBUDF( dvd_reader_t *device, uint32_t lb_number,
size_t block_count, unsigned char *data,
......
......@@ -19,10 +19,15 @@
#ifndef LIBDVDREAD_DVDREAD_INTERNAL_H
#define LIBDVDREAD_DVDREAD_INTERNAL_H
#include <stdint.h>
#include <sys/types.h>
#ifdef _WIN32
#include <unistd.h>
#endif /* _WIN32 */
#include "dvdread/dvd_reader.h"
#define CHECK_VALUE(arg) \
if(!(arg)) { \
fprintf(stderr, "\n*** libdvdread: CHECK_VALUE failed in %s:%i ***" \
......@@ -30,4 +35,7 @@
__FILE__, __LINE__, # arg ); \
}
int UDFReadBlocksRaw(dvd_reader_t *device, uint32_t lb_number,
size_t block_count, unsigned char *data, int encrypted);
#endif /* LIBDVDREAD_DVDREAD_INTERNAL_H */
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment