Logo Search packages:      
Sourcecode: easyh10 version File versions  Download package

High Level Interface for H10DB.


Classes

struct  tag_h10db

Typedefs

typedef int(* h10db_error_callback )(void *instance, int code, const char *msg)
typedef int(* h10db_progress_callback )(void *instance, int msg, int progress, int max_progress)
typedef struct tag_h10db h10db_t

Enumerations

enum  {
  H10DB_PROGRESS_NONE = 0, H10DB_PROGRESS_IDX_COUNT, H10DB_PROGRESS_READ_START, H10DB_PROGRESS_READ_END,
  H10DB_PROGRESS_UPDATE_START, H10DB_PROGRESS_UPDATE_END, H10DB_PROGRESS_WRITE_START, H10DB_PROGRESS_WRITE_END,
  H10DB_PROGRESS_READ_HDR, H10DB_PROGRESS_PARSE_HDR, H10DB_PROGRESS_READ_DAT, H10DB_PROGRESS_PARSE_DAT,
  H10DB_PROGRESS_READ_IDX, H10DB_PROGRESS_PARSE_IDX, H10DB_PROGRESS_READ_UPD, H10DB_PROGRESS_PARSE_UPD,
  H10DB_PROGRESS_UPDATE_CLEAN, H10DB_PROGRESS_UPDATE_IDX, H10DB_PROGRESS_GENERATE_IDX, H10DB_PROGRESS_WRITE_IDX,
  H10DB_PROGRESS_GENERATE_DAT, H10DB_PROGRESS_WRITE_DAT, H10DB_PROGRESS_GENERATE_HDR, H10DB_PROGRESS_WRITE_HDR,
  H10DB_PROGRESS_GENERATE_UPD, H10DB_PROGRESS_WRITE_UPD, H10DB_PROGRESS_READ_TEMPLATE, H10DB_PROGRESS_WRITE_TEMPLATE
}
enum  {
  H10DB_SUCCESS = 0, H10DBE_OUTOFMEMORY, H10DBE_DBINCONSISTENCY, H10DBE_HDR_OPENR,
  H10DBE_HDR_OPENW, H10DBE_HDR_READ, H10DBE_HDR_WRITE, H10DBE_DAT_OPENR,
  H10DBE_DAT_OPENW, H10DBE_DAT_READ, H10DBE_DAT_WRITE, H10DBE_DAT_ENTRYOFFSET,
  H10DBE_DAT_FIELDOFFSET, H10DBE_IDX_OPENR, H10DBE_IDX_OPENW, H10DBE_IDX_READ,
  H10DBE_IDX_WRITE, H10DBE_UPD_OPENR, H10DBE_UPD_OPENW, H10DBE_UPD_READ,
  H10DBE_UPD_WRITE, H10DBE_MODEL_OPENR, H10DBE_MODEL_OPENW, H10DBE_MODEL_READ,
  H10DBE_MODEL_WRITE, H10DBE_MODEL_FINDCHUNK
}
enum  {
  H10DB_UPDATEF_NONE = 0x00000000, H10DB_UPDATEF_CLEAN = 0x00010000, H10DB_FLAG_INCREMENTAL = 0x00100000, H10DB_FIRMWARE_UMS = 0x00000001,
  H10DB_FIRMWARE_MTP = 0x00000002, H10DB_FIRMWARE_MTP_2_50 = 0x00000003, H10DB_FIRMWARE_MASK = 0xFFFFFFF0, H10DB_FIRMWARE_UNMASK = 0x0000000F,
  H10DB_CAPACITY_1GB = 0x00000100, H10DB_CAPACITY_2GB = 0x00000200, H10DB_CAPACITY_5GB = 0x00000500, H10DB_CAPACITY_6GB = 0x00000600,
  H10DB_CAPACITY_20GB = 0x00001400, H10DB_CAPACITY_MASK = 0xFFFF00FF, H10DB_CAPACITY_UNMASK = 0x0000FF00
}

Functions

h10db_dat_th10db_access_item (h10db_t *h10db, int index)
h10db_type_t * h10db_access_type (h10db_t *h10db)
void h10db_delete (h10db_t *h10db)
void h10db_fit_fields (h10db_t *h10db, int index)
const ucs2_char_t * h10db_get_album (h10db_t *h10db, int index)
const ucs2_char_t * h10db_get_artist (h10db_t *h10db, int index)
uint32_t h10db_get_bitrate (h10db_t *h10db, int index)
uint16_t h10db_get_capacity (h10db_t *h10db)
uint32_t h10db_get_duration (h10db_t *h10db, int index)
const ucs2_char_t * h10db_get_filename (h10db_t *h10db, int index)
const ucs2_char_t * h10db_get_filepath (h10db_t *h10db, int index)
uint32_t h10db_get_filesize (h10db_t *h10db, int index)
uint16_t h10db_get_fw_major_max (h10db_t *h10db)
uint16_t h10db_get_fw_major_min (h10db_t *h10db)
uint16_t h10db_get_fw_minor_max (h10db_t *h10db)
uint16_t h10db_get_fw_minor_min (h10db_t *h10db)
const ucs2_char_t * h10db_get_genre (h10db_t *h10db, int index)
uint16_t h10db_get_model (h10db_t *h10db)
uint32_t h10db_get_samplerate (h10db_t *h10db, int index)
int h10db_get_size (h10db_t *h10db)
const ucs2_char_t * h10db_get_title (h10db_t *h10db, int index)
uint32_t h10db_get_tracknumber (h10db_t *h10db, int index)
uint16_t h10db_get_type (h10db_t *h10db)
uint32_t h10db_get_unknown4 (h10db_t *h10db, int index)
uint32_t h10db_get_unknown5 (h10db_t *h10db, int index)
const ucs2_char_t * h10db_get_unknown6 (h10db_t *h10db, int index)
const ucs2_char_t * h10db_get_unknown8 (h10db_t *h10db, int index)
uint32_t h10db_get_year (h10db_t *h10db, int index)
int h10db_is_updated_item (h10db_t *h10db, int index, const ucs2_char_t *filename)
int h10db_load_model (h10db_t *h10db, const ucs2_char_t *filename)
h10db_t * h10db_new (int flags)
int h10db_read (h10db_t *h10db, const ucs2_char_t *path)
int h10db_resize (h10db_t *h10db, int size)
void h10db_righttoleft_decode_fields (h10db_t *h10db, int index)
void h10db_righttoleft_encode_fields (h10db_t *h10db, int index)
int h10db_set_album (h10db_t *h10db, int index, const ucs2_char_t *value)
int h10db_set_artist (h10db_t *h10db, int index, const ucs2_char_t *value)
int h10db_set_bitrate (h10db_t *h10db, int index, uint32_t bitrate)
int h10db_set_duration (h10db_t *h10db, int index, uint32_t duration)
int h10db_set_filename (h10db_t *h10db, int index, const ucs2_char_t *value)
int h10db_set_filepath (h10db_t *h10db, int index, const ucs2_char_t *value)
int h10db_set_filesize (h10db_t *h10db, int index, uint32_t filesize)
int h10db_set_genre (h10db_t *h10db, int index, const ucs2_char_t *value)
void h10db_set_instance (h10db_t *h10db, void *instance)
void h10db_set_progress_callback (h10db_t *h10db, h10db_progress_callback pfn)
int h10db_set_samplerate (h10db_t *h10db, int index, uint32_t samplerate)
int h10db_set_title (h10db_t *h10db, int index, const ucs2_char_t *value)
int h10db_set_tracknumber (h10db_t *h10db, int index, uint32_t tracknumber)
int h10db_set_unknown4 (h10db_t *h10db, int index, uint32_t value)
int h10db_set_unknown5 (h10db_t *h10db, int index, uint32_t value)
int h10db_set_unknown6 (h10db_t *h10db, int index, const ucs2_char_t *value)
int h10db_set_unknown8 (h10db_t *h10db, int index, const ucs2_char_t *value)
int h10db_set_year (h10db_t *h10db, int index, uint32_t year)
int h10db_store_model (h10db_t *h10db, const ucs2_char_t *filename)
int h10db_update (h10db_t *h10db, int flags)
int h10db_write (h10db_t *h10db, const ucs2_char_t *path)


Generated by  Doxygen 1.6.0   Back to index