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 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92
|
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Overview: librygel-server Reference Manual</title>
<meta name="generator" content="DocBook XSL Stylesheets V1.79.1">
<link rel="home" href="index.html" title="librygel-server Reference Manual">
<link rel="up" href="index.html" title="librygel-server Reference Manual">
<link rel="prev" href="index.html" title="librygel-server Reference Manual">
<link rel="next" href="implementing-servers.html" title="Implementing Servers">
<meta name="generator" content="GTK-Doc V1.27 (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="5"><tr valign="middle">
<td width="100%" align="left" class="shortcuts"></td>
<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
<td><img src="up-insensitive.png" width="16" height="16" border="0"></td>
<td><a accesskey="p" href="index.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
<td><a accesskey="n" href="implementing-servers.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
</tr></table>
<div class="preface">
<div class="titlepage"><div><div><h1 class="title">
<a name="overview"></a>Overview</h1></div></div></div>
<div class="section">
<div class="titlepage"></div>
<p>
librygel-server is part of the <a class="ulink" href="http://rygel-project.org/" target="_top">Rygel</a> project.
</p>
<p>
This library may be used to:
</p>
<div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; ">
<li class="listitem">
<a class="link" href="implementing-servers.html" title="Implementing Servers">Create UPnP or DLNA servers</a>, such as the Rygel server.</li>
<li class="listitem"><a class="link" href="implementing-server-plugins.html" title="Implementing Rygel Server Plugins">Create Rygel Server plugins</a></li>
<li class="listitem"><a class="link" href="implementing-media-engines.html" title="Implementing Rygel Media Engines">Create Rygel Media Engines</a></li>
</ul></div>
<p>
</p>
<p>
librygel-server is licensed under the GNU Lesser General Public License (LGPL).
</p>
<div class="sect1">
<div class="titlepage"><div><div><h2 class="title" style="clear: both">
<a name="id-1.2.2.4"></a>Basic Usage</h2></div></div></div>
<p>
Include the header:
</p>
<p>
</p>
<pre class="programlisting">
#include <rygel-server.h>
</pre>
<p>
</p>
<p>
If your source file is program.c, you can compile it with:
</p>
<p>
<span class="command"><strong>
gcc program.cc -o program `pkg-config --cflags --libs ryhttp://git.gnome.org/browse/rygel/commit/doc/reference/librygel-server/gtkdoc/overview.xml?id=b5748f34b25c5fc260d4f21969e2fb2cb8b5a1c2gel-server-2.0`
</strong></span>
</p>
<p>
Alternatively, if using autoconf, use the following in configure.ac:
</p>
<p>
</p>
<pre class="programlisting">
PKG_CHECK_MODULES([DEPS], [rygel-server-2.0])
</pre>
<p>
</p>
<p>
Then use the generated DEPS_CFLAGS and DEPS_LIBS variables in the project Makefile.am files. For example:
</p>
<p>http://git.gnome.org/browse/rygel/commit/doc/reference/librygel-server/gtkdoc/overview.xml?id=b5748f34b25c5fc260d4f21969e2fb2cb8b5a1c2
</p>
<pre class="programlisting">
program_CPPFLAGS = $(DEPS_CFLAGS)
program_LDADD = $(DEPS_LIBS)
</pre>
<p>
</p>
</div>
</div>
</div>
<div class="footer">
<hr>Generated by GTK-Doc V1.27</div>
</body>
</html>
|