/usr/share/gtk-doc/html/libdmapsharing-3.0/client-internals.html is in libdmapsharing-3.0-dev 2.9.14-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 | <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Libdmapsharing Client Internals</title>
<meta name="generator" content="DocBook XSL Stylesheets V1.76.1">
<link rel="home" href="index.html" title="libdmapsharing Reference Manual">
<link rel="up" href="ch03.html" title="Libdmapsharing Internals">
<link rel="prev" href="server-internals.html" title="Libdmapsharing Server Internals">
<link rel="next" href="ch04.html" title="Libdmapsharing Objects and Interfaces">
<meta name="generator" content="GTK-Doc V1.18 (XML mode)">
<link rel="stylesheet" href="style.css" type="text/css">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2"><tr valign="middle">
<td><a accesskey="p" href="server-internals.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
<td><a accesskey="u" href="ch03.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></a></td>
<td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td>
<th width="100%" align="center">libdmapsharing Reference Manual</th>
<td><a accesskey="n" href="ch04.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
</tr></table>
<div class="refentry">
<a name="client-internals"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
<h2><span class="refentrytitle">Libdmapsharing Client Internals</span></h2>
<p>Libdmapsharing Client Internals —
Description of libdmapsharing's internal client code
</p>
</td>
<td valign="top" align="right"></td>
</tr></table></div>
<div class="refsect1">
<a name="id585956"></a><h2>Libdmapsharing Client Internals</h2>
<p>
The DMAPMdnsBrowser class allows for asynchronous interaction with a DMAP
server using mDNS.
</p>
<p>
The DMAPConnection class's dmap_connection_connect()
sets up a connection to a DMAP server using libsoup, stores the
application-provided callback, sets the connection state to DMAP_GET_INFO,
adds dmap_connection_do_something() as a GLib loop idle function
and connects the function connected_cb() to the "operation-done"
signal. The connection state progresses from DMAP_GET_INFO to
DMAP_GET_PASSWORD then DMAP_LOGIN then DMAP_GET_REVISION_NUMBER then
DMAP_GET_DB_INFO then DMAP_GET_SONGS then DMAP_GET_PLAYLISTS then
(possibly) DMAP_GET_PLAYLIST_ENTRIES. Each time the state changes,
dmap_connection_do_something() executes as an idle function. By the
time these state transitions are complete, DMAPConnection has populated
the media database. The
connected_cb() function, in turn, executes the application-provided
callback.
</p>
</div>
</div>
<div class="footer">
<hr>
Generated by GTK-Doc V1.18</div>
</body>
</html>
|