19 #ifndef LIBDVDREAD_DVDREAD_INTERNAL_H
20 #define LIBDVDREAD_DVDREAD_INTERNAL_H
23 #include <sys/types.h>
29 #include "dvdread/dvd_reader.h"
31 #define CHECK_VALUE(arg) \
33 fprintf(stderr, "\n*** libdvdread: CHECK_VALUE failed in %s:%i ***" \
34 "\n*** for %s ***\n\n", \
35 __FILE__, __LINE__, # arg ); \
40 PrimaryVolumeDescriptor = 1,
41 AnchorVolumeDescriptorPointer = 2,
42 VolumeDescriptorPointer = 3,
43 ImplementationUseVolumeDescriptor = 4,
44 PartitionDescriptor = 5,
45 LogicalVolumeDescriptor = 6,
46 UnallocatedSpaceDescriptor = 7,
47 TerminatingDescriptor = 8,
48 LogicalVolumeIntegrityDescriptor = 9,
50 FileSetDescriptor = 256,
51 FileIdentifierDescriptor = 257,
52 AllocationExtentDescriptor = 258,
56 ExtendedAttributeHeaderDescriptor = 262,
57 UnallocatedSpaceEntry = 263,
58 SpaceBitmapDescriptor = 264,
59 PartitionIntegrityEntry = 265,
60 ExtendedFileEntry = 266,
63 int InternalUDFReadBlocksRaw(
const dvd_reader_t *device, uint32_t lb_number,
64 size_t block_count,
unsigned char *data,
int encrypted);
67 void SetUDFCacheHandle(
dvd_reader_t *device,
void *cache);
68 void FreeUDFCache(
void *cache);
Definition: dvd_reader.c:82