dvd_udf.h File Reference

Go to the source code of this file.

Functions

uint32_t UDFFindFile (dvd_reader_t *device, char *filename, uint32_t *size)
 Looks for a file on the UDF disc/imagefile and returns the block number where it begins, or 0 if it is not found.
void FreeUDFCache (void *cache)
int UDFGetVolumeIdentifier (dvd_reader_t *device, char *volid, unsigned int volid_size)
 Gets the Volume Identifier string, in 8bit unicode (latin-1) volid, place to put the string volid_size, size of the buffer volid points to returns the size of buffer needed for all data.
int UDFGetVolumeSetIdentifier (dvd_reader_t *device, uint8_t *volsetid, unsigned int volsetid_size)
 Gets the Volume Set Identifier, as a 128-byte dstring (not decoded) WARNING This is not a null terminated string volsetid, place to put the data volsetid_size, size of the buffer volsetid points to the buffer should be >=128 bytes to store the whole volumesetidentifier returns the size of the available volsetid information (128) or 0 on error.
void * GetUDFCacheHandle (dvd_reader_t *device)
void SetUDFCacheHandle (dvd_reader_t *device, void *cache)

Function Documentation

uint32_t UDFFindFile ( dvd_reader_t device,
char *  filename,
uint32_t size 
)

Looks for a file on the UDF disc/imagefile and returns the block number where it begins, or 0 if it is not found.

The filename should be an absolute pathname on the UDF filesystem, starting with '/'. For example, '/VIDEO_TS/VTS_01_1.IFO'. On success, filesize will be set to the size of the file in bytes.

Definition at line 787 of file dvd_udf.c.

Referenced by DVDFileStat(), DVDFileStatVOBUDF(), DVDOpenFileUDF(), DVDOpenVOBUDF(), and initAllCSSKeys().

void FreeUDFCache ( void *  cache  ) 

Definition at line 139 of file dvd_udf.c.

Referenced by DVDClose().

int UDFGetVolumeIdentifier ( dvd_reader_t device,
char *  volid,
unsigned int  volid_size 
)

Gets the Volume Identifier string, in 8bit unicode (latin-1) volid, place to put the string volid_size, size of the buffer volid points to returns the size of buffer needed for all data.

Definition at line 946 of file dvd_udf.c.

Referenced by DVDUDFVolumeInfo().

int UDFGetVolumeSetIdentifier ( dvd_reader_t device,
uint8_t volsetid,
unsigned int  volsetid_size 
)

Gets the Volume Set Identifier, as a 128-byte dstring (not decoded) WARNING This is not a null terminated string volsetid, place to put the data volsetid_size, size of the buffer volsetid points to the buffer should be >=128 bytes to store the whole volumesetidentifier returns the size of the available volsetid information (128) or 0 on error.

Definition at line 976 of file dvd_udf.c.

Referenced by DVDUDFVolumeInfo().

void* GetUDFCacheHandle ( dvd_reader_t device  ) 

Definition at line 141 of file dvd_reader.c.

Referenced by GetUDFCache(), and SetUDFCache().

void SetUDFCacheHandle ( dvd_reader_t device,
void *  cache 
)

Definition at line 148 of file dvd_reader.c.

Referenced by SetUDFCache().

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends
Generated on Sat May 26 06:41:48 2012 for MythTV by  doxygen 1.6.3