| libMirage Reference Manual | ||||
|---|---|---|---|---|
| Top | Description | Object Hierarchy | ||||
#include <mirage.h>
MIRAGE_Index;
gboolean mirage_index_set_number (MIRAGE_Index *self,
gint number,
GError **error);
gboolean mirage_index_get_number (MIRAGE_Index *self,
gint *number,
GError **error);
gboolean mirage_index_set_address (MIRAGE_Index *self,
gint address,
GError **error);
gboolean mirage_index_get_address (MIRAGE_Index *self,
gint *address,
GError **error);
MIRAGE_Index object represents an index within a track. It is a container object that stores the index number and corresponding address.
typedef struct _MIRAGE_Index MIRAGE_Index;
Contains private data only, and should be accessed using the functions below.
gboolean mirage_index_set_number (MIRAGE_Index *self,gint number,GError **error);
Sets index' index number.
|
a MIRAGE_Index |
|
index number |
|
location to store error, or NULL
|
Returns : |
TRUE on success, FALSE on failure
|
gboolean mirage_index_get_number (MIRAGE_Index *self,gint *number,GError **error);
Retrieves index' index number.
|
a MIRAGE_Index |
|
location to store index number |
|
location to store error, or NULL
|
Returns : |
TRUE on success, FALSE on failure
|
gboolean mirage_index_set_address (MIRAGE_Index *self,gint address,GError **error);
Sets index' start address. The address is given in sectors.
|
a MIRAGE_Index |
|
address |
|
location to store error, or NULL
|
Returns : |
TRUE on success, FALSE on failure
|
gboolean mirage_index_get_address (MIRAGE_Index *self,gint *address,GError **error);
Retrieves index' start adddress. The address is given in sectors.
|
a MIRAGE_Index |
|
location to store address |
|
location to store error, or NULL
|
Returns : |
TRUE on success, FALSE on failure
|