![]() |
![]() |
![]() |
libdmapsharing Reference Manual |
![]() |
---|---|---|---|---|
Top | Description |
#define DACP_TYPE_SHARE #define DACP_SHARE (o) #define DACP_SHARE_CLASS (k) #define IS_DACP_SHARE (o) #define IS_DACP_SHARE_CLASS (k) #define DACP_SHARE_GET_CLASS (o) typedef DACPSharePrivate;gboolean (*lookup_guid) (,
DACPShare *share);
gchar *guidvoid (*add_guid) (,
DACPShare *share);
gchar *guidvoid (*remote_found) (,
DACPShare *share,
gchar *service_name);
gchar *remote_namevoid (*remote_lost) (,
DACPShare *share);
gchar *service_namevoid (*remote_paired) (,
DACPShare *share,
gchar *service_name);
gboolean connectedGType dacp_share_get_type (void
);DACPShare * dacp_share_new (const
,gchar *library_name,
DACPPlayer *playerDMAPDb *db
,DMAPContainerDb *container_db
);void dacp_share_pair (,
DACPShare *share,
gchar *service_name);
gchar passcode[4]void dacp_share_start_lookup ();
DACPShare *sharevoid dacp_share_stop_lookup ();
DACPShare *sharevoid dacp_share_player_updated ();
DACPShare *share
#define DACP_SHARE(o)
Casts a
|
Object which is subject to casting. |
#define DACP_SHARE_CLASS(k)
Casts a derived
|
a valid |
#define IS_DACP_SHARE(o)
Checks whether a valid DACP_TYPE_SHARE
.
|
Instance to check for being a DACP_TYPE_SHARE .
|
#define IS_DACP_SHARE_CLASS(k)
Checks whether k
"is a" valid DACP_SHARE
or derived.
|
a |
#define DACP_SHARE_GET_CLASS(o)
Get the class structure associated to a
|
a |
Returns : |
pointer to object class structure. |
void (*remote_found) (,
DACPShare *share,
gchar *service_name);
gchar *remote_name
|
|
|
|
|
void (*remote_paired) (,
DACPShare *share,
gchar *service_name);
gboolean connected
|
|
|
|
|
DACPShare * dacp_share_new (const
,gchar *library_name,
DACPPlayer *playerDMAPDb *db
,DMAPContainerDb *container_db
);
Creates a new DACP share and publishes it using mDNS.
|
The library name that will be shown in the remote. |
|
A |
|
a media database represented by a DMAPDb instance. |
|
a container (album) database represented by a DMAPContainerDb instance. |
Returns : |
a pointer to a |
void dacp_share_pair (,
DACPShare *share,
gchar *service_name);
gchar passcode[4]
Pairs a DACP client (Remote) with this server. If the passcode is correct (the same as shown on the remote), the remote will start connecting to this server.
|
a |
|
DACP client (remote) service identifier. |
|
4-Digit PIN code entered by the user. |
void dacp_share_start_lookup ();
DACPShare *share
Start looking up for DACP remotes. Connect to
|
A |
void dacp_share_stop_lookup ();
DACPShare *share
Stop looking up for DACP remotes.
|
A |