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 | (*DMAPConnectionCallback) () |
void | (*DMAPResponseHandler) () |
gboolean | dmap_connection_is_connected () |
void | dmap_connection_setup () |
void | dmap_connection_connect () |
void | dmap_connection_disconnect () |
SoupMessageHeaders * | dmap_connection_get_headers () |
GSList * | dmap_connection_get_playlists () |
SoupMessage * | dmap_connection_build_message () |
void | dmap_connection_authenticate_message () |
gboolean | dmap_connection_get () |
DMAPRecord * (*handle_mlcl) (DMAPConnection *connection
,DMAPRecordFactory *factory
,GNode *mlcl
,gint *item_id
);
void (*connecting) (DMAPConnection *connection
,DMAPConnectionState state
,float progress
);
gboolean (*DMAPConnectionCallback) (DMAPConnection *connection
,gboolean result
,const char *reason
,gpointer user_data
);
void (*DMAPResponseHandler) (DMAPConnection *connection
,guint status
,GNode *structure
,gpointer user_data
);
void dmap_connection_connect (DMAPConnection *connection
,DMAPConnectionCallback callback
,gpointer user_data
);
void dmap_connection_disconnect (DMAPConnection *connection
,DMAPConnectionCallback callback
,gpointer user_data
);
SoupMessageHeaders * dmap_connection_get_headers (DMAPConnection *connection
,const char *uri
);
GSList *
dmap_connection_get_playlists (DMAPConnection *connection
);
SoupMessage * dmap_connection_build_message (DMAPConnection *connection
,const gchar *path
,gboolean need_hash
,gdouble version
,gint req_id
,gboolean send_close
);
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.
gboolean dmap_connection_get (DMAPConnection *self
,const gchar *path
,gboolean need_hash
,DMAPResponseHandler handler
,gpointer user_data
);