<html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>Plugins</title><meta name="generator" content="DocBook XSL Stylesheets V1.66.1"><link rel="start" href="index.html" title="streamtuner Developers Manual"><link rel="up" href="overview.html" title="Overview"><link rel="prev" href="overview.html" title="Overview"><link rel="next" href="api-reference.html" title="API Reference"><meta name="generator" content="GTK-Doc V1.2 (XML mode)"><style type="text/css"> .synopsis, .classsynopsis { background: #eeeeee; border: solid 1px #aaaaaa; padding: 0.5em; } .programlisting { background: #feffde; border: solid 1px #e9ed1c; padding: 0.5em; } .variablelist { padding: 4px; margin-left: 3em; } .navigation { background: #daffd1; border: solid 1px #74ff54; margin-top: 0.5em; margin-bottom: 0.5em; } .navigation a { color: #2fba0f; } .navigation a:visited { color: #22850b; } .navigation .title { font-size: 200%; } </style></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><table class="navigation" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2"><tr valign="middle"><td><a accesskey="p" href="overview.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td><td><a accesskey="u" href="overview.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">streamtuner Developers Manual</th><td><a accesskey="n" href="api-reference.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td></tr></table><div class="section" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2533761"></a>Plugins</h2></div></div></div><p> Plugins will be looked up in <tt class="filename"><i class="replaceable"><tt>LIBDIR</tt></i>/streamtuner/plugins</tt>, <tt class="filename">~/.streamtuner/plugins</tt>, and in the directories specified in the colon-separated environment variable <tt class="envar">STREAMTUNER_PLUGINS_PATH</tt> (in that order). Filenames not having the system-specific shared object extension (usually .so) will be ignored. </p><p> A plugin must define an initialization function, which is responsible for registering one or more stream directory handlers. See <a href="streamtuner-STPlugin.html#STPluginInitCallback">STPluginInitCallback()</a>. </p></div><table class="navigation" width="100%" summary="Navigation footer" cellpadding="2" cellspacing="0"><tr valign="middle"><td align="left"><a accesskey="p" href="overview.html"><b><< Overview</b></a></td><td align="right"><a accesskey="n" href="api-reference.html"><b>API Reference >></b></a></td></tr></table></body></html>