| Top |  |  |  |  | 
| void | (*DmapConnectionFunc) () | 
| gboolean | dmap_connection_is_connected () | 
| void | dmap_connection_start () | 
| void | dmap_connection_stop () | 
| SoupMessageHeaders * | dmap_connection_get_headers () | 
| GSList * | dmap_connection_get_playlists () | 
| void | dmap_connection_authenticate_message () | 
| void | dmap_connection_emit_error () | 
| SoupURI * | base-uri | Read / Write | 
| gint | database-id | Read / Write | 
| DmapDb * | db | Read / Write / Construct Only | 
| gdouble | dmap-version | Read / Write | 
| DmapRecordFactory * | factory | Read / Write / Construct Only | 
| gchar * | host | Read / Write / Construct Only | 
| gchar * | name | Read / Write / Construct Only | 
| gchar * | password | Write | 
| guint | port | Read / Write / Construct Only | 
| gint | revision-number | Read / Write | 
| gint | session-id | Read / Write | 
| gchar * | username | Read / Write / Construct Only | 
| void | authenticate | Run Last | 
| void | connected | Run Last | 
| void | connecting | Run Last | 
| void | disconnected | Run Last | 
| void | error | Run First | 
| void | operation-done | Run First | 
GEnum ╰── DmapConnectionState GObject ╰── DmapConnection ├── DmapAvConnection ├── DmapControlConnection ╰── DmapImageConnection
void (*DmapConnectionFunc) (DmapConnection *connection,gboolean result,const char *reason,gpointer user_data);
gboolean
dmap_connection_is_connected (DmapConnection *connection);
Returns TRUE if the connection is presently connected.
void dmap_connection_start (DmapConnection *connection,DmapConnectionFunc callback,gpointer user_data);
Connect to the remote DMAP share.
void dmap_connection_stop (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.
void dmap_connection_emit_error (DmapConnection *connection,gint code,const gchar *format,...);
| connection | a DmapConnection instance. | |
| code | error code. | |
| format | printf()-style format for error message | |
| ... | parameters for message format | 
Enumeration of connection states.
“database-id” property  “database-id”              gint
database ID.
Owner: DmapConnection
Flags: Read / Write
Allowed values: >= 0
Default value: 0
“db” property“db” DmapDb *
DmapDb object.
Owner: DmapConnection
Flags: Read / Write / Construct Only
“dmap-version” property  “dmap-version”             gdouble
DMAP version.
Owner: DmapConnection
Flags: Read / Write
Allowed values: >= 0
Default value: 0
“factory” property“factory” DmapRecordFactory *
record factory.
Owner: DmapConnection
Flags: Read / Write / Construct Only
“host” property  “host”                     gchar *
host.
Owner: DmapConnection
Flags: Read / Write / Construct Only
Default value: NULL
“name” property  “name”                     gchar *
connection name.
Owner: DmapConnection
Flags: Read / Write / Construct Only
Default value: NULL
“password” property  “password”                 gchar *
connection password.
Owner: DmapConnection
Flags: Write
Default value: NULL
“port” property  “port”                     guint
port.
Owner: DmapConnection
Flags: Read / Write / Construct Only
Allowed values: <= G_MAXINT
Default value: 0
“revision-number” property  “revision-number”          gint
revision number.
Owner: DmapConnection
Flags: Read / Write
Allowed values: >= 0
Default value: 0
“session-id” property  “session-id”               gint
session ID.
Owner: DmapConnection
Flags: Read / Write
Allowed values: >= 0
Default value: 0
“authenticate” signalvoid user_function (DmapConnection *dmapconnection, gchar *arg1, SoupSession *arg2, SoupMessage *arg3, SoupAuth *arg4, gboolean arg5, gpointer user_data)
Flags: Run Last
“connected” signalvoid user_function (DmapConnection *dmapconnection, gpointer user_data)
Flags: Run Last
“connecting” signalvoid user_function (DmapConnection *dmapconnection, gulong arg1, gfloat arg2, gpointer user_data)
Flags: Run Last
“disconnected” signalvoid user_function (DmapConnection *dmapconnection, gpointer user_data)
Flags: Run Last
“error” signalvoid user_function (DmapConnection *dmapconnection, gpointer arg1, gpointer user_data)
Flags: Run First
“operation-done” signalvoid user_function (DmapConnection *dmapconnection, gpointer user_data)
Flags: Run First