Top | ![]() |
![]() |
![]() |
![]() |
DmapContentCode | (*get_protocol_version_cc) () |
gchar * | (*get_query_metadata) () |
DmapRecord * | (*handle_mlcl) () |
void | (*connected) () |
void | (*disconnected) () |
char * | (*authenticate) () |
void | (*connecting) () |
void | (*operation_done) () |
gboolean | (*DmapConnectionFunc) () |
void | (*DmapResponseHandler) () |
gboolean | dmap_connection_is_connected () |
void | dmap_connection_setup () |
void | dmap_connection_start () |
void | dmap_connection_disconnect () |
SoupMessageHeaders * | dmap_connection_get_headers () |
GSList * | dmap_connection_get_playlists () |
void | dmap_connection_authenticate_message () |
DmapRecord * (*handle_mlcl) (DmapConnection *connection
,DmapRecordFactory *factory
,GNode *mlcl
,gint *item_id
);
void (*connecting) (DmapConnection *connection
,DmapConnectionState state
,float progress
);
gboolean (*DmapConnectionFunc) (DmapConnection *connection
,gboolean result
,const char *reason
,gpointer user_data
);
void (*DmapResponseHandler) (DmapConnection *connection
,guint status
,GNode *structure
,gpointer user_data
);
void dmap_connection_start (DmapConnection *connection
,DmapConnectionFunc callback
,gpointer user_data
);
Connect to the remote DMAP share.
void dmap_connection_disconnect (DmapConnection *connection
,DmapConnectionFunc callback
,gpointer user_data
);
Disconnect from the remote DMAP share.
SoupMessageHeaders * dmap_connection_get_headers (DmapConnection *connection
,const char *uri
);
GSList *
dmap_connection_get_playlists (DmapConnection *connection
);
Get the playlists associated with a DmapConnection instance.
void dmap_connection_authenticate_message (DmapConnection *connection
,SoupSession *session
,SoupMessage *message
,SoupAuth *auth
,const char *password
);
Attach an authentication credential to a request. This method should be called by a function that is connected to the “authenticate” signal. The signal will provide the connection, session, message and auth to that function. That function should obtain a password and provide it to this method.