DAAPRecord
gboolean daap_record_itunes_compat (DAAPRecord *record);
DAAPRecord *record
record
A DAAPRecord.
TRUE if record is compatible with iTunes, else FALSE.
GInputStream * daap_record_read (DAAPRecord *record, GError **err);
GError **err
a DAAPRecord.
err
a GError.
A GInputStream that provides read-only access to the data stream associated with record.
gint daap_record_cmp_by_album (gpointer a, gpointer b, DMAPDb *db);
gpointer a
gpointer b
DMAPDb *db
Compares the two records associated with the provided keys according to album. Suitable to sort lists of albums.
a
first ID.
b
second ID.
db
A DMAPDb for which a and b are valid ID's.
struct DAAPRecordIface { GTypeInterface parent; gboolean (*itunes_compat) (DAAPRecord * record); GInputStream *(*read) (DAAPRecord * record, GError ** err); };