![]() |
![]() |
![]() |
libdmapsharing Reference Manual | ![]() |
---|---|---|---|---|
Top | Description |
#define TYPE_DPAP_SHARE #define DPAP_SHARE (o) #define DPAP_SHARE_CLASS (k) #define IS_DPAP_SHARE (o) #define IS_DPAP_SHARE_CLASS (k) #define DPAP_SHARE_GET_CLASS (o) typedef DPAPSharePrivate; GType dpap_share_get_type (void); DPAPShare * dpap_share_new (const char *name, const char *password, gpointer db, gpointer container_db, gchar *transcode_mimetype);
#define DPAP_SHARE(o)
Casts a DPAPShare or derived pointer into a (DPAPShare*) 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 DPAP_SHARE_CLASS(k)
Casts a derived DPAPShareClass structure into a DPAPShareClass structure.
|
a valid DPAPShareClass |
#define IS_DPAP_SHARE(o)
Checks whether a valid GTypeInstance pointer is of type TYPE_DPAP_SHARE
.
|
Instance to check for being a TYPE_DPAP_SHARE .
|
#define IS_DPAP_SHARE_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_DPAP_SHARE))
Checks whether k
"is a" valid DPAPShareClass structure of type
DPAP_SHARE
or derived.
|
a DPAPShareClass |
#define DPAP_SHARE_GET_CLASS(o)
Get the class structure associated to a DPAPShare instance.
|
a DPAPShare instance. |
DPAPShare * dpap_share_new (const char *name, const char *password, gpointer db, gpointer container_db, gchar *transcode_mimetype);
Creates a new DPAP 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 DPAPShare. |