blob: c30e19a59736bbeda966d677bc5a8a6cbab898d9 [file] [log] [blame]
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.18"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>Celix: celix_service_filter_options Struct Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
<tbody>
<tr style="height: 56px;">
<td id="projectalign" style="padding-left: 0.5em;">
<div id="projectname">Celix
&#160;<span id="projectnumber">2.2.1</span>
</div>
<div id="projectbrief">An implementation of the OSGi specification adapted to C and C++</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.18 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
initMenu('',true,false,'search.php','Search');
$(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>
<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0"
name="MSearchResults" id="MSearchResults">
</iframe>
</div>
</div><!-- top -->
<div class="header">
<div class="summary">
<a href="#pub-attribs">Public Attributes</a> &#124;
<a href="structcelix__service__filter__options-members.html">List of all members</a> </div>
<div class="headertitle">
<div class="title">celix_service_filter_options Struct Reference</div> </div>
</div><!--header-->
<div class="contents">
<p><code>#include &lt;<a class="el" href="celix__bundle__context_8h_source.html">celix_bundle_context.h</a>&gt;</code></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-attribs"></a>
Public Attributes</h2></td></tr>
<tr class="memitem:addb2e1e8fcce127512d272383e78cbd1"><td class="memItemLeft" align="right" valign="top">const char *serviceName&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structcelix__service__filter__options.html#addb2e1e8fcce127512d272383e78cbd1">OPTS_INIT</a></td></tr>
<tr class="separator:addb2e1e8fcce127512d272383e78cbd1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a65bea04c378ef46d841046ffbb2f805c"><td class="memItemLeft" align="right" valign="top">const char *versionRange&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structcelix__service__filter__options.html#a65bea04c378ef46d841046ffbb2f805c">OPTS_INIT</a></td></tr>
<tr class="separator:a65bea04c378ef46d841046ffbb2f805c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac15f30b81e60826290a29fb12da6684a"><td class="memItemLeft" align="right" valign="top">const char *filter&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structcelix__service__filter__options.html#ac15f30b81e60826290a29fb12da6684a">OPTS_INIT</a></td></tr>
<tr class="separator:ac15f30b81e60826290a29fb12da6684a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9286701a4c946d1ed28afde05cd34d51"><td class="memItemLeft" align="right" valign="top">const char *serviceLanguage&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structcelix__service__filter__options.html#a9286701a4c946d1ed28afde05cd34d51">OPTS_INIT</a></td></tr>
<tr class="separator:a9286701a4c946d1ed28afde05cd34d51"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a70cc8aee445c1a24782454393f12ff98"><td class="memItemLeft" align="right" valign="top">bool ignoreServiceLanguage&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structcelix__service__filter__options.html#a70cc8aee445c1a24782454393f12ff98">OPTS_INIT</a></td></tr>
<tr class="separator:a70cc8aee445c1a24782454393f12ff98"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>Service filter options which can be used to query for certain services. </p>
</div><h2 class="groupheader">Member Data Documentation</h2>
<a id="addb2e1e8fcce127512d272383e78cbd1"></a>
<h2 class="memtitle"><span class="permalink"><a href="#addb2e1e8fcce127512d272383e78cbd1">&#9670;&nbsp;</a></span>OPTS_INIT <span class="overload">[1/5]</span></h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">const char* serviceName celix_service_filter_options::OPTS_INIT</td>
</tr>
</table>
</div><div class="memdoc">
<p>The required service name. </p>
</div>
</div>
<a id="a65bea04c378ef46d841046ffbb2f805c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a65bea04c378ef46d841046ffbb2f805c">&#9670;&nbsp;</a></span>OPTS_INIT <span class="overload">[2/5]</span></h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">const char* versionRange celix_service_filter_options::OPTS_INIT</td>
</tr>
</table>
</div><div class="memdoc">
<p>The optional version range. If service are registered with a service version this attribute can be used to only select service with a version in the version range. It uses the maven version range format, e.g. [1.0.0,2.0.0) or [1.1.1], etc. </p>
</div>
</div>
<a id="ac15f30b81e60826290a29fb12da6684a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac15f30b81e60826290a29fb12da6684a">&#9670;&nbsp;</a></span>OPTS_INIT <span class="overload">[3/5]</span></h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">const char* filter celix_service_filter_options::OPTS_INIT</td>
</tr>
</table>
</div><div class="memdoc">
<p>LDAP filter to use for fine tuning the filtering, e.g. (|(location=middle)(location=front)) The filter will be applied to all the user provided and framework provided service properties. </p>
</div>
</div>
<a id="a9286701a4c946d1ed28afde05cd34d51"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a9286701a4c946d1ed28afde05cd34d51">&#9670;&nbsp;</a></span>OPTS_INIT <span class="overload">[4/5]</span></h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">const char* serviceLanguage celix_service_filter_options::OPTS_INIT</td>
</tr>
</table>
</div><div class="memdoc">
<p>The optional service language to filter for. If this is NULL or "" the C language will be used. </p>
</div>
</div>
<a id="a70cc8aee445c1a24782454393f12ff98"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a70cc8aee445c1a24782454393f12ff98">&#9670;&nbsp;</a></span>OPTS_INIT <span class="overload">[5/5]</span></h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool ignoreServiceLanguage celix_service_filter_options::OPTS_INIT</td>
</tr>
</table>
</div><div class="memdoc">
<p>Whether to ignore (not filter for) the service.lang property. If this is set the serviceLanguage field is ignored and the (service.lang=&lt;&gt;) part is not added tot he filter </p>
</div>
</div>
<hr/>The documentation for this struct was generated from the following file:<ul>
<li>libs/framework/include/<a class="el" href="celix__bundle__context_8h_source.html">celix_bundle_context.h</a></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.18
</small></address>
</body>
</html>