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