#include <ipod/ipod_io.h>
Go to the source code of this file.
Functions | |
int | ipod_io_memory_read (void *data, size_t maxDataLen, size_t *dataRead, void *userData) |
Read data from this device. | |
int | ipod_io_memory_write (void *data, size_t dataLen, size_t *dataWritten, void *userData) |
Write data to this device. | |
int | ipod_io_memory_tell (size_t *offset, void *userData) |
The current location of the device mark. | |
int | ipod_io_memory_seek (size_t offset, void *userData) |
Seeks the device to the given location. | |
int | ipod_io_memory_length (size_t *offset, void *userData) |
The total amount of data of the device. | |
ipod_io | ipod_io_memory_new (void) |
Create a new device into memory, typically for writing. | |
ipod_io | ipod_io_memory_new_from_memory (char *data, size_t dataLen) |
Create a new device for an existing block of memory, typically for reading. | |
void | ipod_io_memory_free (ipod_io io) |
Free the ipod_io device, and free the memory if created by ipod_io_memory_new(). | |
size_t | ipod_io_memory_size (ipod_io io) |
The amount of memeory currently begin used for the device. | |
char * | ipod_io_memory_data (ipod_io io) |
The memory block used by this device. |
|
The memory block used by this device.
|
|
Free the ipod_io device, and free the memory if created by ipod_io_memory_new().
|
|
The total amount of data of the device.
|
|
Create a new device into memory, typically for writing.
|
|
Create a new device for an existing block of memory, typically for reading.
|
|
Read data from this device.
|
|
Seeks the device to the given location.
|
|
The amount of memeory currently begin used for the device.
|
|
The current location of the device mark.
|
|
Write data to this device.
|