![]() |
![]() |
![]() |
libdmapsharing Reference Manual | ![]() |
---|---|---|---|---|
Top | Description | Object Hierarchy | Prerequisites |
#define DMAP_TYPE_RECORD #define DMAP_RECORD (o) #define IS_DMAP_RECORD (o) #define DMAP_RECORD_GET_INTERFACE (o) DMAPRecord; struct DMAPRecordIface; typedef bitwise; enum DMAPMediaKind; GType dmap_record_get_type (void
); GByteArray * dmap_record_to_blob (DMAPRecord *record
); DMAPRecord * dmap_record_set_from_blob (DMAPRecord *record
,GByteArray *blob
);
#define DMAP_RECORD(o)
Casts a DMAPRecord or derived pointer into a (DMAPRecord *) pointer. Depending on the current debugging level, this function may invoke certain runtime checks to identify invalid casts.
|
Object which is subject to casting. |
#define IS_DMAP_RECORD(o)
Checks whether a valid GTypeInstance pointer is of type DMAP_TYPE_RECORD
.
|
Instance to check for being a DMAP_TYPE_RECORD . |
struct DMAPRecordIface { GTypeInterface parent; GByteArray *(*to_blob) (DMAPRecord * record); DMAPRecord *(*set_from_blob) (DMAPRecord * record, GByteArray * blob); };
typedef enum { DMAP_MEDIA_KIND_MUSIC = 1, DMAP_MEDIA_KIND_MOVIE = 2, DMAP_MEDIA_KIND_PODCAST = 32, DMAP_MEDIA_KIND_TV_SHOW = 64 } DMAPMediaKind;
GByteArray * dmap_record_to_blob (DMAPRecord *record
);
|
A DMAPRecord. |
Returns : |
A byte array representation of the record. |
DMAPRecord * dmap_record_set_from_blob (DMAPRecord *record
,GByteArray *blob
);