blob: 503ef7b91f75b8f0a9e5f9ab7dfe177591afe434 [file] [log] [blame]
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://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.11"/>
<title>Celix: libs/framework/include/celix_bundle_context.h Source File</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>
<script type="text/javascript">
$(document).ready(function() { init_search(); });
</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.0</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.11 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
<div id="navrow1" class="tabs">
<ul class="tablist">
<li><a href="index.html"><span>Main&#160;Page</span></a></li>
<li><a href="annotated.html"><span>Classes</span></a></li>
<li class="current"><a href="files.html"><span>Files</span></a></li>
<li>
<div id="MSearchBox" class="MSearchBoxInactive">
<span class="left">
<img id="MSearchSelect" src="search/mag_sel.png"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
alt=""/>
<input type="text" id="MSearchField" value="Search" accesskey="S"
onfocus="searchBox.OnSearchFieldFocus(true)"
onblur="searchBox.OnSearchFieldFocus(false)"
onkeyup="searchBox.OnSearchFieldChange(event)"/>
</span><span class="right">
<a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
</span>
</div>
</li>
</ul>
</div>
<div id="navrow2" class="tabs2">
<ul class="tablist">
<li><a href="files.html"><span>File&#160;List</span></a></li>
<li><a href="globals.html"><span>File&#160;Members</span></a></li>
</ul>
</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 id="nav-path" class="navpath">
<ul>
<li class="navelem"><a class="el" href="dir_6719ab1f1f7655efc2fa43f7eb574fd1.html">libs</a></li><li class="navelem"><a class="el" href="dir_edbb2ffdc3e165978e68de3a46f2e8a0.html">framework</a></li><li class="navelem"><a class="el" href="dir_bc286dd6b945a73064974dfd7e40f558.html">include</a></li> </ul>
</div>
</div><!-- top -->
<div class="header">
<div class="headertitle">
<div class="title">celix_bundle_context.h</div> </div>
</div><!--header-->
<div class="contents">
<a href="celix__bundle__context_8h.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span>&#160;<span class="comment">/*</span></div><div class="line"><a name="l00002"></a><span class="lineno"> 2</span>&#160;<span class="comment"> * Licensed to the Apache Software Foundation (ASF) under one</span></div><div class="line"><a name="l00003"></a><span class="lineno"> 3</span>&#160;<span class="comment"> * or more contributor license agreements. See the NOTICE file</span></div><div class="line"><a name="l00004"></a><span class="lineno"> 4</span>&#160;<span class="comment"> * distributed with this work for additional information</span></div><div class="line"><a name="l00005"></a><span class="lineno"> 5</span>&#160;<span class="comment"> * regarding copyright ownership. The ASF licenses this file</span></div><div class="line"><a name="l00006"></a><span class="lineno"> 6</span>&#160;<span class="comment"> * to you under the Apache License, Version 2.0 (the</span></div><div class="line"><a name="l00007"></a><span class="lineno"> 7</span>&#160;<span class="comment"> * &quot;License&quot;); you may not use this file except in compliance</span></div><div class="line"><a name="l00008"></a><span class="lineno"> 8</span>&#160;<span class="comment"> * with the License. You may obtain a copy of the License at</span></div><div class="line"><a name="l00009"></a><span class="lineno"> 9</span>&#160;<span class="comment"> *</span></div><div class="line"><a name="l00010"></a><span class="lineno"> 10</span>&#160;<span class="comment"> * http://www.apache.org/licenses/LICENSE-2.0</span></div><div class="line"><a name="l00011"></a><span class="lineno"> 11</span>&#160;<span class="comment"> *</span></div><div class="line"><a name="l00012"></a><span class="lineno"> 12</span>&#160;<span class="comment"> * Unless required by applicable law or agreed to in writing,</span></div><div class="line"><a name="l00013"></a><span class="lineno"> 13</span>&#160;<span class="comment"> * software distributed under the License is distributed on an</span></div><div class="line"><a name="l00014"></a><span class="lineno"> 14</span>&#160;<span class="comment"> * &quot;AS IS&quot; BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY</span></div><div class="line"><a name="l00015"></a><span class="lineno"> 15</span>&#160;<span class="comment"> * KIND, either express or implied. See the License for the</span></div><div class="line"><a name="l00016"></a><span class="lineno"> 16</span>&#160;<span class="comment"> * specific language governing permissions and limitations</span></div><div class="line"><a name="l00017"></a><span class="lineno"> 17</span>&#160;<span class="comment"> * under the License.</span></div><div class="line"><a name="l00018"></a><span class="lineno"> 18</span>&#160;<span class="comment"> */</span></div><div class="line"><a name="l00019"></a><span class="lineno"> 19</span>&#160;</div><div class="line"><a name="l00020"></a><span class="lineno"> 20</span>&#160;<span class="preprocessor">#include &quot;celix_types.h&quot;</span></div><div class="line"><a name="l00021"></a><span class="lineno"> 21</span>&#160;<span class="preprocessor">#include &quot;celix_service_factory.h&quot;</span></div><div class="line"><a name="l00022"></a><span class="lineno"> 22</span>&#160;<span class="preprocessor">#include &quot;celix_properties.h&quot;</span></div><div class="line"><a name="l00023"></a><span class="lineno"> 23</span>&#160;<span class="preprocessor">#include &quot;celix_array_list.h&quot;</span></div><div class="line"><a name="l00024"></a><span class="lineno"> 24</span>&#160;<span class="preprocessor">#include &quot;celix_filter.h&quot;</span></div><div class="line"><a name="l00025"></a><span class="lineno"> 25</span>&#160;</div><div class="line"><a name="l00026"></a><span class="lineno"> 26</span>&#160;<span class="preprocessor">#ifndef CELIX_BUNDLE_CONTEXT_H_</span></div><div class="line"><a name="l00027"></a><span class="lineno"> 27</span>&#160;<span class="preprocessor">#define CELIX_BUNDLE_CONTEXT_H_</span></div><div class="line"><a name="l00028"></a><span class="lineno"> 28</span>&#160;</div><div class="line"><a name="l00029"></a><span class="lineno"> 29</span>&#160;</div><div class="line"><a name="l00030"></a><span class="lineno"> 30</span>&#160;<span class="preprocessor">#ifdef __cplusplus</span></div><div class="line"><a name="l00031"></a><span class="lineno"> 31</span>&#160;<span class="keyword">extern</span> <span class="stringliteral">&quot;C&quot;</span> {</div><div class="line"><a name="l00032"></a><span class="lineno"> 32</span>&#160;<span class="preprocessor">#endif</span></div><div class="line"><a name="l00033"></a><span class="lineno"> 33</span>&#160;</div><div class="line"><a name="l00037"></a><span class="lineno"> 37</span>&#160;<span class="preprocessor">#ifdef __cplusplus</span></div><div class="line"><a name="l00038"></a><span class="lineno"> 38</span>&#160;<span class="preprocessor">#define OPTS_INIT {}</span></div><div class="line"><a name="l00039"></a><span class="lineno"> 39</span>&#160;<span class="preprocessor">#else</span></div><div class="line"><a name="l00040"></a><span class="lineno"><a class="line" href="celix__bundle__context_8h.html#a8ebbfbe80221fe8adc8c3afbdceb570f"> 40</a></span>&#160;<span class="preprocessor">#define OPTS_INIT</span></div><div class="line"><a name="l00041"></a><span class="lineno"> 41</span>&#160;<span class="preprocessor">#endif</span></div><div class="line"><a name="l00042"></a><span class="lineno"> 42</span>&#160;</div><div class="line"><a name="l00052"></a><span class="lineno"> 52</span>&#160;<span class="keywordtype">long</span> <a class="code" href="celix__bundle__context_8h.html#a5bc54fd14871cc88ed887c8cea8f7b78">celix_bundleContext_registerService</a>(celix_bundle_context_t *ctx, <span class="keywordtype">void</span> *svc, <span class="keyword">const</span> <span class="keywordtype">char</span> *serviceName, celix_properties_t *properties);</div><div class="line"><a name="l00053"></a><span class="lineno"> 53</span>&#160;</div><div class="line"><a name="l00070"></a><span class="lineno"> 70</span>&#160;<span class="keywordtype">long</span> <a class="code" href="celix__bundle__context_8h.html#a3caa917285feaad580b61d4c0c8430a9">celix_bundleContext_registerServiceFactory</a>(celix_bundle_context_t *ctx, celix_service_factory_t *factory, <span class="keyword">const</span> <span class="keywordtype">char</span> *serviceName, celix_properties_t *props);</div><div class="line"><a name="l00071"></a><span class="lineno"> 71</span>&#160;</div><div class="line"><a name="l00075"></a><span class="lineno"><a class="line" href="structcelix__service__registration__options.html"> 75</a></span>&#160;<span class="keyword">typedef</span> <span class="keyword">struct </span><a class="code" href="structcelix__service__registration__options.html">celix_service_registration_options</a> {</div><div class="line"><a name="l00083"></a><span class="lineno"><a class="line" href="structcelix__service__registration__options.html#a9c24c1179305b68840149449b1fa6d87"> 83</a></span>&#160; <span class="keywordtype">void</span> *svc <a class="code" href="structcelix__service__registration__options.html#a9c24c1179305b68840149449b1fa6d87">OPTS_INIT</a>;</div><div class="line"><a name="l00084"></a><span class="lineno"> 84</span>&#160;</div><div class="line"><a name="l00099"></a><span class="lineno"><a class="line" href="structcelix__service__registration__options.html#a94eb8e6e1af0cca435d99aa5d2457fca"> 99</a></span>&#160; celix_service_factory_t *factory <a class="code" href="structcelix__service__registration__options.html#a94eb8e6e1af0cca435d99aa5d2457fca">OPTS_INIT</a>;</div><div class="line"><a name="l00100"></a><span class="lineno"> 100</span>&#160;</div><div class="line"><a name="l00105"></a><span class="lineno"><a class="line" href="structcelix__service__registration__options.html#a86179f0c7a032f3309440a2cd8d91a61"> 105</a></span>&#160; <span class="keyword">const</span> <span class="keywordtype">char</span> *serviceName <a class="code" href="structcelix__service__registration__options.html#a86179f0c7a032f3309440a2cd8d91a61">OPTS_INIT</a>;</div><div class="line"><a name="l00106"></a><span class="lineno"> 106</span>&#160;</div><div class="line"><a name="l00114"></a><span class="lineno"><a class="line" href="structcelix__service__registration__options.html#a6e1274cc3b190b3dc05c7c145f57d407"> 114</a></span>&#160; celix_properties_t *properties <a class="code" href="structcelix__service__registration__options.html#a6e1274cc3b190b3dc05c7c145f57d407">OPTS_INIT</a>;</div><div class="line"><a name="l00115"></a><span class="lineno"> 115</span>&#160;</div><div class="line"><a name="l00119"></a><span class="lineno"><a class="line" href="structcelix__service__registration__options.html#ae44ee7cc15427e406a67b0396201700c"> 119</a></span>&#160; <span class="keyword">const</span> <span class="keywordtype">char</span> *serviceLanguage <a class="code" href="structcelix__service__registration__options.html#ae44ee7cc15427e406a67b0396201700c">OPTS_INIT</a>;</div><div class="line"><a name="l00120"></a><span class="lineno"> 120</span>&#160;</div><div class="line"><a name="l00128"></a><span class="lineno"><a class="line" href="structcelix__service__registration__options.html#af9b1a622c06a3053ed3917649241fc23"> 128</a></span>&#160; <span class="keyword">const</span> <span class="keywordtype">char</span> *serviceVersion <a class="code" href="structcelix__service__registration__options.html#af9b1a622c06a3053ed3917649241fc23">OPTS_INIT</a>;</div><div class="line"><a name="l00129"></a><span class="lineno"> 129</span>&#160;} <a class="code" href="celix__bundle__context_8h.html#a6bcc1ddc92a68053a0300553baa2e35a">celix_service_registration_options_t</a>;</div><div class="line"><a name="l00130"></a><span class="lineno"> 130</span>&#160;</div><div class="line"><a name="l00134"></a><span class="lineno"> 134</span>&#160;<span class="preprocessor">#ifndef __cplusplus</span></div><div class="line"><a name="l00135"></a><span class="lineno"><a class="line" href="celix__bundle__context_8h.html#a6020a7ba8712efd0847fdf28e74eb69c"> 135</a></span>&#160;<span class="preprocessor">#define CELIX_EMPTY_SERVICE_REGISTRATION_OPTIONS { .svc = NULL, \</span></div><div class="line"><a name="l00136"></a><span class="lineno"> 136</span>&#160;<span class="preprocessor"> .factory = NULL, \</span></div><div class="line"><a name="l00137"></a><span class="lineno"> 137</span>&#160;<span class="preprocessor"> .serviceName = NULL, \</span></div><div class="line"><a name="l00138"></a><span class="lineno"> 138</span>&#160;<span class="preprocessor"> .properties = NULL, \</span></div><div class="line"><a name="l00139"></a><span class="lineno"> 139</span>&#160;<span class="preprocessor"> .serviceLanguage = NULL, \</span></div><div class="line"><a name="l00140"></a><span class="lineno"> 140</span>&#160;<span class="preprocessor"> .serviceVersion = NULL }</span></div><div class="line"><a name="l00141"></a><span class="lineno"> 141</span>&#160;<span class="preprocessor">#endif</span></div><div class="line"><a name="l00142"></a><span class="lineno"> 142</span>&#160;</div><div class="line"><a name="l00143"></a><span class="lineno"> 143</span>&#160;</div><div class="line"><a name="l00151"></a><span class="lineno"> 151</span>&#160;<span class="keywordtype">long</span> <a class="code" href="celix__bundle__context_8h.html#abcde0edf5b4969bdd67831cff3db0a43">celix_bundleContext_registerServiceWithOptions</a>(celix_bundle_context_t *ctx, <span class="keyword">const</span> <a class="code" href="structcelix__service__registration__options.html">celix_service_registration_options_t</a> *opts);</div><div class="line"><a name="l00152"></a><span class="lineno"> 152</span>&#160;</div><div class="line"><a name="l00153"></a><span class="lineno"> 153</span>&#160;</div><div class="line"><a name="l00163"></a><span class="lineno"> 163</span>&#160;<span class="keywordtype">void</span> <a class="code" href="celix__bundle__context_8h.html#a1ebd82cb3d61aab769956d856293b9b9">celix_bundleContext_unregisterService</a>(celix_bundle_context_t *ctx, <span class="keywordtype">long</span> serviceId);</div><div class="line"><a name="l00164"></a><span class="lineno"> 164</span>&#160;</div><div class="line"><a name="l00165"></a><span class="lineno"> 165</span>&#160;</div><div class="line"><a name="l00166"></a><span class="lineno"> 166</span>&#160;</div><div class="line"><a name="l00167"></a><span class="lineno"> 167</span>&#160;</div><div class="line"><a name="l00168"></a><span class="lineno"> 168</span>&#160;</div><div class="line"><a name="l00169"></a><span class="lineno"> 169</span>&#160;</div><div class="line"><a name="l00170"></a><span class="lineno"> 170</span>&#160;</div><div class="line"><a name="l00171"></a><span class="lineno"> 171</span>&#160;</div><div class="line"><a name="l00179"></a><span class="lineno"> 179</span>&#160;<span class="keywordtype">long</span> <a class="code" href="celix__bundle__context_8h.html#ac8322b5aa4adf9dcd8c288ce72a05414">celix_bundleContext_findService</a>(celix_bundle_context_t *ctx, <span class="keyword">const</span> <span class="keywordtype">char</span> *serviceName);</div><div class="line"><a name="l00180"></a><span class="lineno"> 180</span>&#160;</div><div class="line"><a name="l00188"></a><span class="lineno"> 188</span>&#160;celix_array_list_t* <a class="code" href="celix__bundle__context_8h.html#a96a901f0597f9d2accf073153d90344c">celix_bundleContext_findServices</a>(celix_bundle_context_t *ctx, <span class="keyword">const</span> <span class="keywordtype">char</span> *serviceName);</div><div class="line"><a name="l00189"></a><span class="lineno"> 189</span>&#160;</div><div class="line"><a name="l00193"></a><span class="lineno"><a class="line" href="structcelix__service__filter__options.html"> 193</a></span>&#160;<span class="keyword">typedef</span> <span class="keyword">struct </span><a class="code" href="structcelix__service__filter__options.html">celix_service_filter_options</a> {</div><div class="line"><a name="l00197"></a><span class="lineno"><a class="line" href="structcelix__service__filter__options.html#addb2e1e8fcce127512d272383e78cbd1"> 197</a></span>&#160; <span class="keyword">const</span> <span class="keywordtype">char</span>* serviceName <a class="code" href="structcelix__service__filter__options.html#addb2e1e8fcce127512d272383e78cbd1">OPTS_INIT</a>;</div><div class="line"><a name="l00198"></a><span class="lineno"> 198</span>&#160;</div><div class="line"><a name="l00204"></a><span class="lineno"><a class="line" href="structcelix__service__filter__options.html#a65bea04c378ef46d841046ffbb2f805c"> 204</a></span>&#160; <span class="keyword">const</span> <span class="keywordtype">char</span>* versionRange <a class="code" href="structcelix__service__filter__options.html#a65bea04c378ef46d841046ffbb2f805c">OPTS_INIT</a>;</div><div class="line"><a name="l00205"></a><span class="lineno"> 205</span>&#160;</div><div class="line"><a name="l00210"></a><span class="lineno"><a class="line" href="structcelix__service__filter__options.html#ac15f30b81e60826290a29fb12da6684a"> 210</a></span>&#160; <span class="keyword">const</span> <span class="keywordtype">char</span>* filter <a class="code" href="structcelix__service__filter__options.html#ac15f30b81e60826290a29fb12da6684a">OPTS_INIT</a>;</div><div class="line"><a name="l00211"></a><span class="lineno"> 211</span>&#160;</div><div class="line"><a name="l00215"></a><span class="lineno"><a class="line" href="structcelix__service__filter__options.html#a9286701a4c946d1ed28afde05cd34d51"> 215</a></span>&#160; <span class="keyword">const</span> <span class="keywordtype">char</span>* serviceLanguage <a class="code" href="structcelix__service__filter__options.html#a9286701a4c946d1ed28afde05cd34d51">OPTS_INIT</a>;</div><div class="line"><a name="l00216"></a><span class="lineno"> 216</span>&#160;</div><div class="line"><a name="l00217"></a><span class="lineno"> 217</span>&#160;</div><div class="line"><a name="l00222"></a><span class="lineno"><a class="line" href="structcelix__service__filter__options.html#a70cc8aee445c1a24782454393f12ff98"> 222</a></span>&#160; <span class="keywordtype">bool</span> ignoreServiceLanguage <a class="code" href="structcelix__service__filter__options.html#a70cc8aee445c1a24782454393f12ff98">OPTS_INIT</a>;</div><div class="line"><a name="l00223"></a><span class="lineno"> 223</span>&#160;} <a class="code" href="celix__bundle__context_8h.html#a54e95a32f444f0124896a4d193e3be22">celix_service_filter_options_t</a>;</div><div class="line"><a name="l00224"></a><span class="lineno"> 224</span>&#160;</div><div class="line"><a name="l00228"></a><span class="lineno"> 228</span>&#160;<span class="preprocessor">#ifndef __cplusplus</span></div><div class="line"><a name="l00229"></a><span class="lineno"><a class="line" href="celix__bundle__context_8h.html#a7199f710ea1c193d361e8c151a92bc6a"> 229</a></span>&#160;<span class="preprocessor">#define CELIX_EMPTY_SERVICE_FILTER_OPTIONS {.serviceName = NULL, .versionRange = NULL, .filter = NULL, .serviceLanguage = NULL, .ignoreServiceLanguage = false}</span></div><div class="line"><a name="l00230"></a><span class="lineno"> 230</span>&#160;<span class="preprocessor">#endif</span></div><div class="line"><a name="l00231"></a><span class="lineno"> 231</span>&#160;</div><div class="line"><a name="l00232"></a><span class="lineno"> 232</span>&#160;</div><div class="line"><a name="l00240"></a><span class="lineno"> 240</span>&#160;<span class="keywordtype">long</span> <a class="code" href="celix__bundle__context_8h.html#a8cfbbb7e17cb4a825a525c547f72b4b0">celix_bundleContext_findServiceWithOptions</a>(celix_bundle_context_t *ctx, <span class="keyword">const</span> <a class="code" href="structcelix__service__filter__options.html">celix_service_filter_options_t</a> *opts);</div><div class="line"><a name="l00241"></a><span class="lineno"> 241</span>&#160;</div><div class="line"><a name="l00249"></a><span class="lineno"> 249</span>&#160;celix_array_list_t* <a class="code" href="celix__bundle__context_8h.html#a41c34f8165addcbd0d65b4a0c23345d0">celix_bundleContext_findServicesWithOptions</a>(celix_bundle_context_t *ctx, <span class="keyword">const</span> <a class="code" href="structcelix__service__filter__options.html">celix_service_filter_options_t</a> *opts);</div><div class="line"><a name="l00250"></a><span class="lineno"> 250</span>&#160;</div><div class="line"><a name="l00251"></a><span class="lineno"> 251</span>&#160;</div><div class="line"><a name="l00264"></a><span class="lineno"> 264</span>&#160;<span class="keywordtype">long</span> <a class="code" href="celix__bundle__context_8h.html#a612409acf5453dbc370d93b784153d51">celix_bundleContext_trackService</a>(</div><div class="line"><a name="l00265"></a><span class="lineno"> 265</span>&#160; celix_bundle_context_t* ctx,</div><div class="line"><a name="l00266"></a><span class="lineno"> 266</span>&#160; <span class="keyword">const</span> <span class="keywordtype">char</span>* serviceName,</div><div class="line"><a name="l00267"></a><span class="lineno"> 267</span>&#160; <span class="keywordtype">void</span>* callbackHandle,</div><div class="line"><a name="l00268"></a><span class="lineno"> 268</span>&#160; <span class="keywordtype">void</span> (*<span class="keyword">set</span>)(<span class="keywordtype">void</span>* handle, <span class="keywordtype">void</span>* svc)</div><div class="line"><a name="l00269"></a><span class="lineno"> 269</span>&#160;);</div><div class="line"><a name="l00270"></a><span class="lineno"> 270</span>&#160;</div><div class="line"><a name="l00281"></a><span class="lineno"> 281</span>&#160;<span class="keywordtype">long</span> <a class="code" href="celix__bundle__context_8h.html#a43e3bfd38ef956ffe861065e698a72e4">celix_bundleContext_trackServices</a>(</div><div class="line"><a name="l00282"></a><span class="lineno"> 282</span>&#160; celix_bundle_context_t* ctx,</div><div class="line"><a name="l00283"></a><span class="lineno"> 283</span>&#160; <span class="keyword">const</span> <span class="keywordtype">char</span>* serviceName,</div><div class="line"><a name="l00284"></a><span class="lineno"> 284</span>&#160; <span class="keywordtype">void</span>* callbackHandle,</div><div class="line"><a name="l00285"></a><span class="lineno"> 285</span>&#160; <span class="keywordtype">void</span> (*add)(<span class="keywordtype">void</span>* handle, <span class="keywordtype">void</span>* svc),</div><div class="line"><a name="l00286"></a><span class="lineno"> 286</span>&#160; <span class="keywordtype">void</span> (*<span class="keyword">remove</span>)(<span class="keywordtype">void</span>* handle, <span class="keywordtype">void</span>* svc)</div><div class="line"><a name="l00287"></a><span class="lineno"> 287</span>&#160;);</div><div class="line"><a name="l00288"></a><span class="lineno"> 288</span>&#160;</div><div class="line"><a name="l00292"></a><span class="lineno"><a class="line" href="structcelix__service__tracking__options.html"> 292</a></span>&#160;<span class="keyword">typedef</span> <span class="keyword">struct </span><a class="code" href="structcelix__service__tracking__options.html">celix_service_tracking_options</a> {</div><div class="line"><a name="l00296"></a><span class="lineno"><a class="line" href="structcelix__service__tracking__options.html#a9272f1870b544b28329545b84f3425c2"> 296</a></span>&#160; <a class="code" href="structcelix__service__filter__options.html">celix_service_filter_options_t</a> filter <a class="code" href="structcelix__service__tracking__options.html#a9272f1870b544b28329545b84f3425c2">OPTS_INIT</a>;</div><div class="line"><a name="l00297"></a><span class="lineno"> 297</span>&#160;</div><div class="line"><a name="l00301"></a><span class="lineno"><a class="line" href="structcelix__service__tracking__options.html#a2fcaf1b7274379695cc9a4bb1c719d86"> 301</a></span>&#160; <span class="keywordtype">void</span>* callbackHandle <a class="code" href="structcelix__service__tracking__options.html#a2fcaf1b7274379695cc9a4bb1c719d86">OPTS_INIT</a>;</div><div class="line"><a name="l00302"></a><span class="lineno"> 302</span>&#160;</div><div class="line"><a name="l00309"></a><span class="lineno"><a class="line" href="structcelix__service__tracking__options.html#aa9e8b9cae7ea59ddb796a6bc904f57da"> 309</a></span>&#160; void (*<span class="keyword">set</span>)(<span class="keywordtype">void</span> *handle, <span class="keywordtype">void</span> *svc) OPTS_INIT;</div><div class="line"><a name="l00310"></a><span class="lineno"> 310</span>&#160;</div><div class="line"><a name="l00315"></a><span class="lineno"><a class="line" href="structcelix__service__tracking__options.html#a256f8db1eecb89a8b71e4ef03ab11172"> 315</a></span>&#160; void (*setWithProperties)(<span class="keywordtype">void</span> *handle, <span class="keywordtype">void</span> *svc, <span class="keyword">const</span> celix_properties_t *props) OPTS_INIT; <span class="comment">//highest ranking</span></div><div class="line"><a name="l00316"></a><span class="lineno"> 316</span>&#160;</div><div class="line"><a name="l00321"></a><span class="lineno"><a class="line" href="structcelix__service__tracking__options.html#a12a988b8f1f3bd3a2e61c65d82f14d59"> 321</a></span>&#160; void (*setWithOwner)(<span class="keywordtype">void</span> *handle, <span class="keywordtype">void</span> *svc, <span class="keyword">const</span> celix_properties_t *props, <span class="keyword">const</span> celix_bundle_t *svcOwner) OPTS_INIT; <span class="comment">//highest ranking</span></div><div class="line"><a name="l00322"></a><span class="lineno"> 322</span>&#160;</div><div class="line"><a name="l00329"></a><span class="lineno"><a class="line" href="structcelix__service__tracking__options.html#afe7fa7d7fce1c581dff6e7986e958815"> 329</a></span>&#160; void (*add)(<span class="keywordtype">void</span> *handle, <span class="keywordtype">void</span> *svc) OPTS_INIT;</div><div class="line"><a name="l00330"></a><span class="lineno"> 330</span>&#160;</div><div class="line"><a name="l00335"></a><span class="lineno"><a class="line" href="structcelix__service__tracking__options.html#a4f80c99b050b1e49663cab329848364c"> 335</a></span>&#160; void (*addWithProperties)(<span class="keywordtype">void</span> *handle, <span class="keywordtype">void</span> *svc, <span class="keyword">const</span> celix_properties_t *props) OPTS_INIT;</div><div class="line"><a name="l00336"></a><span class="lineno"> 336</span>&#160;</div><div class="line"><a name="l00341"></a><span class="lineno"><a class="line" href="structcelix__service__tracking__options.html#a787fd0f4f6719fefea2ae70fe6a1a5e6"> 341</a></span>&#160; void (*addWithOwner)(<span class="keywordtype">void</span> *handle, <span class="keywordtype">void</span> *svc, <span class="keyword">const</span> celix_properties_t *props, <span class="keyword">const</span> celix_bundle_t *svcOwner) OPTS_INIT;</div><div class="line"><a name="l00342"></a><span class="lineno"> 342</span>&#160;</div><div class="line"><a name="l00352"></a><span class="lineno"><a class="line" href="structcelix__service__tracking__options.html#a8445caaae53d71a47c0289d2e3e5f882"> 352</a></span>&#160; void (*<span class="keyword">remove</span>)(<span class="keywordtype">void</span> *handle, <span class="keywordtype">void</span> *svc) OPTS_INIT;</div><div class="line"><a name="l00353"></a><span class="lineno"> 353</span>&#160;</div><div class="line"><a name="l00358"></a><span class="lineno"><a class="line" href="structcelix__service__tracking__options.html#af75c423757dcd16bf90d57a5726ac98a"> 358</a></span>&#160; void (*removeWithProperties)(<span class="keywordtype">void</span> *handle, <span class="keywordtype">void</span> *svc, <span class="keyword">const</span> celix_properties_t *props) OPTS_INIT;</div><div class="line"><a name="l00359"></a><span class="lineno"> 359</span>&#160;</div><div class="line"><a name="l00364"></a><span class="lineno"><a class="line" href="structcelix__service__tracking__options.html#acf6dbcde52efbed145933e8a28f3f2e1"> 364</a></span>&#160; void (*removeWithOwner)(<span class="keywordtype">void</span> *handle, <span class="keywordtype">void</span> *svc, <span class="keyword">const</span> celix_properties_t *props, <span class="keyword">const</span> celix_bundle_t *svcOwner) OPTS_INIT;</div><div class="line"><a name="l00365"></a><span class="lineno"> 365</span>&#160;} <a class="code" href="celix__bundle__context_8h.html#a4e53ca7fd5a9c2b792ff0a8e048236d2">celix_service_tracking_options_t</a>;</div><div class="line"><a name="l00366"></a><span class="lineno"> 366</span>&#160;</div><div class="line"><a name="l00370"></a><span class="lineno"> 370</span>&#160;<span class="preprocessor">#ifndef __cplusplus</span></div><div class="line"><a name="l00371"></a><span class="lineno"><a class="line" href="celix__bundle__context_8h.html#ae86a28f8d19f6c1e2951172335e0e909"> 371</a></span>&#160;<span class="preprocessor">#define CELIX_EMPTY_SERVICE_TRACKING_OPTIONS { .filter.serviceName = NULL, \</span></div><div class="line"><a name="l00372"></a><span class="lineno"> 372</span>&#160;<span class="preprocessor"> .filter.versionRange = NULL, \</span></div><div class="line"><a name="l00373"></a><span class="lineno"> 373</span>&#160;<span class="preprocessor"> .filter.filter = NULL, \</span></div><div class="line"><a name="l00374"></a><span class="lineno"> 374</span>&#160;<span class="preprocessor"> .filter.serviceLanguage = NULL, \</span></div><div class="line"><a name="l00375"></a><span class="lineno"> 375</span>&#160;<span class="preprocessor"> .filter.ignoreServiceLanguage = false, \</span></div><div class="line"><a name="l00376"></a><span class="lineno"> 376</span>&#160;<span class="preprocessor"> .callbackHandle = NULL, \</span></div><div class="line"><a name="l00377"></a><span class="lineno"> 377</span>&#160;<span class="preprocessor"> .set = NULL, \</span></div><div class="line"><a name="l00378"></a><span class="lineno"> 378</span>&#160;<span class="preprocessor"> .add = NULL, \</span></div><div class="line"><a name="l00379"></a><span class="lineno"> 379</span>&#160;<span class="preprocessor"> .remove = NULL, \</span></div><div class="line"><a name="l00380"></a><span class="lineno"> 380</span>&#160;<span class="preprocessor"> .setWithProperties = NULL, \</span></div><div class="line"><a name="l00381"></a><span class="lineno"> 381</span>&#160;<span class="preprocessor"> .addWithProperties = NULL, \</span></div><div class="line"><a name="l00382"></a><span class="lineno"> 382</span>&#160;<span class="preprocessor"> .removeWithProperties = NULL, \</span></div><div class="line"><a name="l00383"></a><span class="lineno"> 383</span>&#160;<span class="preprocessor"> .setWithOwner = NULL, \</span></div><div class="line"><a name="l00384"></a><span class="lineno"> 384</span>&#160;<span class="preprocessor"> .addWithOwner = NULL, \</span></div><div class="line"><a name="l00385"></a><span class="lineno"> 385</span>&#160;<span class="preprocessor"> .removeWithOwner = NULL}</span></div><div class="line"><a name="l00386"></a><span class="lineno"> 386</span>&#160;<span class="preprocessor">#endif</span></div><div class="line"><a name="l00387"></a><span class="lineno"> 387</span>&#160;</div><div class="line"><a name="l00396"></a><span class="lineno"> 396</span>&#160;<span class="keywordtype">long</span> <a class="code" href="celix__bundle__context_8h.html#a27980e1631d4575cc45c6c6ba38c6f71">celix_bundleContext_trackServicesWithOptions</a>(celix_bundle_context_t *ctx, <span class="keyword">const</span> <a class="code" href="structcelix__service__tracking__options.html">celix_service_tracking_options_t</a> *opts);</div><div class="line"><a name="l00397"></a><span class="lineno"> 397</span>&#160;</div><div class="line"><a name="l00405"></a><span class="lineno"> 405</span>&#160;<span class="keywordtype">void</span> <a class="code" href="celix__bundle__context_8h.html#a3b4906a9e6fb34fe3ca5118539a81fc7">celix_bundleContext_stopTracker</a>(celix_bundle_context_t *ctx, <span class="keywordtype">long</span> trackerId);</div><div class="line"><a name="l00406"></a><span class="lineno"> 406</span>&#160;</div><div class="line"><a name="l00407"></a><span class="lineno"> 407</span>&#160;</div><div class="line"><a name="l00408"></a><span class="lineno"> 408</span>&#160;</div><div class="line"><a name="l00409"></a><span class="lineno"> 409</span>&#160;</div><div class="line"><a name="l00410"></a><span class="lineno"> 410</span>&#160;</div><div class="line"><a name="l00411"></a><span class="lineno"> 411</span>&#160;</div><div class="line"><a name="l00429"></a><span class="lineno"> 429</span>&#160;<span class="keywordtype">bool</span> <a class="code" href="celix__bundle__context_8h.html#aec6e03faece0f8247de19d8c1527406d">celix_bundleContext_useServiceWithId</a>(</div><div class="line"><a name="l00430"></a><span class="lineno"> 430</span>&#160; celix_bundle_context_t *ctx,</div><div class="line"><a name="l00431"></a><span class="lineno"> 431</span>&#160; <span class="keywordtype">long</span> serviceId,</div><div class="line"><a name="l00432"></a><span class="lineno"> 432</span>&#160; <span class="keyword">const</span> <span class="keywordtype">char</span> *serviceName <span class="comment">/*sanity check*/</span>,</div><div class="line"><a name="l00433"></a><span class="lineno"> 433</span>&#160; <span class="keywordtype">void</span> *callbackHandle,</div><div class="line"><a name="l00434"></a><span class="lineno"> 434</span>&#160; <span class="keywordtype">void</span> (*use)(<span class="keywordtype">void</span> *handle, <span class="keywordtype">void</span>* svc)</div><div class="line"><a name="l00435"></a><span class="lineno"> 435</span>&#160;);</div><div class="line"><a name="l00436"></a><span class="lineno"> 436</span>&#160;</div><div class="line"><a name="l00453"></a><span class="lineno"> 453</span>&#160;<span class="keywordtype">bool</span> <a class="code" href="celix__bundle__context_8h.html#ac36cdb8a06bb34f9371d7bb32953c69e">celix_bundleContext_useService</a>(</div><div class="line"><a name="l00454"></a><span class="lineno"> 454</span>&#160; celix_bundle_context_t *ctx,</div><div class="line"><a name="l00455"></a><span class="lineno"> 455</span>&#160; <span class="keyword">const</span> <span class="keywordtype">char</span>* serviceName,</div><div class="line"><a name="l00456"></a><span class="lineno"> 456</span>&#160; <span class="keywordtype">void</span> *callbackHandle,</div><div class="line"><a name="l00457"></a><span class="lineno"> 457</span>&#160; <span class="keywordtype">void</span> (*use)(<span class="keywordtype">void</span> *handle, <span class="keywordtype">void</span> *svc)</div><div class="line"><a name="l00458"></a><span class="lineno"> 458</span>&#160;);</div><div class="line"><a name="l00459"></a><span class="lineno"> 459</span>&#160;</div><div class="line"><a name="l00475"></a><span class="lineno"> 475</span>&#160;<span class="keywordtype">void</span> <a class="code" href="celix__bundle__context_8h.html#a39270507a3766afbfcc9420c7270d262">celix_bundleContext_useServices</a>(</div><div class="line"><a name="l00476"></a><span class="lineno"> 476</span>&#160; celix_bundle_context_t *ctx,</div><div class="line"><a name="l00477"></a><span class="lineno"> 477</span>&#160; <span class="keyword">const</span> <span class="keywordtype">char</span>* serviceName,</div><div class="line"><a name="l00478"></a><span class="lineno"> 478</span>&#160; <span class="keywordtype">void</span> *callbackHandle,</div><div class="line"><a name="l00479"></a><span class="lineno"> 479</span>&#160; <span class="keywordtype">void</span> (*use)(<span class="keywordtype">void</span> *handle, <span class="keywordtype">void</span> *svc)</div><div class="line"><a name="l00480"></a><span class="lineno"> 480</span>&#160;);</div><div class="line"><a name="l00481"></a><span class="lineno"> 481</span>&#160;</div><div class="line"><a name="l00485"></a><span class="lineno"><a class="line" href="structcelix__service__use__options.html"> 485</a></span>&#160;<span class="keyword">typedef</span> <span class="keyword">struct </span><a class="code" href="structcelix__service__use__options.html">celix_service_use_options</a> {</div><div class="line"><a name="l00489"></a><span class="lineno"><a class="line" href="structcelix__service__use__options.html#addad49a12179fff8b2dbf5313d70952f"> 489</a></span>&#160; <a class="code" href="structcelix__service__filter__options.html">celix_service_filter_options_t</a> filter <a class="code" href="structcelix__service__use__options.html#addad49a12179fff8b2dbf5313d70952f">OPTS_INIT</a>;</div><div class="line"><a name="l00490"></a><span class="lineno"> 490</span>&#160;</div><div class="line"><a name="l00496"></a><span class="lineno"><a class="line" href="structcelix__service__use__options.html#ae24e3e35d7d92d5b41d58b53506bcca0"> 496</a></span>&#160; <span class="keywordtype">double</span> waitTimeoutInSeconds <a class="code" href="structcelix__service__use__options.html#ae24e3e35d7d92d5b41d58b53506bcca0">OPTS_INIT</a>;</div><div class="line"><a name="l00497"></a><span class="lineno"> 497</span>&#160;</div><div class="line"><a name="l00501"></a><span class="lineno"><a class="line" href="structcelix__service__use__options.html#a31a9834b87a5c2c3ed6b8532cd85c653"> 501</a></span>&#160; <span class="keywordtype">void</span> *callbackHandle <a class="code" href="structcelix__service__use__options.html#a31a9834b87a5c2c3ed6b8532cd85c653">OPTS_INIT</a>;</div><div class="line"><a name="l00502"></a><span class="lineno"> 502</span>&#160;</div><div class="line"><a name="l00510"></a><span class="lineno"><a class="line" href="structcelix__service__use__options.html#ac7efa464a614a3faf6970a4917c596a7"> 510</a></span>&#160; void (*use)(<span class="keywordtype">void</span> *handle, <span class="keywordtype">void</span> *svc) OPTS_INIT;</div><div class="line"><a name="l00511"></a><span class="lineno"> 511</span>&#160;</div><div class="line"><a name="l00516"></a><span class="lineno"><a class="line" href="structcelix__service__use__options.html#a8192eb7aa470178f78ea8c09c4574867"> 516</a></span>&#160; void (*useWithProperties)(<span class="keywordtype">void</span> *handle, <span class="keywordtype">void</span> *svc, <span class="keyword">const</span> celix_properties_t *props) OPTS_INIT;</div><div class="line"><a name="l00517"></a><span class="lineno"> 517</span>&#160;</div><div class="line"><a name="l00522"></a><span class="lineno"><a class="line" href="structcelix__service__use__options.html#a2ba3552bfc25500084bfaf2dbb0f46c5"> 522</a></span>&#160; void (*useWithOwner)(<span class="keywordtype">void</span> *handle, <span class="keywordtype">void</span> *svc, <span class="keyword">const</span> celix_properties_t *props, <span class="keyword">const</span> celix_bundle_t *svcOwner) OPTS_INIT;</div><div class="line"><a name="l00523"></a><span class="lineno"> 523</span>&#160;} <a class="code" href="celix__bundle__context_8h.html#abc6f11edf20a71cbade3668e4bc66ed6">celix_service_use_options_t</a>;</div><div class="line"><a name="l00524"></a><span class="lineno"> 524</span>&#160;</div><div class="line"><a name="l00528"></a><span class="lineno"> 528</span>&#160;<span class="preprocessor">#ifndef __cplusplus</span></div><div class="line"><a name="l00529"></a><span class="lineno"><a class="line" href="celix__bundle__context_8h.html#a6024cf4864950551fa9df01806a69865"> 529</a></span>&#160;<span class="preprocessor">#define CELIX_EMPTY_SERVICE_USE_OPTIONS {.filter.serviceName = NULL, \</span></div><div class="line"><a name="l00530"></a><span class="lineno"> 530</span>&#160;<span class="preprocessor"> .filter.versionRange = NULL, \</span></div><div class="line"><a name="l00531"></a><span class="lineno"> 531</span>&#160;<span class="preprocessor"> .filter.filter = NULL, \</span></div><div class="line"><a name="l00532"></a><span class="lineno"> 532</span>&#160;<span class="preprocessor"> .filter.serviceLanguage = NULL, \</span></div><div class="line"><a name="l00533"></a><span class="lineno"> 533</span>&#160;<span class="preprocessor"> .waitTimeoutInSeconds = 0.0F, \</span></div><div class="line"><a name="l00534"></a><span class="lineno"> 534</span>&#160;<span class="preprocessor"> .callbackHandle = NULL, \</span></div><div class="line"><a name="l00535"></a><span class="lineno"> 535</span>&#160;<span class="preprocessor"> .use = NULL, \</span></div><div class="line"><a name="l00536"></a><span class="lineno"> 536</span>&#160;<span class="preprocessor"> .useWithProperties = NULL, \</span></div><div class="line"><a name="l00537"></a><span class="lineno"> 537</span>&#160;<span class="preprocessor"> .useWithOwner = NULL}</span></div><div class="line"><a name="l00538"></a><span class="lineno"> 538</span>&#160;<span class="preprocessor">#endif</span></div><div class="line"><a name="l00539"></a><span class="lineno"> 539</span>&#160;</div><div class="line"><a name="l00554"></a><span class="lineno"> 554</span>&#160;<span class="keywordtype">bool</span> <a class="code" href="celix__bundle__context_8h.html#a1e8a78de5f799d303231385b51085055">celix_bundleContext_useServiceWithOptions</a>(</div><div class="line"><a name="l00555"></a><span class="lineno"> 555</span>&#160; celix_bundle_context_t *ctx,</div><div class="line"><a name="l00556"></a><span class="lineno"> 556</span>&#160; <span class="keyword">const</span> <a class="code" href="structcelix__service__use__options.html">celix_service_use_options_t</a> *opts);</div><div class="line"><a name="l00557"></a><span class="lineno"> 557</span>&#160;</div><div class="line"><a name="l00558"></a><span class="lineno"> 558</span>&#160;</div><div class="line"><a name="l00572"></a><span class="lineno"> 572</span>&#160;<span class="keywordtype">void</span> <a class="code" href="celix__bundle__context_8h.html#ad1512520baedecad54a7bc307e0a6c7b">celix_bundleContext_useServicesWithOptions</a>(</div><div class="line"><a name="l00573"></a><span class="lineno"> 573</span>&#160; celix_bundle_context_t *ctx,</div><div class="line"><a name="l00574"></a><span class="lineno"> 574</span>&#160; <span class="keyword">const</span> <a class="code" href="structcelix__service__use__options.html">celix_service_use_options_t</a> *opts);</div><div class="line"><a name="l00575"></a><span class="lineno"> 575</span>&#160;</div><div class="line"><a name="l00576"></a><span class="lineno"> 576</span>&#160;</div><div class="line"><a name="l00577"></a><span class="lineno"> 577</span>&#160;</div><div class="line"><a name="l00578"></a><span class="lineno"> 578</span>&#160;</div><div class="line"><a name="l00586"></a><span class="lineno"> 586</span>&#160;celix_array_list_t* <a class="code" href="celix__bundle__context_8h.html#afde9ed40231b5c3bbba19559e68e77f6">celix_bundleContext_listBundles</a>(celix_bundle_context_t *ctx);</div><div class="line"><a name="l00587"></a><span class="lineno"> 587</span>&#160;</div><div class="line"><a name="l00594"></a><span class="lineno"> 594</span>&#160;<span class="keywordtype">bool</span> <a class="code" href="celix__bundle__context_8h.html#ac7151f08ded1d7571867a44abe9f3531">celix_bundleContext_isBundleInstalled</a>(celix_bundle_context_t *ctx, <span class="keywordtype">long</span> bndId);</div><div class="line"><a name="l00595"></a><span class="lineno"> 595</span>&#160;</div><div class="line"><a name="l00596"></a><span class="lineno"> 596</span>&#160;</div><div class="line"><a name="l00606"></a><span class="lineno"> 606</span>&#160;<span class="keywordtype">long</span> <a class="code" href="celix__bundle__context_8h.html#a727ee2600c19ce2fd42b3b80b695c7f6">celix_bundleContext_installBundle</a>(celix_bundle_context_t *ctx, <span class="keyword">const</span> <span class="keywordtype">char</span> *bundleLoc, <span class="keywordtype">bool</span> autoStart);</div><div class="line"><a name="l00607"></a><span class="lineno"> 607</span>&#160;</div><div class="line"><a name="l00616"></a><span class="lineno"> 616</span>&#160;<span class="keywordtype">bool</span> <a class="code" href="celix__bundle__context_8h.html#a098adf1e9f65deb166110008bd4314dd">celix_bundleContext_uninstallBundle</a>(celix_bundle_context_t *ctx, <span class="keywordtype">long</span> bundleId);</div><div class="line"><a name="l00617"></a><span class="lineno"> 617</span>&#160;</div><div class="line"><a name="l00626"></a><span class="lineno"> 626</span>&#160;<span class="keywordtype">bool</span> <a class="code" href="celix__bundle__context_8h.html#ad6e1553f9507d04c7a0ad91d067d479b">celix_bundleContext_stopBundle</a>(celix_bundle_context_t *ctx, <span class="keywordtype">long</span> bundleId);</div><div class="line"><a name="l00627"></a><span class="lineno"> 627</span>&#160;</div><div class="line"><a name="l00636"></a><span class="lineno"> 636</span>&#160;<span class="keywordtype">bool</span> <a class="code" href="celix__bundle__context_8h.html#a8df4bfbc27c99736c0209ef130cff98f">celix_bundleContext_startBundle</a>(celix_bundle_context_t *ctx, <span class="keywordtype">long</span> bundleId);</div><div class="line"><a name="l00637"></a><span class="lineno"> 637</span>&#160;</div><div class="line"><a name="l00648"></a><span class="lineno"> 648</span>&#160;<span class="keywordtype">long</span> <a class="code" href="celix__bundle__context_8h.html#a3daf88ae43bb01e104f506c3a2dc8351">celix_bundleContext_trackBundles</a>(</div><div class="line"><a name="l00649"></a><span class="lineno"> 649</span>&#160; celix_bundle_context_t* ctx,</div><div class="line"><a name="l00650"></a><span class="lineno"> 650</span>&#160; <span class="keywordtype">void</span>* callbackHandle,</div><div class="line"><a name="l00651"></a><span class="lineno"> 651</span>&#160; <span class="keywordtype">void</span> (*onStarted)(<span class="keywordtype">void</span>* handle, <span class="keyword">const</span> celix_bundle_t *bundle),</div><div class="line"><a name="l00652"></a><span class="lineno"> 652</span>&#160; <span class="keywordtype">void</span> (*onStopped)(<span class="keywordtype">void</span> *handle, <span class="keyword">const</span> celix_bundle_t *bundle)</div><div class="line"><a name="l00653"></a><span class="lineno"> 653</span>&#160;);</div><div class="line"><a name="l00654"></a><span class="lineno"> 654</span>&#160;</div><div class="line"><a name="l00655"></a><span class="lineno"> 655</span>&#160;</div><div class="line"><a name="l00659"></a><span class="lineno"><a class="line" href="structcelix__bundle__tracker__options.html"> 659</a></span>&#160;<span class="keyword">typedef</span> <span class="keyword">struct </span><a class="code" href="structcelix__bundle__tracker__options.html">celix_bundle_tracker_options</a> {</div><div class="line"><a name="l00663"></a><span class="lineno"><a class="line" href="structcelix__bundle__tracker__options.html#a80ebdcbb840fa97d81e1250fba2d20af"> 663</a></span>&#160; <span class="keywordtype">void</span>* callbackHandle <a class="code" href="structcelix__bundle__tracker__options.html#a80ebdcbb840fa97d81e1250fba2d20af">OPTS_INIT</a>;</div><div class="line"><a name="l00664"></a><span class="lineno"> 664</span>&#160;</div><div class="line"><a name="l00671"></a><span class="lineno"><a class="line" href="structcelix__bundle__tracker__options.html#a044b58b6aa64edfd3f49921fdf6756bb"> 671</a></span>&#160; void (*onStarted)(<span class="keywordtype">void</span> *handle, <span class="keyword">const</span> celix_bundle_t *bundle) OPTS_INIT; <span class="comment">//highest ranking</span></div><div class="line"><a name="l00672"></a><span class="lineno"> 672</span>&#160;</div><div class="line"><a name="l00679"></a><span class="lineno"><a class="line" href="structcelix__bundle__tracker__options.html#aeac272edbc00cb62f7071df0699dd492"> 679</a></span>&#160; void (*onStopped)(<span class="keywordtype">void</span> *handle, <span class="keyword">const</span> celix_bundle_t *bundle) OPTS_INIT;</div><div class="line"><a name="l00680"></a><span class="lineno"> 680</span>&#160;</div><div class="line"><a name="l00681"></a><span class="lineno"> 681</span>&#160; <span class="comment">//TODO callback for on installed, resolved, uninstalled ??</span></div><div class="line"><a name="l00682"></a><span class="lineno"> 682</span>&#160;</div><div class="line"><a name="l00688"></a><span class="lineno"><a class="line" href="structcelix__bundle__tracker__options.html#aae47b1896e9b058f9a43d26246241398"> 688</a></span>&#160; void (*onBundleEvent)(<span class="keywordtype">void</span> *handle, <span class="keyword">const</span> celix_bundle_event_t *event) OPTS_INIT;</div><div class="line"><a name="l00689"></a><span class="lineno"> 689</span>&#160;</div><div class="line"><a name="l00694"></a><span class="lineno"><a class="line" href="structcelix__bundle__tracker__options.html#a54a11feb78bd514c95f7c9aecaa7f212"> 694</a></span>&#160; <span class="keywordtype">bool</span> includeFrameworkBundle <a class="code" href="structcelix__bundle__tracker__options.html#a54a11feb78bd514c95f7c9aecaa7f212">OPTS_INIT</a>;</div><div class="line"><a name="l00695"></a><span class="lineno"> 695</span>&#160;} <a class="code" href="celix__bundle__context_8h.html#ae6fb701de56577ab43263b5619604e86">celix_bundle_tracking_options_t</a>;</div><div class="line"><a name="l00696"></a><span class="lineno"> 696</span>&#160;</div><div class="line"><a name="l00700"></a><span class="lineno"> 700</span>&#160;<span class="preprocessor">#ifndef __cplusplus</span></div><div class="line"><a name="l00701"></a><span class="lineno"><a class="line" href="celix__bundle__context_8h.html#a3c68ea824e7268d26852785ea92c777c"> 701</a></span>&#160;<span class="preprocessor">#define CELIX_EMPTY_BUNDLE_TRACKING_OPTIONS {.callbackHandle = NULL, .onStarted = NULL, .onStopped = NULL, .onBundleEvent = NULL}</span></div><div class="line"><a name="l00702"></a><span class="lineno"> 702</span>&#160;<span class="preprocessor">#endif</span></div><div class="line"><a name="l00703"></a><span class="lineno"> 703</span>&#160;</div><div class="line"><a name="l00713"></a><span class="lineno"> 713</span>&#160;<span class="keywordtype">long</span> <a class="code" href="celix__bundle__context_8h.html#aa603acb136351b4135ce6a8c0b1fda71">celix_bundleContext_trackBundlesWithOptions</a>(</div><div class="line"><a name="l00714"></a><span class="lineno"> 714</span>&#160; celix_bundle_context_t* ctx,</div><div class="line"><a name="l00715"></a><span class="lineno"> 715</span>&#160; <span class="keyword">const</span> <a class="code" href="structcelix__bundle__tracker__options.html">celix_bundle_tracking_options_t</a> *opts</div><div class="line"><a name="l00716"></a><span class="lineno"> 716</span>&#160;);</div><div class="line"><a name="l00717"></a><span class="lineno"> 717</span>&#160;</div><div class="line"><a name="l00729"></a><span class="lineno"> 729</span>&#160;<span class="keywordtype">bool</span> <a class="code" href="celix__bundle__context_8h.html#abb3cedf5ffa7a326cef2af64a1094635">celix_bundleContext_useBundle</a>(</div><div class="line"><a name="l00730"></a><span class="lineno"> 730</span>&#160; celix_bundle_context_t *ctx,</div><div class="line"><a name="l00731"></a><span class="lineno"> 731</span>&#160; <span class="keywordtype">long</span> bundleId,</div><div class="line"><a name="l00732"></a><span class="lineno"> 732</span>&#160; <span class="keywordtype">void</span> *callbackHandle,</div><div class="line"><a name="l00733"></a><span class="lineno"> 733</span>&#160; <span class="keywordtype">void</span> (*use)(<span class="keywordtype">void</span> *handle, <span class="keyword">const</span> celix_bundle_t *bundle)</div><div class="line"><a name="l00734"></a><span class="lineno"> 734</span>&#160;);</div><div class="line"><a name="l00735"></a><span class="lineno"> 735</span>&#160;</div><div class="line"><a name="l00745"></a><span class="lineno"> 745</span>&#160;<span class="keywordtype">void</span> <a class="code" href="celix__bundle__context_8h.html#a03a6d1c49c91c212ad7be115e1035840">celix_bundleContext_useBundles</a>(</div><div class="line"><a name="l00746"></a><span class="lineno"> 746</span>&#160; celix_bundle_context_t *ctx,</div><div class="line"><a name="l00747"></a><span class="lineno"> 747</span>&#160; <span class="keywordtype">void</span> *callbackHandle,</div><div class="line"><a name="l00748"></a><span class="lineno"> 748</span>&#160; <span class="keywordtype">void</span> (*use)(<span class="keywordtype">void</span> *handle, <span class="keyword">const</span> celix_bundle_t *bundle)</div><div class="line"><a name="l00749"></a><span class="lineno"> 749</span>&#160;);</div><div class="line"><a name="l00750"></a><span class="lineno"> 750</span>&#160;</div><div class="line"><a name="l00751"></a><span class="lineno"> 751</span>&#160;</div><div class="line"><a name="l00752"></a><span class="lineno"> 752</span>&#160;</div><div class="line"><a name="l00753"></a><span class="lineno"> 753</span>&#160;<span class="comment">//TODO add useBundleWithOptions (e.g. which state)</span></div><div class="line"><a name="l00754"></a><span class="lineno"> 754</span>&#160;<span class="comment">//TODO findBundles</span></div><div class="line"><a name="l00755"></a><span class="lineno"> 755</span>&#160;</div><div class="line"><a name="l00759"></a><span class="lineno"><a class="line" href="structcelix__service__tracker__info.html"> 759</a></span>&#160;<span class="keyword">typedef</span> <span class="keyword">struct </span><a class="code" href="structcelix__service__tracker__info.html">celix_service_tracker_info</a> {</div><div class="line"><a name="l00763"></a><span class="lineno"><a class="line" href="structcelix__service__tracker__info.html#a3cd52ce46875995a973fb6b65967d7e4"> 763</a></span>&#160; celix_filter_t *<a class="code" href="structcelix__service__tracker__info.html#a3cd52ce46875995a973fb6b65967d7e4">filter</a>;</div><div class="line"><a name="l00764"></a><span class="lineno"> 764</span>&#160;</div><div class="line"><a name="l00768"></a><span class="lineno"><a class="line" href="structcelix__service__tracker__info.html#a5f695cf6d8cd69e0c419298ded657546"> 768</a></span>&#160; <span class="keyword">const</span> <span class="keywordtype">char</span> *<a class="code" href="structcelix__service__tracker__info.html#a5f695cf6d8cd69e0c419298ded657546">serviceName</a>;</div><div class="line"><a name="l00769"></a><span class="lineno"> 769</span>&#160;</div><div class="line"><a name="l00773"></a><span class="lineno"><a class="line" href="structcelix__service__tracker__info.html#a5baca60295d208fe0581a564c3627f65"> 773</a></span>&#160; <span class="keyword">const</span> <span class="keywordtype">char</span> *<a class="code" href="structcelix__service__tracker__info.html#a5baca60295d208fe0581a564c3627f65">serviceLanguage</a>;</div><div class="line"><a name="l00774"></a><span class="lineno"> 774</span>&#160;</div><div class="line"><a name="l00778"></a><span class="lineno"><a class="line" href="structcelix__service__tracker__info.html#a6978e4b5f2fcc2d42a42f0e7ed3bb7c8"> 778</a></span>&#160; <span class="keywordtype">long</span> <a class="code" href="structcelix__service__tracker__info.html#a6978e4b5f2fcc2d42a42f0e7ed3bb7c8">bundleId</a>;</div><div class="line"><a name="l00779"></a><span class="lineno"> 779</span>&#160;} <a class="code" href="celix__bundle__context_8h.html#a69f5283bcb563038d1a8e35e2a2b028b">celix_service_tracker_info_t</a>;</div><div class="line"><a name="l00780"></a><span class="lineno"> 780</span>&#160;</div><div class="line"><a name="l00798"></a><span class="lineno"> 798</span>&#160;<span class="keywordtype">long</span> <a class="code" href="celix__bundle__context_8h.html#a80f61dd38b9da8447cd4f931779eaf16">celix_bundleContext_trackServiceTrackers</a>(</div><div class="line"><a name="l00799"></a><span class="lineno"> 799</span>&#160; celix_bundle_context_t *ctx,</div><div class="line"><a name="l00800"></a><span class="lineno"> 800</span>&#160; <span class="keyword">const</span> <span class="keywordtype">char</span> *serviceName,</div><div class="line"><a name="l00801"></a><span class="lineno"> 801</span>&#160; <span class="keywordtype">void</span> *callbackHandle,</div><div class="line"><a name="l00802"></a><span class="lineno"> 802</span>&#160; <span class="keywordtype">void</span> (*trackerAdd)(<span class="keywordtype">void</span> *handle, <span class="keyword">const</span> <a class="code" href="structcelix__service__tracker__info.html">celix_service_tracker_info_t</a> *info),</div><div class="line"><a name="l00803"></a><span class="lineno"> 803</span>&#160; <span class="keywordtype">void</span> (*trackerRemove)(<span class="keywordtype">void</span> *handle, <span class="keyword">const</span> <a class="code" href="structcelix__service__tracker__info.html">celix_service_tracker_info_t</a> *info));</div><div class="line"><a name="l00804"></a><span class="lineno"> 804</span>&#160;</div><div class="line"><a name="l00810"></a><span class="lineno"> 810</span>&#160;celix_dependency_manager_t* <a class="code" href="celix__bundle__context_8h.html#ac36566dcc477bb2c123e5124527090c1">celix_bundleContext_getDependencyManager</a>(celix_bundle_context_t *ctx);</div><div class="line"><a name="l00811"></a><span class="lineno"> 811</span>&#160;</div><div class="line"><a name="l00812"></a><span class="lineno"> 812</span>&#160;</div><div class="line"><a name="l00816"></a><span class="lineno"> 816</span>&#160;celix_bundle_t* <a class="code" href="celix__bundle__context_8h.html#a3f7f55d1587f421f27518574a525ff63">celix_bundleContext_getBundle</a>(celix_bundle_context_t *ctx);</div><div class="line"><a name="l00817"></a><span class="lineno"> 817</span>&#160;</div><div class="line"><a name="l00818"></a><span class="lineno"> 818</span>&#160;</div><div class="line"><a name="l00825"></a><span class="lineno"> 825</span>&#160;<span class="keyword">const</span> <span class="keywordtype">char</span>* <a class="code" href="celix__bundle__context_8h.html#aa121100c5f5d03c0ccdda9c87286f7db">celix_bundleContext_getProperty</a>(celix_bundle_context_t *ctx, <span class="keyword">const</span> <span class="keywordtype">char</span> *key, <span class="keyword">const</span> <span class="keywordtype">char</span> *defaultVal);</div><div class="line"><a name="l00826"></a><span class="lineno"> 826</span>&#160;</div><div class="line"><a name="l00835"></a><span class="lineno"> 835</span>&#160;<span class="keywordtype">long</span> <a class="code" href="celix__bundle__context_8h.html#a0ea27b2a81018583a464a10932cfae62">celix_bundleContext_getPropertyAsLong</a>(celix_bundle_context_t *ctx, <span class="keyword">const</span> <span class="keywordtype">char</span> *key, <span class="keywordtype">long</span> defaultValue);</div><div class="line"><a name="l00836"></a><span class="lineno"> 836</span>&#160;</div><div class="line"><a name="l00845"></a><span class="lineno"> 845</span>&#160;<span class="keywordtype">double</span> <a class="code" href="celix__bundle__context_8h.html#a92be7dd7985a890c4b92bcb8497e8b9f">celix_bundleContext_getPropertyAsDouble</a>(celix_bundle_context_t *ctx, <span class="keyword">const</span> <span class="keywordtype">char</span> *key, <span class="keywordtype">double</span> defaultValue);</div><div class="line"><a name="l00846"></a><span class="lineno"> 846</span>&#160;</div><div class="line"><a name="l00855"></a><span class="lineno"> 855</span>&#160;<span class="keywordtype">bool</span> <a class="code" href="celix__bundle__context_8h.html#a41e6642ba1a739b5768911fa41e5d170">celix_bundleContext_getPropertyAsBool</a>(celix_bundle_context_t *ctx, <span class="keyword">const</span> <span class="keywordtype">char</span> *key, <span class="keywordtype">bool</span> defaultValue);</div><div class="line"><a name="l00856"></a><span class="lineno"> 856</span>&#160;</div><div class="line"><a name="l00857"></a><span class="lineno"> 857</span>&#160;<span class="comment">//TODO getPropertyAs for int, uint, ulong, bool, etc</span></div><div class="line"><a name="l00858"></a><span class="lineno"> 858</span>&#160;</div><div class="line"><a name="l00859"></a><span class="lineno"> 859</span>&#160;<span class="preprocessor">#undef OPTS_INIT</span></div><div class="line"><a name="l00860"></a><span class="lineno"> 860</span>&#160;</div><div class="line"><a name="l00861"></a><span class="lineno"> 861</span>&#160;<span class="preprocessor">#ifdef __cplusplus</span></div><div class="line"><a name="l00862"></a><span class="lineno"> 862</span>&#160;}</div><div class="line"><a name="l00863"></a><span class="lineno"> 863</span>&#160;<span class="preprocessor">#endif</span></div><div class="line"><a name="l00864"></a><span class="lineno"> 864</span>&#160;</div><div class="line"><a name="l00865"></a><span class="lineno"> 865</span>&#160;<span class="preprocessor">#endif //CELIX_BUNDLE_CONTEXT_H_</span></div><div class="ttc" id="celix__bundle__context_8h_html_ac8322b5aa4adf9dcd8c288ce72a05414"><div class="ttname"><a href="celix__bundle__context_8h.html#ac8322b5aa4adf9dcd8c288ce72a05414">celix_bundleContext_findService</a></div><div class="ttdeci">long celix_bundleContext_findService(celix_bundle_context_t *ctx, const char *serviceName)</div></div>
<div class="ttc" id="celix__bundle__context_8h_html_a612409acf5453dbc370d93b784153d51"><div class="ttname"><a href="celix__bundle__context_8h.html#a612409acf5453dbc370d93b784153d51">celix_bundleContext_trackService</a></div><div class="ttdeci">long celix_bundleContext_trackService(celix_bundle_context_t *ctx, const char *serviceName, void *callbackHandle, void(*set)(void *handle, void *svc))</div></div>
<div class="ttc" id="structcelix__service__filter__options_html_a70cc8aee445c1a24782454393f12ff98"><div class="ttname"><a href="structcelix__service__filter__options.html#a70cc8aee445c1a24782454393f12ff98">celix_service_filter_options::OPTS_INIT</a></div><div class="ttdeci">bool ignoreServiceLanguage OPTS_INIT</div><div class="ttdef"><b>Definition:</b> celix_bundle_context.h:222</div></div>
<div class="ttc" id="celix__bundle__context_8h_html_a3daf88ae43bb01e104f506c3a2dc8351"><div class="ttname"><a href="celix__bundle__context_8h.html#a3daf88ae43bb01e104f506c3a2dc8351">celix_bundleContext_trackBundles</a></div><div class="ttdeci">long celix_bundleContext_trackBundles(celix_bundle_context_t *ctx, void *callbackHandle, void(*onStarted)(void *handle, const celix_bundle_t *bundle), void(*onStopped)(void *handle, const celix_bundle_t *bundle))</div></div>
<div class="ttc" id="celix__bundle__context_8h_html_afde9ed40231b5c3bbba19559e68e77f6"><div class="ttname"><a href="celix__bundle__context_8h.html#afde9ed40231b5c3bbba19559e68e77f6">celix_bundleContext_listBundles</a></div><div class="ttdeci">celix_array_list_t * celix_bundleContext_listBundles(celix_bundle_context_t *ctx)</div></div>
<div class="ttc" id="structcelix__service__use__options_html"><div class="ttname"><a href="structcelix__service__use__options.html">celix_service_use_options</a></div><div class="ttdef"><b>Definition:</b> celix_bundle_context.h:485</div></div>
<div class="ttc" id="celix__bundle__context_8h_html_a3f7f55d1587f421f27518574a525ff63"><div class="ttname"><a href="celix__bundle__context_8h.html#a3f7f55d1587f421f27518574a525ff63">celix_bundleContext_getBundle</a></div><div class="ttdeci">celix_bundle_t * celix_bundleContext_getBundle(celix_bundle_context_t *ctx)</div></div>
<div class="ttc" id="structcelix__service__filter__options_html"><div class="ttname"><a href="structcelix__service__filter__options.html">celix_service_filter_options</a></div><div class="ttdef"><b>Definition:</b> celix_bundle_context.h:193</div></div>
<div class="ttc" id="celix__bundle__context_8h_html_a80f61dd38b9da8447cd4f931779eaf16"><div class="ttname"><a href="celix__bundle__context_8h.html#a80f61dd38b9da8447cd4f931779eaf16">celix_bundleContext_trackServiceTrackers</a></div><div class="ttdeci">long celix_bundleContext_trackServiceTrackers(celix_bundle_context_t *ctx, const char *serviceName, void *callbackHandle, void(*trackerAdd)(void *handle, const celix_service_tracker_info_t *info), void(*trackerRemove)(void *handle, const celix_service_tracker_info_t *info))</div></div>
<div class="ttc" id="celix__bundle__context_8h_html_ad1512520baedecad54a7bc307e0a6c7b"><div class="ttname"><a href="celix__bundle__context_8h.html#ad1512520baedecad54a7bc307e0a6c7b">celix_bundleContext_useServicesWithOptions</a></div><div class="ttdeci">void celix_bundleContext_useServicesWithOptions(celix_bundle_context_t *ctx, const celix_service_use_options_t *opts)</div></div>
<div class="ttc" id="structcelix__service__registration__options_html_ae44ee7cc15427e406a67b0396201700c"><div class="ttname"><a href="structcelix__service__registration__options.html#ae44ee7cc15427e406a67b0396201700c">celix_service_registration_options::OPTS_INIT</a></div><div class="ttdeci">const char *serviceLanguage OPTS_INIT</div><div class="ttdef"><b>Definition:</b> celix_bundle_context.h:119</div></div>
<div class="ttc" id="structcelix__service__filter__options_html_a65bea04c378ef46d841046ffbb2f805c"><div class="ttname"><a href="structcelix__service__filter__options.html#a65bea04c378ef46d841046ffbb2f805c">celix_service_filter_options::OPTS_INIT</a></div><div class="ttdeci">const char *versionRange OPTS_INIT</div><div class="ttdef"><b>Definition:</b> celix_bundle_context.h:204</div></div>
<div class="ttc" id="celix__bundle__context_8h_html_a8df4bfbc27c99736c0209ef130cff98f"><div class="ttname"><a href="celix__bundle__context_8h.html#a8df4bfbc27c99736c0209ef130cff98f">celix_bundleContext_startBundle</a></div><div class="ttdeci">bool celix_bundleContext_startBundle(celix_bundle_context_t *ctx, long bundleId)</div></div>
<div class="ttc" id="celix__bundle__context_8h_html_ac36cdb8a06bb34f9371d7bb32953c69e"><div class="ttname"><a href="celix__bundle__context_8h.html#ac36cdb8a06bb34f9371d7bb32953c69e">celix_bundleContext_useService</a></div><div class="ttdeci">bool celix_bundleContext_useService(celix_bundle_context_t *ctx, const char *serviceName, void *callbackHandle, void(*use)(void *handle, void *svc))</div></div>
<div class="ttc" id="celix__bundle__context_8h_html_aa121100c5f5d03c0ccdda9c87286f7db"><div class="ttname"><a href="celix__bundle__context_8h.html#aa121100c5f5d03c0ccdda9c87286f7db">celix_bundleContext_getProperty</a></div><div class="ttdeci">const char * celix_bundleContext_getProperty(celix_bundle_context_t *ctx, const char *key, const char *defaultVal)</div></div>
<div class="ttc" id="structcelix__service__registration__options_html_a94eb8e6e1af0cca435d99aa5d2457fca"><div class="ttname"><a href="structcelix__service__registration__options.html#a94eb8e6e1af0cca435d99aa5d2457fca">celix_service_registration_options::OPTS_INIT</a></div><div class="ttdeci">celix_service_factory_t *factory OPTS_INIT</div><div class="ttdef"><b>Definition:</b> celix_bundle_context.h:99</div></div>
<div class="ttc" id="structcelix__service__registration__options_html"><div class="ttname"><a href="structcelix__service__registration__options.html">celix_service_registration_options</a></div><div class="ttdef"><b>Definition:</b> celix_bundle_context.h:75</div></div>
<div class="ttc" id="structcelix__service__registration__options_html_a86179f0c7a032f3309440a2cd8d91a61"><div class="ttname"><a href="structcelix__service__registration__options.html#a86179f0c7a032f3309440a2cd8d91a61">celix_service_registration_options::OPTS_INIT</a></div><div class="ttdeci">const char *serviceName OPTS_INIT</div><div class="ttdef"><b>Definition:</b> celix_bundle_context.h:105</div></div>
<div class="ttc" id="celix__bundle__context_8h_html_a41c34f8165addcbd0d65b4a0c23345d0"><div class="ttname"><a href="celix__bundle__context_8h.html#a41c34f8165addcbd0d65b4a0c23345d0">celix_bundleContext_findServicesWithOptions</a></div><div class="ttdeci">celix_array_list_t * celix_bundleContext_findServicesWithOptions(celix_bundle_context_t *ctx, const celix_service_filter_options_t *opts)</div></div>
<div class="ttc" id="celix__bundle__context_8h_html_a8cfbbb7e17cb4a825a525c547f72b4b0"><div class="ttname"><a href="celix__bundle__context_8h.html#a8cfbbb7e17cb4a825a525c547f72b4b0">celix_bundleContext_findServiceWithOptions</a></div><div class="ttdeci">long celix_bundleContext_findServiceWithOptions(celix_bundle_context_t *ctx, const celix_service_filter_options_t *opts)</div></div>
<div class="ttc" id="celix__bundle__context_8h_html_abcde0edf5b4969bdd67831cff3db0a43"><div class="ttname"><a href="celix__bundle__context_8h.html#abcde0edf5b4969bdd67831cff3db0a43">celix_bundleContext_registerServiceWithOptions</a></div><div class="ttdeci">long celix_bundleContext_registerServiceWithOptions(celix_bundle_context_t *ctx, const celix_service_registration_options_t *opts)</div></div>
<div class="ttc" id="celix__bundle__context_8h_html_a098adf1e9f65deb166110008bd4314dd"><div class="ttname"><a href="celix__bundle__context_8h.html#a098adf1e9f65deb166110008bd4314dd">celix_bundleContext_uninstallBundle</a></div><div class="ttdeci">bool celix_bundleContext_uninstallBundle(celix_bundle_context_t *ctx, long bundleId)</div></div>
<div class="ttc" id="celix__bundle__context_8h_html_a43e3bfd38ef956ffe861065e698a72e4"><div class="ttname"><a href="celix__bundle__context_8h.html#a43e3bfd38ef956ffe861065e698a72e4">celix_bundleContext_trackServices</a></div><div class="ttdeci">long celix_bundleContext_trackServices(celix_bundle_context_t *ctx, const char *serviceName, void *callbackHandle, void(*add)(void *handle, void *svc), void(*remove)(void *handle, void *svc))</div></div>
<div class="ttc" id="celix__bundle__context_8h_html_a27980e1631d4575cc45c6c6ba38c6f71"><div class="ttname"><a href="celix__bundle__context_8h.html#a27980e1631d4575cc45c6c6ba38c6f71">celix_bundleContext_trackServicesWithOptions</a></div><div class="ttdeci">long celix_bundleContext_trackServicesWithOptions(celix_bundle_context_t *ctx, const celix_service_tracking_options_t *opts)</div></div>
<div class="ttc" id="celix__bundle__context_8h_html_a41e6642ba1a739b5768911fa41e5d170"><div class="ttname"><a href="celix__bundle__context_8h.html#a41e6642ba1a739b5768911fa41e5d170">celix_bundleContext_getPropertyAsBool</a></div><div class="ttdeci">bool celix_bundleContext_getPropertyAsBool(celix_bundle_context_t *ctx, const char *key, bool defaultValue)</div></div>
<div class="ttc" id="celix__bundle__context_8h_html_a6bcc1ddc92a68053a0300553baa2e35a"><div class="ttname"><a href="celix__bundle__context_8h.html#a6bcc1ddc92a68053a0300553baa2e35a">celix_service_registration_options_t</a></div><div class="ttdeci">struct celix_service_registration_options celix_service_registration_options_t</div></div>
<div class="ttc" id="structcelix__service__registration__options_html_a6e1274cc3b190b3dc05c7c145f57d407"><div class="ttname"><a href="structcelix__service__registration__options.html#a6e1274cc3b190b3dc05c7c145f57d407">celix_service_registration_options::OPTS_INIT</a></div><div class="ttdeci">celix_properties_t *properties OPTS_INIT</div><div class="ttdef"><b>Definition:</b> celix_bundle_context.h:114</div></div>
<div class="ttc" id="structcelix__service__use__options_html_a31a9834b87a5c2c3ed6b8532cd85c653"><div class="ttname"><a href="structcelix__service__use__options.html#a31a9834b87a5c2c3ed6b8532cd85c653">celix_service_use_options::OPTS_INIT</a></div><div class="ttdeci">void *callbackHandle OPTS_INIT</div><div class="ttdef"><b>Definition:</b> celix_bundle_context.h:501</div></div>
<div class="ttc" id="celix__bundle__context_8h_html_aec6e03faece0f8247de19d8c1527406d"><div class="ttname"><a href="celix__bundle__context_8h.html#aec6e03faece0f8247de19d8c1527406d">celix_bundleContext_useServiceWithId</a></div><div class="ttdeci">bool celix_bundleContext_useServiceWithId(celix_bundle_context_t *ctx, long serviceId, const char *serviceName, void *callbackHandle, void(*use)(void *handle, void *svc))</div></div>
<div class="ttc" id="structcelix__service__filter__options_html_a9286701a4c946d1ed28afde05cd34d51"><div class="ttname"><a href="structcelix__service__filter__options.html#a9286701a4c946d1ed28afde05cd34d51">celix_service_filter_options::OPTS_INIT</a></div><div class="ttdeci">const char *serviceLanguage OPTS_INIT</div><div class="ttdef"><b>Definition:</b> celix_bundle_context.h:215</div></div>
<div class="ttc" id="celix__bundle__context_8h_html_a39270507a3766afbfcc9420c7270d262"><div class="ttname"><a href="celix__bundle__context_8h.html#a39270507a3766afbfcc9420c7270d262">celix_bundleContext_useServices</a></div><div class="ttdeci">void celix_bundleContext_useServices(celix_bundle_context_t *ctx, const char *serviceName, void *callbackHandle, void(*use)(void *handle, void *svc))</div></div>
<div class="ttc" id="celix__bundle__context_8h_html_a92be7dd7985a890c4b92bcb8497e8b9f"><div class="ttname"><a href="celix__bundle__context_8h.html#a92be7dd7985a890c4b92bcb8497e8b9f">celix_bundleContext_getPropertyAsDouble</a></div><div class="ttdeci">double celix_bundleContext_getPropertyAsDouble(celix_bundle_context_t *ctx, const char *key, double defaultValue)</div></div>
<div class="ttc" id="celix__bundle__context_8h_html_a4e53ca7fd5a9c2b792ff0a8e048236d2"><div class="ttname"><a href="celix__bundle__context_8h.html#a4e53ca7fd5a9c2b792ff0a8e048236d2">celix_service_tracking_options_t</a></div><div class="ttdeci">struct celix_service_tracking_options celix_service_tracking_options_t</div></div>
<div class="ttc" id="celix__bundle__context_8h_html_a5bc54fd14871cc88ed887c8cea8f7b78"><div class="ttname"><a href="celix__bundle__context_8h.html#a5bc54fd14871cc88ed887c8cea8f7b78">celix_bundleContext_registerService</a></div><div class="ttdeci">long celix_bundleContext_registerService(celix_bundle_context_t *ctx, void *svc, const char *serviceName, celix_properties_t *properties)</div></div>
<div class="ttc" id="celix__bundle__context_8h_html_aa603acb136351b4135ce6a8c0b1fda71"><div class="ttname"><a href="celix__bundle__context_8h.html#aa603acb136351b4135ce6a8c0b1fda71">celix_bundleContext_trackBundlesWithOptions</a></div><div class="ttdeci">long celix_bundleContext_trackBundlesWithOptions(celix_bundle_context_t *ctx, const celix_bundle_tracking_options_t *opts)</div></div>
<div class="ttc" id="celix__bundle__context_8h_html_a1e8a78de5f799d303231385b51085055"><div class="ttname"><a href="celix__bundle__context_8h.html#a1e8a78de5f799d303231385b51085055">celix_bundleContext_useServiceWithOptions</a></div><div class="ttdeci">bool celix_bundleContext_useServiceWithOptions(celix_bundle_context_t *ctx, const celix_service_use_options_t *opts)</div></div>
<div class="ttc" id="celix__bundle__context_8h_html_a03a6d1c49c91c212ad7be115e1035840"><div class="ttname"><a href="celix__bundle__context_8h.html#a03a6d1c49c91c212ad7be115e1035840">celix_bundleContext_useBundles</a></div><div class="ttdeci">void celix_bundleContext_useBundles(celix_bundle_context_t *ctx, void *callbackHandle, void(*use)(void *handle, const celix_bundle_t *bundle))</div></div>
<div class="ttc" id="celix__bundle__context_8h_html_a0ea27b2a81018583a464a10932cfae62"><div class="ttname"><a href="celix__bundle__context_8h.html#a0ea27b2a81018583a464a10932cfae62">celix_bundleContext_getPropertyAsLong</a></div><div class="ttdeci">long celix_bundleContext_getPropertyAsLong(celix_bundle_context_t *ctx, const char *key, long defaultValue)</div></div>
<div class="ttc" id="celix__bundle__context_8h_html_ae6fb701de56577ab43263b5619604e86"><div class="ttname"><a href="celix__bundle__context_8h.html#ae6fb701de56577ab43263b5619604e86">celix_bundle_tracking_options_t</a></div><div class="ttdeci">struct celix_bundle_tracker_options celix_bundle_tracking_options_t</div></div>
<div class="ttc" id="celix__bundle__context_8h_html_abc6f11edf20a71cbade3668e4bc66ed6"><div class="ttname"><a href="celix__bundle__context_8h.html#abc6f11edf20a71cbade3668e4bc66ed6">celix_service_use_options_t</a></div><div class="ttdeci">struct celix_service_use_options celix_service_use_options_t</div></div>
<div class="ttc" id="structcelix__service__tracker__info_html_a5baca60295d208fe0581a564c3627f65"><div class="ttname"><a href="structcelix__service__tracker__info.html#a5baca60295d208fe0581a564c3627f65">celix_service_tracker_info::serviceLanguage</a></div><div class="ttdeci">const char * serviceLanguage</div><div class="ttdef"><b>Definition:</b> celix_bundle_context.h:773</div></div>
<div class="ttc" id="structcelix__service__use__options_html_ae24e3e35d7d92d5b41d58b53506bcca0"><div class="ttname"><a href="structcelix__service__use__options.html#ae24e3e35d7d92d5b41d58b53506bcca0">celix_service_use_options::OPTS_INIT</a></div><div class="ttdeci">double waitTimeoutInSeconds OPTS_INIT</div><div class="ttdef"><b>Definition:</b> celix_bundle_context.h:496</div></div>
<div class="ttc" id="structcelix__bundle__tracker__options_html"><div class="ttname"><a href="structcelix__bundle__tracker__options.html">celix_bundle_tracker_options</a></div><div class="ttdef"><b>Definition:</b> celix_bundle_context.h:659</div></div>
<div class="ttc" id="structcelix__service__tracking__options_html"><div class="ttname"><a href="structcelix__service__tracking__options.html">celix_service_tracking_options</a></div><div class="ttdef"><b>Definition:</b> celix_bundle_context.h:292</div></div>
<div class="ttc" id="celix__bundle__context_8h_html_a727ee2600c19ce2fd42b3b80b695c7f6"><div class="ttname"><a href="celix__bundle__context_8h.html#a727ee2600c19ce2fd42b3b80b695c7f6">celix_bundleContext_installBundle</a></div><div class="ttdeci">long celix_bundleContext_installBundle(celix_bundle_context_t *ctx, const char *bundleLoc, bool autoStart)</div></div>
<div class="ttc" id="celix__bundle__context_8h_html_abb3cedf5ffa7a326cef2af64a1094635"><div class="ttname"><a href="celix__bundle__context_8h.html#abb3cedf5ffa7a326cef2af64a1094635">celix_bundleContext_useBundle</a></div><div class="ttdeci">bool celix_bundleContext_useBundle(celix_bundle_context_t *ctx, long bundleId, void *callbackHandle, void(*use)(void *handle, const celix_bundle_t *bundle))</div></div>
<div class="ttc" id="celix__bundle__context_8h_html_ac36566dcc477bb2c123e5124527090c1"><div class="ttname"><a href="celix__bundle__context_8h.html#ac36566dcc477bb2c123e5124527090c1">celix_bundleContext_getDependencyManager</a></div><div class="ttdeci">celix_dependency_manager_t * celix_bundleContext_getDependencyManager(celix_bundle_context_t *ctx)</div></div>
<div class="ttc" id="structcelix__service__tracker__info_html_a5f695cf6d8cd69e0c419298ded657546"><div class="ttname"><a href="structcelix__service__tracker__info.html#a5f695cf6d8cd69e0c419298ded657546">celix_service_tracker_info::serviceName</a></div><div class="ttdeci">const char * serviceName</div><div class="ttdef"><b>Definition:</b> celix_bundle_context.h:768</div></div>
<div class="ttc" id="structcelix__service__tracker__info_html"><div class="ttname"><a href="structcelix__service__tracker__info.html">celix_service_tracker_info</a></div><div class="ttdef"><b>Definition:</b> celix_bundle_context.h:759</div></div>
<div class="ttc" id="structcelix__service__use__options_html_addad49a12179fff8b2dbf5313d70952f"><div class="ttname"><a href="structcelix__service__use__options.html#addad49a12179fff8b2dbf5313d70952f">celix_service_use_options::OPTS_INIT</a></div><div class="ttdeci">celix_service_filter_options_t filter OPTS_INIT</div><div class="ttdef"><b>Definition:</b> celix_bundle_context.h:489</div></div>
<div class="ttc" id="structcelix__service__tracking__options_html_a2fcaf1b7274379695cc9a4bb1c719d86"><div class="ttname"><a href="structcelix__service__tracking__options.html#a2fcaf1b7274379695cc9a4bb1c719d86">celix_service_tracking_options::OPTS_INIT</a></div><div class="ttdeci">void *callbackHandle OPTS_INIT</div><div class="ttdef"><b>Definition:</b> celix_bundle_context.h:301</div></div>
<div class="ttc" id="structcelix__service__registration__options_html_a9c24c1179305b68840149449b1fa6d87"><div class="ttname"><a href="structcelix__service__registration__options.html#a9c24c1179305b68840149449b1fa6d87">celix_service_registration_options::OPTS_INIT</a></div><div class="ttdeci">void *svc OPTS_INIT</div><div class="ttdef"><b>Definition:</b> celix_bundle_context.h:83</div></div>
<div class="ttc" id="celix__bundle__context_8h_html_a3b4906a9e6fb34fe3ca5118539a81fc7"><div class="ttname"><a href="celix__bundle__context_8h.html#a3b4906a9e6fb34fe3ca5118539a81fc7">celix_bundleContext_stopTracker</a></div><div class="ttdeci">void celix_bundleContext_stopTracker(celix_bundle_context_t *ctx, long trackerId)</div></div>
<div class="ttc" id="celix__bundle__context_8h_html_a54e95a32f444f0124896a4d193e3be22"><div class="ttname"><a href="celix__bundle__context_8h.html#a54e95a32f444f0124896a4d193e3be22">celix_service_filter_options_t</a></div><div class="ttdeci">struct celix_service_filter_options celix_service_filter_options_t</div></div>
<div class="ttc" id="structcelix__bundle__tracker__options_html_a80ebdcbb840fa97d81e1250fba2d20af"><div class="ttname"><a href="structcelix__bundle__tracker__options.html#a80ebdcbb840fa97d81e1250fba2d20af">celix_bundle_tracker_options::OPTS_INIT</a></div><div class="ttdeci">void *callbackHandle OPTS_INIT</div><div class="ttdef"><b>Definition:</b> celix_bundle_context.h:663</div></div>
<div class="ttc" id="celix__bundle__context_8h_html_a1ebd82cb3d61aab769956d856293b9b9"><div class="ttname"><a href="celix__bundle__context_8h.html#a1ebd82cb3d61aab769956d856293b9b9">celix_bundleContext_unregisterService</a></div><div class="ttdeci">void celix_bundleContext_unregisterService(celix_bundle_context_t *ctx, long serviceId)</div></div>
<div class="ttc" id="celix__bundle__context_8h_html_a69f5283bcb563038d1a8e35e2a2b028b"><div class="ttname"><a href="celix__bundle__context_8h.html#a69f5283bcb563038d1a8e35e2a2b028b">celix_service_tracker_info_t</a></div><div class="ttdeci">struct celix_service_tracker_info celix_service_tracker_info_t</div></div>
<div class="ttc" id="structcelix__bundle__tracker__options_html_a54a11feb78bd514c95f7c9aecaa7f212"><div class="ttname"><a href="structcelix__bundle__tracker__options.html#a54a11feb78bd514c95f7c9aecaa7f212">celix_bundle_tracker_options::OPTS_INIT</a></div><div class="ttdeci">bool includeFrameworkBundle OPTS_INIT</div><div class="ttdef"><b>Definition:</b> celix_bundle_context.h:694</div></div>
<div class="ttc" id="celix__bundle__context_8h_html_a96a901f0597f9d2accf073153d90344c"><div class="ttname"><a href="celix__bundle__context_8h.html#a96a901f0597f9d2accf073153d90344c">celix_bundleContext_findServices</a></div><div class="ttdeci">celix_array_list_t * celix_bundleContext_findServices(celix_bundle_context_t *ctx, const char *serviceName)</div></div>
<div class="ttc" id="structcelix__service__registration__options_html_af9b1a622c06a3053ed3917649241fc23"><div class="ttname"><a href="structcelix__service__registration__options.html#af9b1a622c06a3053ed3917649241fc23">celix_service_registration_options::OPTS_INIT</a></div><div class="ttdeci">const char *serviceVersion OPTS_INIT</div><div class="ttdef"><b>Definition:</b> celix_bundle_context.h:128</div></div>
<div class="ttc" id="structcelix__service__tracker__info_html_a6978e4b5f2fcc2d42a42f0e7ed3bb7c8"><div class="ttname"><a href="structcelix__service__tracker__info.html#a6978e4b5f2fcc2d42a42f0e7ed3bb7c8">celix_service_tracker_info::bundleId</a></div><div class="ttdeci">long bundleId</div><div class="ttdef"><b>Definition:</b> celix_bundle_context.h:778</div></div>
<div class="ttc" id="structcelix__service__tracking__options_html_a9272f1870b544b28329545b84f3425c2"><div class="ttname"><a href="structcelix__service__tracking__options.html#a9272f1870b544b28329545b84f3425c2">celix_service_tracking_options::OPTS_INIT</a></div><div class="ttdeci">celix_service_filter_options_t filter OPTS_INIT</div><div class="ttdef"><b>Definition:</b> celix_bundle_context.h:296</div></div>
<div class="ttc" id="celix__bundle__context_8h_html_ac7151f08ded1d7571867a44abe9f3531"><div class="ttname"><a href="celix__bundle__context_8h.html#ac7151f08ded1d7571867a44abe9f3531">celix_bundleContext_isBundleInstalled</a></div><div class="ttdeci">bool celix_bundleContext_isBundleInstalled(celix_bundle_context_t *ctx, long bndId)</div></div>
<div class="ttc" id="structcelix__service__tracker__info_html_a3cd52ce46875995a973fb6b65967d7e4"><div class="ttname"><a href="structcelix__service__tracker__info.html#a3cd52ce46875995a973fb6b65967d7e4">celix_service_tracker_info::filter</a></div><div class="ttdeci">celix_filter_t * filter</div><div class="ttdef"><b>Definition:</b> celix_bundle_context.h:763</div></div>
<div class="ttc" id="celix__bundle__context_8h_html_ad6e1553f9507d04c7a0ad91d067d479b"><div class="ttname"><a href="celix__bundle__context_8h.html#ad6e1553f9507d04c7a0ad91d067d479b">celix_bundleContext_stopBundle</a></div><div class="ttdeci">bool celix_bundleContext_stopBundle(celix_bundle_context_t *ctx, long bundleId)</div></div>
<div class="ttc" id="structcelix__service__filter__options_html_addb2e1e8fcce127512d272383e78cbd1"><div class="ttname"><a href="structcelix__service__filter__options.html#addb2e1e8fcce127512d272383e78cbd1">celix_service_filter_options::OPTS_INIT</a></div><div class="ttdeci">const char *serviceName OPTS_INIT</div><div class="ttdef"><b>Definition:</b> celix_bundle_context.h:197</div></div>
<div class="ttc" id="structcelix__service__filter__options_html_ac15f30b81e60826290a29fb12da6684a"><div class="ttname"><a href="structcelix__service__filter__options.html#ac15f30b81e60826290a29fb12da6684a">celix_service_filter_options::OPTS_INIT</a></div><div class="ttdeci">const char *filter OPTS_INIT</div><div class="ttdef"><b>Definition:</b> celix_bundle_context.h:210</div></div>
<div class="ttc" id="celix__bundle__context_8h_html_a3caa917285feaad580b61d4c0c8430a9"><div class="ttname"><a href="celix__bundle__context_8h.html#a3caa917285feaad580b61d4c0c8430a9">celix_bundleContext_registerServiceFactory</a></div><div class="ttdeci">long celix_bundleContext_registerServiceFactory(celix_bundle_context_t *ctx, celix_service_factory_t *factory, const char *serviceName, celix_properties_t *props)</div></div>
</div><!-- fragment --></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.11
</small></address>
</body>
</html>