![]() |
![]() |
![]() |
libdmapsharing Reference Manual | ![]() |
---|---|---|---|---|
Top | Description |
#define TYPE_DAAP_SHARE #define DAAP_SHARE (o) #define DAAP_SHARE_CLASS (k) #define IS_DAAP_SHARE (o) #define IS_DAAP_SHARE_CLASS (k) #define DAAP_SHARE_GET_CLASS (o) typedef DAAPSharePrivate; DAAPShareClass; GType daap_share_get_type (void
); DAAPShare * daap_share_new (const char *name
,const char *password
,DMAPDb *db
,DMAPContainerDb *container_db
,gchar *transcode_mimetype
);
#define DAAP_SHARE(o)
Casts a DAAPShare or derived pointer into a (DAAPShare*) 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 DAAP_SHARE_CLASS(k)
Casts a derived DAAPShareClass structure into a DAAPShareClass structure.
|
a valid DAAPShareClass |
#define IS_DAAP_SHARE(o)
Checks whether a valid GTypeInstance pointer is of type TYPE_DAAP_SHARE
.
|
Instance to check for being a TYPE_DAAP_SHARE .
|
#define IS_DAAP_SHARE_CLASS(k)
Checks whether k
"is a" valid DAAPShareClass structure of type
DAAP_SHARE
or derived.
|
a DAAPShareClass |
#define DAAP_SHARE_GET_CLASS(o)
Get the class structure associated to a DAAPShare instance.
|
a DAAPShare instance. |
Returns : |
pointer to object class structure. |
DAAPShare * daap_share_new (const char *name
,const char *password
,DMAPDb *db
,DMAPContainerDb *container_db
,gchar *transcode_mimetype
);
Creates a new DAAP share and publishes it using mDNS.
|
The name that will be published by mDNS. |
|
A share password or NULL. |
|
A media database. |
|
A container (album) database. |
|
A transcode mimetype or NULL. |
Returns : |
a pointer to a DAAPShare. |