Sophie

Sophie

distrib > Mageia > 7 > armv7hl > media > core-updates > by-pkgid > 68c0c2ff89d8bf9051ff1b9773ed48e4 > files > 2865

libzypp-doc-17.9.0-1.1.mga7.noarch.rpm

<!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.15"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>libzypp: zypp/repo/ServiceRepos.cc 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="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
  $(document).ready(initResizable);
/* @license-end */</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">libzypp
   &#160;<span id="projectnumber">17.9.0</span>
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.15 -->
<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('',false,false,'search.php','Search');
});
/* @license-end */</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(document).ready(function(){initNavTree('ServiceRepos_8cc_source.html','');});
/* @license-end */
</script>
<div id="doc-content">
<div class="header">
  <div class="headertitle">
<div class="title">ServiceRepos.cc</div>  </div>
</div><!--header-->
<div class="contents">
<a href="ServiceRepos_8cc.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="preprocessor">#include &lt;iostream&gt;</span></div><div class="line"><a name="l00002"></a><span class="lineno">    2</span>&#160;<span class="preprocessor">#include &lt;sstream&gt;</span></div><div class="line"><a name="l00003"></a><span class="lineno">    3</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="Logger_8h.html">zypp/base/Logger.h</a>&quot;</span></div><div class="line"><a name="l00004"></a><span class="lineno">    4</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="ServiceRepos_8h.html">zypp/repo/ServiceRepos.h</a>&quot;</span></div><div class="line"><a name="l00005"></a><span class="lineno">    5</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="RepoException_8h.html">zypp/repo/RepoException.h</a>&quot;</span></div><div class="line"><a name="l00006"></a><span class="lineno">    6</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="MediaException_8h.html">zypp/media/MediaException.h</a>&quot;</span></div><div class="line"><a name="l00007"></a><span class="lineno">    7</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="RepoFileReader_8h.html">zypp/parser/RepoFileReader.h</a>&quot;</span></div><div class="line"><a name="l00008"></a><span class="lineno">    8</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="MediaManager_8h.html">zypp/media/MediaManager.h</a>&quot;</span></div><div class="line"><a name="l00009"></a><span class="lineno">    9</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="RepoindexFileReader_8h.html">zypp/parser/RepoindexFileReader.h</a>&quot;</span></div><div class="line"><a name="l00010"></a><span class="lineno">   10</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="ExternalProgram_8h.html">zypp/ExternalProgram.h</a>&quot;</span></div><div class="line"><a name="l00011"></a><span class="lineno">   11</span>&#160;</div><div class="line"><a name="l00012"></a><span class="lineno">   12</span>&#160;<span class="keyword">using</span> std::stringstream;</div><div class="line"><a name="l00013"></a><span class="lineno">   13</span>&#160;<span class="keyword">using</span> std::endl;</div><div class="line"><a name="l00014"></a><span class="lineno">   14</span>&#160;</div><div class="line"><a name="l00016"></a><span class="lineno">   16</span>&#160;<span class="keyword">namespace </span><a class="code" href="namespacezypp.html">zypp</a></div><div class="line"><a name="l00017"></a><span class="lineno">   17</span>&#160;{</div><div class="line"><a name="l00019"></a><span class="lineno">   19</span>&#160;  <span class="keyword">namespace </span>repo</div><div class="line"><a name="l00020"></a><span class="lineno">   20</span>&#160;  {</div><div class="line"><a name="l00021"></a><span class="lineno"><a class="line" href="structzypp_1_1repo_1_1ServiceRepos_1_1Impl.html">   21</a></span>&#160;    <span class="keyword">struct </span><a class="code" href="structzypp_1_1repo_1_1ServiceRepos_1_1Impl.html">ServiceRepos::Impl</a></div><div class="line"><a name="l00022"></a><span class="lineno"><a class="line" href="structzypp_1_1repo_1_1ServiceRepos_1_1Impl.html#a4ce130e3e3b6667b172a557454cc5ea6">   22</a></span>&#160;    { <span class="keyword">virtual</span> <a class="code" href="structzypp_1_1repo_1_1ServiceRepos_1_1Impl.html#a4ce130e3e3b6667b172a557454cc5ea6">~Impl</a>() {} };</div><div class="line"><a name="l00023"></a><span class="lineno">   23</span>&#160;</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"><a class="line" href="structzypp_1_1repo_1_1RIMServiceRepos.html">   26</a></span>&#160;    <span class="keyword">struct </span><a class="code" href="structzypp_1_1repo_1_1RIMServiceRepos.html">RIMServiceRepos</a> : <span class="keyword">public</span> <a class="code" href="structzypp_1_1repo_1_1ServiceRepos_1_1Impl.html">ServiceRepos::Impl</a></div><div class="line"><a name="l00027"></a><span class="lineno">   27</span>&#160;    {</div><div class="line"><a name="l00028"></a><span class="lineno"><a class="line" href="structzypp_1_1repo_1_1RIMServiceRepos.html#a85bfe0bba55d0f40ef15b565f377e7d2">   28</a></span>&#160;      <a class="code" href="structzypp_1_1repo_1_1RIMServiceRepos.html#a85bfe0bba55d0f40ef15b565f377e7d2">RIMServiceRepos</a>( <span class="keyword">const</span> <a class="code" href="classzypp_1_1filesystem_1_1Pathname.html">Pathname</a> &amp; <span class="comment">/*root_r*/</span>,</div><div class="line"><a name="l00029"></a><span class="lineno">   29</span>&#160;                       <span class="keyword">const</span> <a class="code" href="classzypp_1_1ServiceInfo.html">ServiceInfo</a> &amp; service,</div><div class="line"><a name="l00030"></a><span class="lineno">   30</span>&#160;                       <span class="keyword">const</span> <a class="code" href="classzypp_1_1repo_1_1ServiceRepos.html#a325c1d4cd9f405d41f33191305f39e68">ServiceRepos::ProcessRepo</a> &amp; callback,</div><div class="line"><a name="l00031"></a><span class="lineno">   31</span>&#160;                       <span class="keyword">const</span> <a class="code" href="classzypp_1_1ProgressData.html#a89143a717926c1fa891ba91f07ad7aa8">ProgressData::ReceiverFnc</a> &amp; progress = <a class="code" href="classzypp_1_1ProgressData.html#a89143a717926c1fa891ba91f07ad7aa8">ProgressData::ReceiverFnc</a>() )</div><div class="line"><a name="l00032"></a><span class="lineno">   32</span>&#160;      {</div><div class="line"><a name="l00033"></a><span class="lineno">   33</span>&#160;        <span class="comment">// repoindex.xml must be fetched always without using cookies (bnc #573897)</span></div><div class="line"><a name="l00034"></a><span class="lineno">   34</span>&#160;        <a class="code" href="classzypp_1_1Url.html">Url</a> serviceUrl( service.<a class="code" href="classzypp_1_1ServiceInfo.html#a82278688431ad6fae86d60e600bb4133">url</a>() );</div><div class="line"><a name="l00035"></a><span class="lineno">   35</span>&#160;        serviceUrl.<a class="code" href="classzypp_1_1Url.html#aa850de2a6172778038ba788b572dd306">setQueryParam</a>( <span class="stringliteral">&quot;cookies&quot;</span>, <span class="stringliteral">&quot;0&quot;</span> );</div><div class="line"><a name="l00036"></a><span class="lineno">   36</span>&#160;</div><div class="line"><a name="l00037"></a><span class="lineno">   37</span>&#160;        <span class="comment">// download the repo index file</span></div><div class="line"><a name="l00038"></a><span class="lineno">   38</span>&#160;        <a class="code" href="classzypp_1_1media_1_1MediaManager.html">media::MediaManager</a> mediamanager;</div><div class="line"><a name="l00039"></a><span class="lineno">   39</span>&#160;        <a class="code" href="namespacezypp_1_1media.html#a4ea0dee09696f60f0a852362efe41b69">media::MediaAccessId</a> mid = mediamanager.<a class="code" href="classzypp_1_1media_1_1MediaManager.html#a060e17aa114b31357743da2f3a2e302f">open</a>( serviceUrl );</div><div class="line"><a name="l00040"></a><span class="lineno">   40</span>&#160;        mediamanager.<a class="code" href="classzypp_1_1media_1_1MediaManager.html#a36e0b34ad20742921bc1ad9c2a2fade8">attach</a>( mid );</div><div class="line"><a name="l00041"></a><span class="lineno">   41</span>&#160;        mediamanager.<a class="code" href="classzypp_1_1media_1_1MediaManager.html#a606b062a03aa7e621d19f03d4712c157">provideFile</a>( mid, <span class="stringliteral">&quot;repo/repoindex.xml&quot;</span> );</div><div class="line"><a name="l00042"></a><span class="lineno">   42</span>&#160;        <a class="code" href="classzypp_1_1filesystem_1_1Pathname.html">Pathname</a> path = mediamanager.<a class="code" href="classzypp_1_1media_1_1MediaManager.html#ac44d24dc20f9b89930f065750705efe3">localPath</a>(mid, <span class="stringliteral">&quot;repo/repoindex.xml&quot;</span> );</div><div class="line"><a name="l00043"></a><span class="lineno">   43</span>&#160;        <a class="code" href="classzypp_1_1parser_1_1RepoindexFileReader.html">parser::RepoindexFileReader</a> reader(path, callback);</div><div class="line"><a name="l00044"></a><span class="lineno">   44</span>&#160;        service.<a class="code" href="classzypp_1_1ServiceInfo.html#a0c033dfae2f03dae22f5acbc24d8d259">setProbedTtl</a>( reader.<a class="code" href="classzypp_1_1parser_1_1RepoindexFileReader.html#acc350e17a5b44924343731d9ab6ad9c2">ttl</a>() );   <span class="comment">// hack! Modifying the const Service to set parsed TTL</span></div><div class="line"><a name="l00045"></a><span class="lineno">   45</span>&#160;        mediamanager.<a class="code" href="classzypp_1_1media_1_1MediaManager.html#a6a2c0fede9e2cec6a52b26d615c83099">release</a>( mid );</div><div class="line"><a name="l00046"></a><span class="lineno">   46</span>&#160;        mediamanager.<a class="code" href="classzypp_1_1media_1_1MediaManager.html#a569396e2c9b71a9ee850ccd4e435890d">close</a>( mid );</div><div class="line"><a name="l00047"></a><span class="lineno">   47</span>&#160;      }</div><div class="line"><a name="l00048"></a><span class="lineno">   48</span>&#160;    };</div><div class="line"><a name="l00049"></a><span class="lineno">   49</span>&#160;</div><div class="line"><a name="l00051"></a><span class="lineno">   51</span>&#160;</div><div class="line"><a name="l00052"></a><span class="lineno"><a class="line" href="structzypp_1_1repo_1_1PluginServiceRepos.html">   52</a></span>&#160;    <span class="keyword">struct </span><a class="code" href="structzypp_1_1repo_1_1PluginServiceRepos.html">PluginServiceRepos</a> : <span class="keyword">public</span> <a class="code" href="structzypp_1_1repo_1_1ServiceRepos_1_1Impl.html">ServiceRepos::Impl</a></div><div class="line"><a name="l00053"></a><span class="lineno">   53</span>&#160;    {</div><div class="line"><a name="l00054"></a><span class="lineno"><a class="line" href="structzypp_1_1repo_1_1PluginServiceRepos.html#ae5345a41f06a1d88cf8fc2ca0ec712c7">   54</a></span>&#160;      <a class="code" href="structzypp_1_1repo_1_1PluginServiceRepos.html#ae5345a41f06a1d88cf8fc2ca0ec712c7">PluginServiceRepos</a>( <span class="keyword">const</span> <a class="code" href="classzypp_1_1filesystem_1_1Pathname.html">Pathname</a> &amp; root_r,</div><div class="line"><a name="l00055"></a><span class="lineno">   55</span>&#160;                          <span class="keyword">const</span> <a class="code" href="classzypp_1_1ServiceInfo.html">ServiceInfo</a> &amp; service,</div><div class="line"><a name="l00056"></a><span class="lineno">   56</span>&#160;                          <span class="keyword">const</span> <a class="code" href="classzypp_1_1repo_1_1ServiceRepos.html#a325c1d4cd9f405d41f33191305f39e68">ServiceRepos::ProcessRepo</a> &amp; callback,</div><div class="line"><a name="l00057"></a><span class="lineno">   57</span>&#160;                          <span class="keyword">const</span> <a class="code" href="classzypp_1_1ProgressData.html#a89143a717926c1fa891ba91f07ad7aa8">ProgressData::ReceiverFnc</a> &amp; progress = <a class="code" href="classzypp_1_1ProgressData.html#a89143a717926c1fa891ba91f07ad7aa8">ProgressData::ReceiverFnc</a>() )</div><div class="line"><a name="l00058"></a><span class="lineno">   58</span>&#160;      {</div><div class="line"><a name="l00059"></a><span class="lineno">   59</span>&#160;        <span class="comment">// bsc#1080693: Service script needs to be executed chrooted to the RepoManagers rootDir.</span></div><div class="line"><a name="l00060"></a><span class="lineno">   60</span>&#160;        <span class="comment">// The service is not aware of the rootDir, so it&#39;s explicitly passed and needs to be</span></div><div class="line"><a name="l00061"></a><span class="lineno">   61</span>&#160;        <span class="comment">// stripped from the URLs path.</span></div><div class="line"><a name="l00062"></a><span class="lineno">   62</span>&#160;        stringstream buffer;</div><div class="line"><a name="l00063"></a><span class="lineno">   63</span>&#160;</div><div class="line"><a name="l00064"></a><span class="lineno">   64</span>&#160;        <a class="code" href="classzypp_1_1ExternalProgram.html#a569290605b69ca72af7d274b507394b6">ExternalProgram::Arguments</a> args;</div><div class="line"><a name="l00065"></a><span class="lineno">   65</span>&#160;        args.reserve( 3 );</div><div class="line"><a name="l00066"></a><span class="lineno">   66</span>&#160;        args.push_back( <span class="stringliteral">&quot;/bin/sh&quot;</span> );</div><div class="line"><a name="l00067"></a><span class="lineno">   67</span>&#160;        args.push_back( <span class="stringliteral">&quot;-c&quot;</span> );</div><div class="line"><a name="l00068"></a><span class="lineno">   68</span>&#160;        args.push_back( <a class="code" href="classzypp_1_1filesystem_1_1Pathname.html#a4124f90f3058950a0947d7c2482796f9">Pathname::stripprefix</a>( root_r, service.<a class="code" href="classzypp_1_1ServiceInfo.html#a82278688431ad6fae86d60e600bb4133">url</a>().<a class="code" href="classzypp_1_1Url.html#a441f130bca3c47b4be6c00433627832c">getPathName</a>() ).<a class="code" href="namespacezypp.html#a1547a676c9d1f206e0ed614d42d74c2d">asString</a>() );</div><div class="line"><a name="l00069"></a><span class="lineno">   69</span>&#160;        <a class="code" href="classzypp_1_1ExternalProgramWithStderr.html">ExternalProgramWithStderr</a> prog( args, root_r );</div><div class="line"><a name="l00070"></a><span class="lineno">   70</span>&#160;        prog &gt;&gt; buffer;</div><div class="line"><a name="l00071"></a><span class="lineno">   71</span>&#160;</div><div class="line"><a name="l00072"></a><span class="lineno">   72</span>&#160;        <span class="keywordflow">if</span> ( prog.<a class="code" href="classzypp_1_1ExternalProgram.html#ac72fa79ccdbaa0f7fc9560b291dd4216">close</a>() != 0 )</div><div class="line"><a name="l00073"></a><span class="lineno">   73</span>&#160;        {</div><div class="line"><a name="l00074"></a><span class="lineno">   74</span>&#160;          <span class="comment">// ServicePluginInformalException:</span></div><div class="line"><a name="l00075"></a><span class="lineno">   75</span>&#160;          <span class="comment">// Ignore this error but we&#39;d like to report it somehow...</span></div><div class="line"><a name="l00076"></a><span class="lineno">   76</span>&#160;          std::string errbuffer;</div><div class="line"><a name="l00077"></a><span class="lineno">   77</span>&#160;          prog.<a class="code" href="classzypp_1_1ExternalProgramWithStderr.html#a0e30ac9461834ae9dcb31a899493db8d">stderrGetUpTo</a>( errbuffer, <span class="charliteral">&#39;\0&#39;</span> );</div><div class="line"><a name="l00078"></a><span class="lineno">   78</span>&#160;          <a class="code" href="group__ZYPP__BASE__LOGGER__MACROS.html#ga735563036dced0b7d6cc98f97ea4978b">ERR</a> &lt;&lt; <span class="stringliteral">&quot;Capture plugin error:[&quot;</span> &lt;&lt; endl &lt;&lt; errbuffer &lt;&lt; endl &lt;&lt; <span class="charliteral">&#39;]&#39;</span> &lt;&lt; endl;</div><div class="line"><a name="l00079"></a><span class="lineno">   79</span>&#160;          <a class="code" href="group__ZYPP__THROW.html#gaf8c3a87d63dd4f26f059eddd62c22864">ZYPP_THROW</a>( <a class="code" href="classzypp_1_1repo_1_1ServicePluginInformalException.html">repo::ServicePluginInformalException</a>( service, errbuffer ) );</div><div class="line"><a name="l00080"></a><span class="lineno">   80</span>&#160;        }</div><div class="line"><a name="l00081"></a><span class="lineno">   81</span>&#160;        <a class="code" href="classzypp_1_1parser_1_1RepoFileReader.html">parser::RepoFileReader</a> parser( buffer, callback );</div><div class="line"><a name="l00082"></a><span class="lineno">   82</span>&#160;      }</div><div class="line"><a name="l00083"></a><span class="lineno">   83</span>&#160;    };</div><div class="line"><a name="l00084"></a><span class="lineno">   84</span>&#160;</div><div class="line"><a name="l00086"></a><span class="lineno">   86</span>&#160;</div><div class="line"><a name="l00087"></a><span class="lineno"><a class="line" href="classzypp_1_1repo_1_1ServiceRepos.html#ac3de68439a1c97fd49dfd981965b090e">   87</a></span>&#160;    <a class="code" href="classzypp_1_1repo_1_1ServiceRepos.html#ac3de68439a1c97fd49dfd981965b090e">ServiceRepos::ServiceRepos</a>( <span class="keyword">const</span> <a class="code" href="classzypp_1_1filesystem_1_1Pathname.html">Pathname</a> &amp; root_r,</div><div class="line"><a name="l00088"></a><span class="lineno">   88</span>&#160;                                <span class="keyword">const</span> <a class="code" href="classzypp_1_1ServiceInfo.html">ServiceInfo</a> &amp; service,</div><div class="line"><a name="l00089"></a><span class="lineno">   89</span>&#160;                                <span class="keyword">const</span> <a class="code" href="classzypp_1_1repo_1_1ServiceRepos.html#a325c1d4cd9f405d41f33191305f39e68">ServiceRepos::ProcessRepo</a> &amp; callback,</div><div class="line"><a name="l00090"></a><span class="lineno">   90</span>&#160;                                <span class="keyword">const</span> <a class="code" href="classzypp_1_1ProgressData.html#a89143a717926c1fa891ba91f07ad7aa8">ProgressData::ReceiverFnc</a> &amp;progress )</div><div class="line"><a name="l00091"></a><span class="lineno">   91</span>&#160;    : _impl( ( service.type() == <a class="code" href="structzypp_1_1repo_1_1ServiceType.html">ServiceType</a>::PLUGIN )</div><div class="line"><a name="l00092"></a><span class="lineno">   92</span>&#160;    ? static_cast&lt;<a class="code" href="classzypp_1_1repo_1_1ServiceRepos.html">ServiceRepos</a>::<a class="code" href="structzypp_1_1repo_1_1ServiceRepos_1_1Impl.html">Impl</a>*&gt;( new <a class="code" href="structzypp_1_1repo_1_1PluginServiceRepos.html">PluginServiceRepos</a>( root_r, service, callback, progress ) )</div><div class="line"><a name="l00093"></a><span class="lineno">   93</span>&#160;    : static_cast&lt;<a class="code" href="classzypp_1_1repo_1_1ServiceRepos.html">ServiceRepos</a>::<a class="code" href="structzypp_1_1repo_1_1ServiceRepos_1_1Impl.html">Impl</a>*&gt;( new <a class="code" href="structzypp_1_1repo_1_1RIMServiceRepos.html">RIMServiceRepos</a>( root_r, service, callback, progress ) ) )</div><div class="line"><a name="l00094"></a><span class="lineno">   94</span>&#160;    {}</div><div class="line"><a name="l00095"></a><span class="lineno">   95</span>&#160;</div><div class="line"><a name="l00096"></a><span class="lineno"><a class="line" href="classzypp_1_1repo_1_1ServiceRepos.html#a12d7f97ceb7ce7ff07b4b0ef973ac1ed">   96</a></span>&#160;    <a class="code" href="classzypp_1_1repo_1_1ServiceRepos.html#a12d7f97ceb7ce7ff07b4b0ef973ac1ed">ServiceRepos::~ServiceRepos</a>()</div><div class="line"><a name="l00097"></a><span class="lineno">   97</span>&#160;    {}</div><div class="line"><a name="l00098"></a><span class="lineno">   98</span>&#160;</div><div class="line"><a name="l00099"></a><span class="lineno">   99</span>&#160;  } <span class="comment">// namespace repo</span></div><div class="line"><a name="l00101"></a><span class="lineno">  101</span>&#160;<span class="comment"></span>} <span class="comment">//namespace zypp</span></div><div class="ttc" id="classzypp_1_1ServiceInfo_html"><div class="ttname"><a href="classzypp_1_1ServiceInfo.html">zypp::ServiceInfo</a></div><div class="ttdoc">Service data.</div><div class="ttdef"><b>Definition:</b> <a href="ServiceInfo_8h_source.html#l00036">ServiceInfo.h:36</a></div></div>
<div class="ttc" id="classzypp_1_1ServiceInfo_html_a0c033dfae2f03dae22f5acbc24d8d259"><div class="ttname"><a href="classzypp_1_1ServiceInfo.html#a0c033dfae2f03dae22f5acbc24d8d259">zypp::ServiceInfo::setProbedTtl</a></div><div class="ttdeci">void setProbedTtl(Date::Duration ttl_r) const</div><div class="ttdoc">Lazy init sugested TTL.</div><div class="ttdef"><b>Definition:</b> <a href="ServiceInfo_8cc_source.html#l00114">ServiceInfo.cc:114</a></div></div>
<div class="ttc" id="classzypp_1_1repo_1_1ServiceRepos_html_a325c1d4cd9f405d41f33191305f39e68"><div class="ttname"><a href="classzypp_1_1repo_1_1ServiceRepos.html#a325c1d4cd9f405d41f33191305f39e68">zypp::repo::ServiceRepos::ProcessRepo</a></div><div class="ttdeci">function&lt; bool(const RepoInfo &amp;)&gt; ProcessRepo</div><div class="ttdoc">Return false from the callback to get a AbortRequestException to be thrown and the processing to be c...</div><div class="ttdef"><b>Definition:</b> <a href="ServiceRepos_8h_source.html#l00032">ServiceRepos.h:32</a></div></div>
<div class="ttc" id="classzypp_1_1repo_1_1ServiceRepos_html"><div class="ttname"><a href="classzypp_1_1repo_1_1ServiceRepos.html">zypp::repo::ServiceRepos</a></div><div class="ttdoc">Retrieval of repository list for a service.</div><div class="ttdef"><b>Definition:</b> <a href="ServiceRepos_8h_source.html#l00025">ServiceRepos.h:25</a></div></div>
<div class="ttc" id="classzypp_1_1Url_html_aa850de2a6172778038ba788b572dd306"><div class="ttname"><a href="classzypp_1_1Url.html#aa850de2a6172778038ba788b572dd306">zypp::Url::setQueryParam</a></div><div class="ttdeci">void setQueryParam(const std::string &amp;param, const std::string &amp;value)</div><div class="ttdoc">Set or add value for the specified query parameter.</div><div class="ttdef"><b>Definition:</b> <a href="Url_8cc_source.html#l00832">Url.cc:832</a></div></div>
<div class="ttc" id="classzypp_1_1parser_1_1RepoindexFileReader_html"><div class="ttname"><a href="classzypp_1_1parser_1_1RepoindexFileReader.html">zypp::parser::RepoindexFileReader</a></div><div class="ttdoc">Reads through a repoindex.xml file and collects repositories.</div><div class="ttdef"><b>Definition:</b> <a href="RepoindexFileReader_8h_source.html#l00044">RepoindexFileReader.h:44</a></div></div>
<div class="ttc" id="namespacezypp_html_a1547a676c9d1f206e0ed614d42d74c2d"><div class="ttname"><a href="namespacezypp.html#a1547a676c9d1f206e0ed614d42d74c2d">zypp::asString</a></div><div class="ttdeci">std::string asString(const DefaultIntegral&lt; Tp, TInitial &gt; &amp;obj)</div><div class="ttdef"><b>Definition:</b> <a href="DefaultIntegral_8h_source.html#l00098">DefaultIntegral.h:98</a></div></div>
<div class="ttc" id="group__ZYPP__THROW_html_gaf8c3a87d63dd4f26f059eddd62c22864"><div class="ttname"><a href="group__ZYPP__THROW.html#gaf8c3a87d63dd4f26f059eddd62c22864">ZYPP_THROW</a></div><div class="ttdeci">#define ZYPP_THROW(EXCPT)</div><div class="ttdoc">Drops a logline and throws the Exception.</div><div class="ttdef"><b>Definition:</b> <a href="Exception_8h_source.html#l00392">Exception.h:392</a></div></div>
<div class="ttc" id="ServiceRepos_8h_html"><div class="ttname"><a href="ServiceRepos_8h.html">ServiceRepos.h</a></div></div>
<div class="ttc" id="classzypp_1_1ExternalProgramWithStderr_html"><div class="ttname"><a href="classzypp_1_1ExternalProgramWithStderr.html">zypp::ExternalProgramWithStderr</a></div><div class="ttdoc">ExternalProgram extended to offer reading programs stderr.</div><div class="ttdef"><b>Definition:</b> <a href="ExternalProgram_8h_source.html#l00262">ExternalProgram.h:262</a></div></div>
<div class="ttc" id="structzypp_1_1repo_1_1PluginServiceRepos_html_ae5345a41f06a1d88cf8fc2ca0ec712c7"><div class="ttname"><a href="structzypp_1_1repo_1_1PluginServiceRepos.html#ae5345a41f06a1d88cf8fc2ca0ec712c7">zypp::repo::PluginServiceRepos::PluginServiceRepos</a></div><div class="ttdeci">PluginServiceRepos(const Pathname &amp;root_r, const ServiceInfo &amp;service, const ServiceRepos::ProcessRepo &amp;callback, const ProgressData::ReceiverFnc &amp;progress=ProgressData::ReceiverFnc())</div><div class="ttdef"><b>Definition:</b> <a href="ServiceRepos_8cc_source.html#l00054">ServiceRepos.cc:54</a></div></div>
<div class="ttc" id="structzypp_1_1repo_1_1PluginServiceRepos_html"><div class="ttname"><a href="structzypp_1_1repo_1_1PluginServiceRepos.html">zypp::repo::PluginServiceRepos</a></div><div class="ttdef"><b>Definition:</b> <a href="ServiceRepos_8cc_source.html#l00052">ServiceRepos.cc:52</a></div></div>
<div class="ttc" id="classzypp_1_1repo_1_1ServicePluginInformalException_html"><div class="ttname"><a href="classzypp_1_1repo_1_1ServicePluginInformalException.html">zypp::repo::ServicePluginInformalException</a></div><div class="ttdoc">Service plugin has trouble providing the metadata but this should not be treated as error.</div><div class="ttdef"><b>Definition:</b> <a href="RepoException_8h_source.html#l00262">RepoException.h:262</a></div></div>
<div class="ttc" id="classzypp_1_1media_1_1MediaManager_html_a606b062a03aa7e621d19f03d4712c157"><div class="ttname"><a href="classzypp_1_1media_1_1MediaManager.html#a606b062a03aa7e621d19f03d4712c157">zypp::media::MediaManager::provideFile</a></div><div class="ttdeci">void provideFile(MediaAccessId accessId, const Pathname &amp;filename, const ByteCount &amp;expectedFileSize) const</div><div class="ttdoc">Provide provide file denoted by relative path below of the 'attach point' of the specified media and ...</div><div class="ttdef"><b>Definition:</b> <a href="MediaManager_8cc_source.html#l00672">MediaManager.cc:672</a></div></div>
<div class="ttc" id="classzypp_1_1ProgressData_html_a89143a717926c1fa891ba91f07ad7aa8"><div class="ttname"><a href="classzypp_1_1ProgressData.html#a89143a717926c1fa891ba91f07ad7aa8">zypp::ProgressData::ReceiverFnc</a></div><div class="ttdeci">function&lt; bool(const ProgressData &amp;)&gt; ReceiverFnc</div><div class="ttdoc">Most simple version of progress reporting The percentage in most cases.</div><div class="ttdef"><b>Definition:</b> <a href="ProgressData_8h_source.html#l00139">ProgressData.h:139</a></div></div>
<div class="ttc" id="classzypp_1_1repo_1_1ServiceRepos_html_ac3de68439a1c97fd49dfd981965b090e"><div class="ttname"><a href="classzypp_1_1repo_1_1ServiceRepos.html#ac3de68439a1c97fd49dfd981965b090e">zypp::repo::ServiceRepos::ServiceRepos</a></div><div class="ttdeci">ServiceRepos(const Pathname &amp;root_r, const ServiceInfo &amp;service, const ProcessRepo &amp;callback, const ProgressData::ReceiverFnc &amp;progress=ProgressData::ReceiverFnc())</div><div class="ttdoc">bsc#1080693: Explicitly pass the RemoManagers rootDir until it can be queried from the ServiceInfo.</div><div class="ttdef"><b>Definition:</b> <a href="ServiceRepos_8cc_source.html#l00087">ServiceRepos.cc:87</a></div></div>
<div class="ttc" id="group__ZYPP__BASE__LOGGER__MACROS_html_ga735563036dced0b7d6cc98f97ea4978b"><div class="ttname"><a href="group__ZYPP__BASE__LOGGER__MACROS.html#ga735563036dced0b7d6cc98f97ea4978b">ERR</a></div><div class="ttdeci">#define ERR</div><div class="ttdef"><b>Definition:</b> <a href="Logger_8h_source.html#l00081">Logger.h:81</a></div></div>
<div class="ttc" id="namespacezypp_1_1media_html_a4ea0dee09696f60f0a852362efe41b69"><div class="ttname"><a href="namespacezypp_1_1media.html#a4ea0dee09696f60f0a852362efe41b69">zypp::media::MediaAccessId</a></div><div class="ttdeci">unsigned int MediaAccessId</div><div class="ttdoc">Media manager access Id type.</div><div class="ttdef"><b>Definition:</b> <a href="MediaSource_8h_source.html#l00029">MediaSource.h:29</a></div></div>
<div class="ttc" id="classzypp_1_1ExternalProgram_html_a569290605b69ca72af7d274b507394b6"><div class="ttname"><a href="classzypp_1_1ExternalProgram.html#a569290605b69ca72af7d274b507394b6">zypp::ExternalProgram::Arguments</a></div><div class="ttdeci">std::vector&lt; std::string &gt; Arguments</div><div class="ttdef"><b>Definition:</b> <a href="ExternalProgram_8h_source.html#l00064">ExternalProgram.h:64</a></div></div>
<div class="ttc" id="classzypp_1_1media_1_1MediaManager_html_ac44d24dc20f9b89930f065750705efe3"><div class="ttname"><a href="classzypp_1_1media_1_1MediaManager.html#ac44d24dc20f9b89930f065750705efe3">zypp::media::MediaManager::localPath</a></div><div class="ttdeci">Pathname localPath(MediaAccessId accessId, const Pathname &amp;pathname) const</div><div class="ttdoc">Shortcut for 'localRoot() + pathname', but returns an empty pathname if media is not attached.</div><div class="ttdef"><b>Definition:</b> <a href="MediaManager_8cc_source.html#l00659">MediaManager.cc:659</a></div></div>
<div class="ttc" id="RepoindexFileReader_8h_html"><div class="ttname"><a href="RepoindexFileReader_8h.html">RepoindexFileReader.h</a></div><div class="ttdoc">Interface of repoindex.xml file reader.</div></div>
<div class="ttc" id="classzypp_1_1media_1_1MediaManager_html_a6a2c0fede9e2cec6a52b26d615c83099"><div class="ttname"><a href="classzypp_1_1media_1_1MediaManager.html#a6a2c0fede9e2cec6a52b26d615c83099">zypp::media::MediaManager::release</a></div><div class="ttdeci">void release(MediaAccessId accessId, const std::string &amp;ejectDev=&quot;&quot;)</div><div class="ttdoc">Release the attached media and optionally eject.</div><div class="ttdef"><b>Definition:</b> <a href="MediaManager_8cc_source.html#l00466">MediaManager.cc:466</a></div></div>
<div class="ttc" id="RepoException_8h_html"><div class="ttname"><a href="RepoException_8h.html">RepoException.h</a></div></div>
<div class="ttc" id="MediaException_8h_html"><div class="ttname"><a href="MediaException_8h.html">MediaException.h</a></div></div>
<div class="ttc" id="MediaManager_8h_html"><div class="ttname"><a href="MediaManager_8h.html">MediaManager.h</a></div></div>
<div class="ttc" id="structzypp_1_1repo_1_1ServiceType_html"><div class="ttname"><a href="structzypp_1_1repo_1_1ServiceType.html">zypp::repo::ServiceType</a></div><div class="ttdoc">Service type enumeration.</div><div class="ttdef"><b>Definition:</b> <a href="ServiceType_8h_source.html#l00026">ServiceType.h:26</a></div></div>
<div class="ttc" id="structzypp_1_1repo_1_1ServiceRepos_1_1Impl_html_a4ce130e3e3b6667b172a557454cc5ea6"><div class="ttname"><a href="structzypp_1_1repo_1_1ServiceRepos_1_1Impl.html#a4ce130e3e3b6667b172a557454cc5ea6">zypp::repo::ServiceRepos::Impl::~Impl</a></div><div class="ttdeci">virtual ~Impl()</div><div class="ttdef"><b>Definition:</b> <a href="ServiceRepos_8cc_source.html#l00022">ServiceRepos.cc:22</a></div></div>
<div class="ttc" id="structzypp_1_1repo_1_1RIMServiceRepos_html"><div class="ttname"><a href="structzypp_1_1repo_1_1RIMServiceRepos.html">zypp::repo::RIMServiceRepos</a></div><div class="ttdef"><b>Definition:</b> <a href="ServiceRepos_8cc_source.html#l00026">ServiceRepos.cc:26</a></div></div>
<div class="ttc" id="classzypp_1_1parser_1_1RepoFileReader_html"><div class="ttname"><a href="classzypp_1_1parser_1_1RepoFileReader.html">zypp::parser::RepoFileReader</a></div><div class="ttdoc">Read repository data from a .repo file.</div><div class="ttdef"><b>Definition:</b> <a href="RepoFileReader_8h_source.html#l00051">RepoFileReader.h:51</a></div></div>
<div class="ttc" id="classzypp_1_1repo_1_1ServiceRepos_html_a12d7f97ceb7ce7ff07b4b0ef973ac1ed"><div class="ttname"><a href="classzypp_1_1repo_1_1ServiceRepos.html#a12d7f97ceb7ce7ff07b4b0ef973ac1ed">zypp::repo::ServiceRepos::~ServiceRepos</a></div><div class="ttdeci">~ServiceRepos()</div><div class="ttdef"><b>Definition:</b> <a href="ServiceRepos_8cc_source.html#l00096">ServiceRepos.cc:96</a></div></div>
<div class="ttc" id="classzypp_1_1ServiceInfo_html_a82278688431ad6fae86d60e600bb4133"><div class="ttname"><a href="classzypp_1_1ServiceInfo.html#a82278688431ad6fae86d60e600bb4133">zypp::ServiceInfo::url</a></div><div class="ttdeci">Url url() const</div><div class="ttdoc">The service url.</div><div class="ttdef"><b>Definition:</b> <a href="ServiceInfo_8cc_source.html#l00099">ServiceInfo.cc:99</a></div></div>
<div class="ttc" id="classzypp_1_1media_1_1MediaManager_html_a36e0b34ad20742921bc1ad9c2a2fade8"><div class="ttname"><a href="classzypp_1_1media_1_1MediaManager.html#a36e0b34ad20742921bc1ad9c2a2fade8">zypp::media::MediaManager::attach</a></div><div class="ttdeci">void attach(MediaAccessId accessId)</div><div class="ttdoc">Attach the media using the concrete handler (checks all devices).</div><div class="ttdef"><b>Definition:</b> <a href="MediaManager_8cc_source.html#l00396">MediaManager.cc:396</a></div></div>
<div class="ttc" id="classzypp_1_1ExternalProgramWithStderr_html_a0e30ac9461834ae9dcb31a899493db8d"><div class="ttname"><a href="classzypp_1_1ExternalProgramWithStderr.html#a0e30ac9461834ae9dcb31a899493db8d">zypp::ExternalProgramWithStderr::stderrGetUpTo</a></div><div class="ttdeci">bool stderrGetUpTo(std::string &amp;retval_r, const char delim_r, bool returnDelim_r=false)</div><div class="ttdoc">Read data up to delim_r from stderr (nonblocking).</div><div class="ttdef"><b>Definition:</b> <a href="ExternalProgram_8cc_source.html#l00639">ExternalProgram.cc:639</a></div></div>
<div class="ttc" id="structzypp_1_1repo_1_1RIMServiceRepos_html_a85bfe0bba55d0f40ef15b565f377e7d2"><div class="ttname"><a href="structzypp_1_1repo_1_1RIMServiceRepos.html#a85bfe0bba55d0f40ef15b565f377e7d2">zypp::repo::RIMServiceRepos::RIMServiceRepos</a></div><div class="ttdeci">RIMServiceRepos(const Pathname &amp;, const ServiceInfo &amp;service, const ServiceRepos::ProcessRepo &amp;callback, const ProgressData::ReceiverFnc &amp;progress=ProgressData::ReceiverFnc())</div><div class="ttdef"><b>Definition:</b> <a href="ServiceRepos_8cc_source.html#l00028">ServiceRepos.cc:28</a></div></div>
<div class="ttc" id="classzypp_1_1ExternalProgram_html_ac72fa79ccdbaa0f7fc9560b291dd4216"><div class="ttname"><a href="classzypp_1_1ExternalProgram.html#ac72fa79ccdbaa0f7fc9560b291dd4216">zypp::ExternalProgram::close</a></div><div class="ttdeci">int close()</div><div class="ttdoc">Wait for the progamm to complete.</div><div class="ttdef"><b>Definition:</b> <a href="ExternalProgram_8cc_source.html#l00436">ExternalProgram.cc:436</a></div></div>
<div class="ttc" id="classzypp_1_1media_1_1MediaManager_html"><div class="ttname"><a href="classzypp_1_1media_1_1MediaManager.html">zypp::media::MediaManager</a></div><div class="ttdoc">Manages access to the 'physical' media, e.g CDROM drives, Disk volumes, directory trees,...</div><div class="ttdef"><b>Definition:</b> <a href="MediaManager_8h_source.html#l00473">MediaManager.h:473</a></div></div>
<div class="ttc" id="Logger_8h_html"><div class="ttname"><a href="Logger_8h.html">Logger.h</a></div></div>
<div class="ttc" id="ExternalProgram_8h_html"><div class="ttname"><a href="ExternalProgram_8h.html">ExternalProgram.h</a></div></div>
<div class="ttc" id="structzypp_1_1repo_1_1ServiceRepos_1_1Impl_html"><div class="ttname"><a href="structzypp_1_1repo_1_1ServiceRepos_1_1Impl.html">zypp::repo::ServiceRepos::Impl</a></div><div class="ttdef"><b>Definition:</b> <a href="ServiceRepos_8cc_source.html#l00021">ServiceRepos.cc:21</a></div></div>
<div class="ttc" id="classzypp_1_1Url_html_a441f130bca3c47b4be6c00433627832c"><div class="ttname"><a href="classzypp_1_1Url.html#a441f130bca3c47b4be6c00433627832c">zypp::Url::getPathName</a></div><div class="ttdeci">std::string getPathName(EEncoding eflag=zypp::url::E_DECODED) const</div><div class="ttdoc">Returns the path name from the URL.</div><div class="ttdef"><b>Definition:</b> <a href="Url_8cc_source.html#l00598">Url.cc:598</a></div></div>
<div class="ttc" id="classzypp_1_1parser_1_1RepoindexFileReader_html_acc350e17a5b44924343731d9ab6ad9c2"><div class="ttname"><a href="classzypp_1_1parser_1_1RepoindexFileReader.html#acc350e17a5b44924343731d9ab6ad9c2">zypp::parser::RepoindexFileReader::ttl</a></div><div class="ttdeci">Date::Duration ttl() const</div><div class="ttdoc">Metadata TTL (repoindex.xml:xpath:/repoindex@ttl or 0).</div><div class="ttdef"><b>Definition:</b> <a href="RepoindexFileReader_8cc_source.html#l00276">RepoindexFileReader.cc:276</a></div></div>
<div class="ttc" id="classzypp_1_1filesystem_1_1Pathname_html"><div class="ttname"><a href="classzypp_1_1filesystem_1_1Pathname.html">zypp::filesystem::Pathname</a></div><div class="ttdoc">Pathname.</div><div class="ttdef"><b>Definition:</b> <a href="Pathname_8h_source.html#l00043">Pathname.h:43</a></div></div>
<div class="ttc" id="namespacezypp_html"><div class="ttname"><a href="namespacezypp.html">zypp</a></div><div class="ttdoc">Easy-to use interface to the ZYPP dependency resolver.</div><div class="ttdef"><b>Definition:</b> <a href="CodePitfalls_8doc_source.html#l00001">CodePitfalls.doc:1</a></div></div>
<div class="ttc" id="RepoFileReader_8h_html"><div class="ttname"><a href="RepoFileReader_8h.html">RepoFileReader.h</a></div></div>
<div class="ttc" id="classzypp_1_1filesystem_1_1Pathname_html_a4124f90f3058950a0947d7c2482796f9"><div class="ttname"><a href="classzypp_1_1filesystem_1_1Pathname.html#a4124f90f3058950a0947d7c2482796f9">zypp::filesystem::Pathname::stripprefix</a></div><div class="ttdeci">static Pathname stripprefix(const Pathname &amp;root_r, const Pathname &amp;path_r)</div><div class="ttdoc">Return path_r with any root_r dir prefix striped.</div><div class="ttdef"><b>Definition:</b> <a href="Pathname_8cc_source.html#l00244">Pathname.cc:244</a></div></div>
<div class="ttc" id="classzypp_1_1media_1_1MediaManager_html_a060e17aa114b31357743da2f3a2e302f"><div class="ttname"><a href="classzypp_1_1media_1_1MediaManager.html#a060e17aa114b31357743da2f3a2e302f">zypp::media::MediaManager::open</a></div><div class="ttdeci">MediaAccessId open(const Url &amp;url, const Pathname &amp;preferred_attach_point=&quot;&quot;)</div><div class="ttdoc">Opens the media access for specified with the url.</div><div class="ttdef"><b>Definition:</b> <a href="MediaManager_8cc_source.html#l00251">MediaManager.cc:251</a></div></div>
<div class="ttc" id="classzypp_1_1Url_html"><div class="ttname"><a href="classzypp_1_1Url.html">zypp::Url</a></div><div class="ttdoc">Url manipulation class.</div><div class="ttdef"><b>Definition:</b> <a href="Url_8h_source.html#l00087">Url.h:87</a></div></div>
<div class="ttc" id="classzypp_1_1media_1_1MediaManager_html_a569396e2c9b71a9ee850ccd4e435890d"><div class="ttname"><a href="classzypp_1_1media_1_1MediaManager.html#a569396e2c9b71a9ee850ccd4e435890d">zypp::media::MediaManager::close</a></div><div class="ttdeci">void close(MediaAccessId accessId)</div><div class="ttdoc">Close the media access with specified id.</div><div class="ttdef"><b>Definition:</b> <a href="MediaManager_8cc_source.html#l00273">MediaManager.cc:273</a></div></div>
</div><!-- fragment --></div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="dir_c187b43c6f283d9fc95eff3f44ce072a.html">zypp</a></li><li class="navelem"><a class="el" href="dir_87611d73de4eb3bd0276658efbbf5b67.html">repo</a></li><li class="navelem"><a class="el" href="ServiceRepos_8cc.html">ServiceRepos.cc</a></li>
    <li class="footer">Generated by
    <a href="http://www.doxygen.org/index.html">
    <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.15 </li>
  </ul>
</div>
</body>
</html>