![]() |
![]() |
![]() |
libdmapsharing Reference Manual | ![]() |
---|---|---|---|---|
Top | Description | Object Hierarchy |
#define TYPE_DMAP_RECORD #define DMAP_RECORD (o) #define IS_DMAP_RECORD (o) #define DMAP_RECORD_GET_INTERFACE (o) DMAPRecord; DMAPRecordInterface; 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 TYPE_DMAP_RECORD
.
|
Instance to check for being a TYPE_DMAP_RECORD .
|
typedef struct { GTypeInterface parent; GByteArray * (*to_blob) (DMAPRecord *record); DMAPRecord * (*set_from_blob) (DMAPRecord *record, GByteArray *blob); } DMAPRecordInterface;
typedef enum { DMAP_MEDIA_KIND_MUSIC = 1, DMAP_MEDIA_KIND_MOVIE = 2 } 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
);
|
|
|
|
Returns : |