<!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/media/MediaISO.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&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  <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&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&dn=gpl-2.0.txt GPL-v2 */ $(document).ready(function(){initNavTree('MediaISO_8cc_source.html','');}); /* @license-end */ </script> <div id="doc-content"> <div class="header"> <div class="headertitle"> <div class="title">MediaISO.cc</div> </div> </div><!--header--> <div class="contents"> <a href="MediaISO_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> <span class="comment">/*---------------------------------------------------------------------\</span></div><div class="line"><a name="l00002"></a><span class="lineno"> 2</span> <span class="comment">| ____ _ __ __ ___ |</span></div><div class="line"><a name="l00003"></a><span class="lineno"> 3</span> <span class="comment">| |__ / \ / / . \ . \ |</span></div><div class="line"><a name="l00004"></a><span class="lineno"> 4</span> <span class="comment">| / / \ V /| _/ _/ |</span></div><div class="line"><a name="l00005"></a><span class="lineno"> 5</span> <span class="comment">| / /__ | | | | | | |</span></div><div class="line"><a name="l00006"></a><span class="lineno"> 6</span> <span class="comment">| /_____||_| |_| |_| |</span></div><div class="line"><a name="l00007"></a><span class="lineno"> 7</span> <span class="comment">| |</span></div><div class="line"><a name="l00008"></a><span class="lineno"> 8</span> <span class="comment">\---------------------------------------------------------------------*/</span></div><div class="line"><a name="l00012"></a><span class="lineno"> 12</span> <span class="preprocessor">#include <iostream></span></div><div class="line"><a name="l00013"></a><span class="lineno"> 13</span> </div><div class="line"><a name="l00014"></a><span class="lineno"> 14</span> <span class="preprocessor">#include "<a class="code" href="Logger_8h.html">zypp/base/Logger.h</a>"</span></div><div class="line"><a name="l00015"></a><span class="lineno"> 15</span> <span class="preprocessor">#include "<a class="code" href="Mount_8h.html">zypp/media/Mount.h</a>"</span></div><div class="line"><a name="l00016"></a><span class="lineno"> 16</span> </div><div class="line"><a name="l00017"></a><span class="lineno"> 17</span> <span class="preprocessor">#include "<a class="code" href="MediaISO_8h.html">zypp/media/MediaISO.h</a>"</span></div><div class="line"><a name="l00018"></a><span class="lineno"> 18</span> </div><div class="line"><a name="l00019"></a><span class="lineno"> 19</span> <span class="keyword">using</span> std::endl;</div><div class="line"><a name="l00020"></a><span class="lineno"> 20</span> </div><div class="line"><a name="l00022"></a><span class="lineno"> 22</span> <span class="keyword">namespace </span><a class="code" href="namespacezypp.html">zypp</a></div><div class="line"><a name="l00023"></a><span class="lineno"> 23</span> { </div><div class="line"><a name="l00024"></a><span class="lineno"> 24</span> </div><div class="line"><a name="l00026"></a><span class="lineno"> 26</span>  <span class="keyword">namespace </span>media</div><div class="line"><a name="l00027"></a><span class="lineno"> 27</span>  { </div><div class="line"><a name="l00028"></a><span class="lineno"> 28</span> </div><div class="line"><a name="l00030"></a><span class="lineno"> 30</span>  <span class="comment">//</span></div><div class="line"><a name="l00031"></a><span class="lineno"> 31</span>  <span class="comment">// MediaISO Url:</span></div><div class="line"><a name="l00032"></a><span class="lineno"> 32</span>  <span class="comment">//</span></div><div class="line"><a name="l00033"></a><span class="lineno"> 33</span>  <span class="comment">// Schema: iso</span></div><div class="line"><a name="l00034"></a><span class="lineno"> 34</span>  <span class="comment">// Path name: subdir to the location of desired files inside</span></div><div class="line"><a name="l00035"></a><span class="lineno"> 35</span>  <span class="comment">// of the ISO.</span></div><div class="line"><a name="l00036"></a><span class="lineno"> 36</span>  <span class="comment">// Query parameters:</span></div><div class="line"><a name="l00037"></a><span class="lineno"> 37</span>  <span class="comment">// url: The iso filename source media url pointing</span></div><div class="line"><a name="l00038"></a><span class="lineno"> 38</span>  <span class="comment">// to a directory containing the ISO file.</span></div><div class="line"><a name="l00039"></a><span class="lineno"> 39</span>  <span class="comment">// mnt: Prefered attach point for source media url.</span></div><div class="line"><a name="l00040"></a><span class="lineno"> 40</span>  <span class="comment">// iso: The name of the iso file.</span></div><div class="line"><a name="l00041"></a><span class="lineno"> 41</span>  <span class="comment">// filesystem: Optional, defaults to "auto".</span></div><div class="line"><a name="l00042"></a><span class="lineno"> 42</span>  <span class="comment">//</span></div><div class="line"><a name="l00044"></a><span class="lineno"><a class="line" href="classzypp_1_1media_1_1MediaISO.html#a0847cf117d673ab679b99139f3cec8e7"> 44</a></span> <span class="comment"></span> <a class="code" href="classzypp_1_1media_1_1MediaISO.html#a0847cf117d673ab679b99139f3cec8e7">MediaISO::MediaISO</a>(<span class="keyword">const</span> <a class="code" href="classzypp_1_1Url.html">Url</a> &url_r,</div><div class="line"><a name="l00045"></a><span class="lineno"> 45</span>  <span class="keyword">const</span> <a class="code" href="classzypp_1_1filesystem_1_1Pathname.html">Pathname</a> &attach_point_hint_r)</div><div class="line"><a name="l00046"></a><span class="lineno"> 46</span>  : <a class="code" href="classzypp_1_1media_1_1MediaHandler.html">MediaHandler</a>(url_r, attach_point_hint_r,</div><div class="line"><a name="l00047"></a><span class="lineno"> 47</span>  url_r.getPathName(), <span class="comment">// urlpath below attachpoint</span></div><div class="line"><a name="l00048"></a><span class="lineno"> 48</span>  false) <span class="comment">// does_download</span></div><div class="line"><a name="l00049"></a><span class="lineno"> 49</span>  {</div><div class="line"><a name="l00050"></a><span class="lineno"> 50</span>  <a class="code" href="group__ZYPP__BASE__LOGGER__MACROS.html#ga552f8ec9d8e5b4efa04839a129104818">MIL</a> << <span class="stringliteral">"MediaISO::MediaISO("</span> << url_r << <span class="stringliteral">", "</span></div><div class="line"><a name="l00051"></a><span class="lineno"> 51</span>  << attach_point_hint_r << <span class="stringliteral">")"</span> << std::endl;</div><div class="line"><a name="l00052"></a><span class="lineno"> 52</span> </div><div class="line"><a name="l00053"></a><span class="lineno"> 53</span>  <a class="code" href="classzypp_1_1media_1_1MediaISO.html#ab9edd7867581c96c689b077e79830365">_isofile</a> = <a class="code" href="classzypp_1_1media_1_1MediaHandler.html#a7cfb708dcbc4d3d8f8d8d152258fbb93">_url</a>.<a class="code" href="classzypp_1_1Url.html#a4b2a104d35d9f7fd4e12117f0d7da2db">getQueryParam</a>(<span class="stringliteral">"iso"</span>);</div><div class="line"><a name="l00054"></a><span class="lineno"> 54</span>  <span class="keywordflow">if</span>( <a class="code" href="classzypp_1_1media_1_1MediaISO.html#ab9edd7867581c96c689b077e79830365">_isofile</a>.<a class="code" href="classzypp_1_1filesystem_1_1Pathname.html#aaf4388add8c0f9294a7b15f0614f7656">empty</a>())</div><div class="line"><a name="l00055"></a><span class="lineno"> 55</span>  {</div><div class="line"><a name="l00056"></a><span class="lineno"> 56</span>  <a class="code" href="group__ZYPP__BASE__LOGGER__MACROS.html#ga735563036dced0b7d6cc98f97ea4978b">ERR</a> << <span class="stringliteral">"Media url does not contain iso filename"</span> << std::endl;</div><div class="line"><a name="l00057"></a><span class="lineno"> 57</span>  <a class="code" href="group__ZYPP__THROW.html#gaf8c3a87d63dd4f26f059eddd62c22864">ZYPP_THROW</a>(<a class="code" href="classzypp_1_1media_1_1MediaBadUrlEmptyDestinationException.html">MediaBadUrlEmptyDestinationException</a>(<a class="code" href="classzypp_1_1media_1_1MediaHandler.html#a7cfb708dcbc4d3d8f8d8d152258fbb93">_url</a>));</div><div class="line"><a name="l00058"></a><span class="lineno"> 58</span>  }</div><div class="line"><a name="l00059"></a><span class="lineno"> 59</span> </div><div class="line"><a name="l00060"></a><span class="lineno"> 60</span>  <a class="code" href="classzypp_1_1media_1_1MediaISO.html#a397c52133816b2194422aa9b42258501">_filesystem</a> = <a class="code" href="classzypp_1_1media_1_1MediaHandler.html#a7cfb708dcbc4d3d8f8d8d152258fbb93">_url</a>.<a class="code" href="classzypp_1_1Url.html#a4b2a104d35d9f7fd4e12117f0d7da2db">getQueryParam</a>(<span class="stringliteral">"filesystem"</span>);</div><div class="line"><a name="l00061"></a><span class="lineno"> 61</span>  <span class="keywordflow">if</span>( <a class="code" href="classzypp_1_1media_1_1MediaISO.html#a397c52133816b2194422aa9b42258501">_filesystem</a>.empty())</div><div class="line"><a name="l00062"></a><span class="lineno"> 62</span>  <a class="code" href="classzypp_1_1media_1_1MediaISO.html#a397c52133816b2194422aa9b42258501">_filesystem</a> = <span class="stringliteral">"auto"</span>;</div><div class="line"><a name="l00063"></a><span class="lineno"> 63</span> </div><div class="line"><a name="l00064"></a><span class="lineno"> 64</span>  std::string arg;</div><div class="line"><a name="l00065"></a><span class="lineno"> 65</span>  <a class="code" href="classzypp_1_1Url.html">zypp::Url</a> src;</div><div class="line"><a name="l00066"></a><span class="lineno"> 66</span>  <span class="keywordflow">try</span></div><div class="line"><a name="l00067"></a><span class="lineno"> 67</span>  {</div><div class="line"><a name="l00068"></a><span class="lineno"> 68</span>  <span class="comment">// this percent-decodes the query parameter, it must be later encoded</span></div><div class="line"><a name="l00069"></a><span class="lineno"> 69</span>  <span class="comment">// again before used in a Url object</span></div><div class="line"><a name="l00070"></a><span class="lineno"> 70</span>  arg = <a class="code" href="classzypp_1_1media_1_1MediaHandler.html#a7cfb708dcbc4d3d8f8d8d152258fbb93">_url</a>.<a class="code" href="classzypp_1_1Url.html#a4b2a104d35d9f7fd4e12117f0d7da2db">getQueryParam</a>(<span class="stringliteral">"url"</span>);</div><div class="line"><a name="l00071"></a><span class="lineno"> 71</span>  <span class="keywordflow">if</span>( arg.empty() && <a class="code" href="classzypp_1_1media_1_1MediaISO.html#ab9edd7867581c96c689b077e79830365">_isofile</a>.<a class="code" href="classzypp_1_1filesystem_1_1Pathname.html#a5cc68841952d6d462a1212119356da20">dirname</a>().<a class="code" href="classzypp_1_1filesystem_1_1Pathname.html#a7b86043297b38b0430d6470613f51275">absolute</a>())</div><div class="line"><a name="l00072"></a><span class="lineno"> 72</span>  {</div><div class="line"><a name="l00073"></a><span class="lineno"> 73</span>  src = std::string(<span class="stringliteral">"dir:///"</span>);</div><div class="line"><a name="l00074"></a><span class="lineno"> 74</span>  src.<a class="code" href="classzypp_1_1Url.html#a5100654d6dea15cb9bff796125a7bd57">setPathName</a>(<a class="code" href="namespacezypp_1_1url.html#a8de05190510c0031660746e1768a5a40">url::encode</a>(<a class="code" href="classzypp_1_1media_1_1MediaISO.html#ab9edd7867581c96c689b077e79830365">_isofile</a>.<a class="code" href="classzypp_1_1filesystem_1_1Pathname.html#a5cc68841952d6d462a1212119356da20">dirname</a>().<a class="code" href="classzypp_1_1filesystem_1_1Pathname.html#a91a822e47df9fa6f484a7b771a0b3c94">asString</a>(), <a class="code" href="UrlUtils_8h.html#a2258bf4da520429d912996d36dc2640f">URL_SAFE_CHARS</a>));</div><div class="line"><a name="l00075"></a><span class="lineno"> 75</span>  <a class="code" href="classzypp_1_1media_1_1MediaISO.html#ab9edd7867581c96c689b077e79830365">_isofile</a> = <a class="code" href="classzypp_1_1media_1_1MediaISO.html#ab9edd7867581c96c689b077e79830365">_isofile</a>.<a class="code" href="classzypp_1_1filesystem_1_1Pathname.html#aadebdd3728a6ed5d80f001863b263e23">basename</a>();</div><div class="line"><a name="l00076"></a><span class="lineno"> 76</span>  }</div><div class="line"><a name="l00077"></a><span class="lineno"> 77</span>  <span class="keywordflow">else</span></div><div class="line"><a name="l00078"></a><span class="lineno"> 78</span>  {</div><div class="line"><a name="l00079"></a><span class="lineno"> 79</span>  src = <a class="code" href="namespacezypp_1_1url.html#a8de05190510c0031660746e1768a5a40">url::encode</a>(arg, <a class="code" href="UrlUtils_8h.html#a2258bf4da520429d912996d36dc2640f">URL_SAFE_CHARS</a>);</div><div class="line"><a name="l00080"></a><span class="lineno"> 80</span>  }</div><div class="line"><a name="l00081"></a><span class="lineno"> 81</span>  }</div><div class="line"><a name="l00082"></a><span class="lineno"> 82</span>  <span class="keywordflow">catch</span>(<span class="keyword">const</span> <a class="code" href="classzypp_1_1url_1_1UrlException.html">zypp::url::UrlException</a> &e)</div><div class="line"><a name="l00083"></a><span class="lineno"> 83</span>  {</div><div class="line"><a name="l00084"></a><span class="lineno"> 84</span>  <a class="code" href="group__ZYPP__THROW.html#ga0a6d828c3e5802c5ca1ab6f5a86e9fc1">ZYPP_CAUGHT</a>(e);</div><div class="line"><a name="l00085"></a><span class="lineno"> 85</span>  <a class="code" href="group__ZYPP__BASE__LOGGER__MACROS.html#ga735563036dced0b7d6cc98f97ea4978b">ERR</a> << <span class="stringliteral">"Unable to parse iso filename source media url"</span> << std::endl;</div><div class="line"><a name="l00086"></a><span class="lineno"> 86</span>  <a class="code" href="classzypp_1_1media_1_1MediaBadUrlException.html">MediaBadUrlException</a> ne(<a class="code" href="classzypp_1_1media_1_1MediaHandler.html#a7cfb708dcbc4d3d8f8d8d152258fbb93">_url</a>);</div><div class="line"><a name="l00087"></a><span class="lineno"> 87</span>  ne.<a class="code" href="classzypp_1_1Exception.html#af6a5a1a9527e907e19bd94d61e0dc2be">remember</a>(e);</div><div class="line"><a name="l00088"></a><span class="lineno"> 88</span>  <a class="code" href="group__ZYPP__THROW.html#gaf8c3a87d63dd4f26f059eddd62c22864">ZYPP_THROW</a>(ne);</div><div class="line"><a name="l00089"></a><span class="lineno"> 89</span>  }</div><div class="line"><a name="l00090"></a><span class="lineno"> 90</span>  <span class="keywordflow">if</span>( !src.<a class="code" href="classzypp_1_1Url.html#a6cd43bb0d10b2871650c08101392e061">isValid</a>())</div><div class="line"><a name="l00091"></a><span class="lineno"> 91</span>  {</div><div class="line"><a name="l00092"></a><span class="lineno"> 92</span>  <a class="code" href="group__ZYPP__BASE__LOGGER__MACROS.html#ga735563036dced0b7d6cc98f97ea4978b">ERR</a> << <span class="stringliteral">"Invalid iso filename source media url"</span> << std::endl;</div><div class="line"><a name="l00093"></a><span class="lineno"> 93</span>  <a class="code" href="group__ZYPP__THROW.html#gaf8c3a87d63dd4f26f059eddd62c22864">ZYPP_THROW</a>(<a class="code" href="classzypp_1_1media_1_1MediaBadUrlException.html">MediaBadUrlException</a>(src));</div><div class="line"><a name="l00094"></a><span class="lineno"> 94</span>  }</div><div class="line"><a name="l00095"></a><span class="lineno"> 95</span>  <span class="keywordflow">if</span>( src.<a class="code" href="classzypp_1_1Url.html#a095ef9bbb54284f4399b5f84659a5341">getScheme</a>() == <span class="stringliteral">"iso"</span>)</div><div class="line"><a name="l00096"></a><span class="lineno"> 96</span>  {</div><div class="line"><a name="l00097"></a><span class="lineno"> 97</span>  <a class="code" href="group__ZYPP__BASE__LOGGER__MACROS.html#ga735563036dced0b7d6cc98f97ea4978b">ERR</a> << <span class="stringliteral">"ISO filename source media url with iso scheme (nested iso): "</span></div><div class="line"><a name="l00098"></a><span class="lineno"> 98</span>  << src.<a class="code" href="classzypp_1_1Url.html#a16dc1d5dea84e9294a53314543a3aaa5">asString</a>() << std::endl;</div><div class="line"><a name="l00099"></a><span class="lineno"> 99</span>  <a class="code" href="group__ZYPP__THROW.html#gaf8c3a87d63dd4f26f059eddd62c22864">ZYPP_THROW</a>(<a class="code" href="classzypp_1_1media_1_1MediaUnsupportedUrlSchemeException.html">MediaUnsupportedUrlSchemeException</a>(src));</div><div class="line"><a name="l00100"></a><span class="lineno"> 100</span>  }</div><div class="line"><a name="l00101"></a><span class="lineno"> 101</span>  <span class="keywordflow">else</span></div><div class="line"><a name="l00102"></a><span class="lineno"> 102</span>  <span class="keywordflow">if</span>( !(src.<a class="code" href="classzypp_1_1Url.html#a095ef9bbb54284f4399b5f84659a5341">getScheme</a>() == <span class="stringliteral">"hd"</span> ||</div><div class="line"><a name="l00103"></a><span class="lineno"> 103</span>  src.<a class="code" href="classzypp_1_1Url.html#a095ef9bbb54284f4399b5f84659a5341">getScheme</a>() == <span class="stringliteral">"dir"</span> ||</div><div class="line"><a name="l00104"></a><span class="lineno"> 104</span>  src.<a class="code" href="classzypp_1_1Url.html#a095ef9bbb54284f4399b5f84659a5341">getScheme</a>() == <span class="stringliteral">"file"</span> ||</div><div class="line"><a name="l00105"></a><span class="lineno"> 105</span>  src.<a class="code" href="classzypp_1_1Url.html#a095ef9bbb54284f4399b5f84659a5341">getScheme</a>() == <span class="stringliteral">"nfs"</span> ||</div><div class="line"><a name="l00106"></a><span class="lineno"> 106</span>  src.<a class="code" href="classzypp_1_1Url.html#a095ef9bbb54284f4399b5f84659a5341">getScheme</a>() == <span class="stringliteral">"nfs4"</span> ||</div><div class="line"><a name="l00107"></a><span class="lineno"> 107</span>  src.<a class="code" href="classzypp_1_1Url.html#a095ef9bbb54284f4399b5f84659a5341">getScheme</a>() == <span class="stringliteral">"smb"</span> ||</div><div class="line"><a name="l00108"></a><span class="lineno"> 108</span>  src.<a class="code" href="classzypp_1_1Url.html#a095ef9bbb54284f4399b5f84659a5341">getScheme</a>() == <span class="stringliteral">"cifs"</span>))</div><div class="line"><a name="l00109"></a><span class="lineno"> 109</span>  {</div><div class="line"><a name="l00110"></a><span class="lineno"> 110</span>  <a class="code" href="group__ZYPP__BASE__LOGGER__MACROS.html#ga735563036dced0b7d6cc98f97ea4978b">ERR</a> << <span class="stringliteral">"ISO filename source media url scheme is not supported: "</span></div><div class="line"><a name="l00111"></a><span class="lineno"> 111</span>  << src.<a class="code" href="classzypp_1_1Url.html#a16dc1d5dea84e9294a53314543a3aaa5">asString</a>() << std::endl;</div><div class="line"><a name="l00112"></a><span class="lineno"> 112</span>  <a class="code" href="group__ZYPP__THROW.html#gaf8c3a87d63dd4f26f059eddd62c22864">ZYPP_THROW</a>(<a class="code" href="classzypp_1_1media_1_1MediaUnsupportedUrlSchemeException.html">MediaUnsupportedUrlSchemeException</a>(src));</div><div class="line"><a name="l00113"></a><span class="lineno"> 113</span>  }</div><div class="line"><a name="l00114"></a><span class="lineno"> 114</span> </div><div class="line"><a name="l00115"></a><span class="lineno"> 115</span>  <a class="code" href="classzypp_1_1media_1_1MediaManager.html">MediaManager</a> manager;</div><div class="line"><a name="l00116"></a><span class="lineno"> 116</span> </div><div class="line"><a name="l00117"></a><span class="lineno"> 117</span>  <a class="code" href="classzypp_1_1media_1_1MediaHandler.html#afb30e86a52f0c39b1e8426c217fb4d99">_parentId</a> = manager.<a class="code" href="classzypp_1_1media_1_1MediaManager.html#a060e17aa114b31357743da2f3a2e302f">open</a>(src, <a class="code" href="classzypp_1_1media_1_1MediaHandler.html#a7cfb708dcbc4d3d8f8d8d152258fbb93">_url</a>.<a class="code" href="classzypp_1_1Url.html#a4b2a104d35d9f7fd4e12117f0d7da2db">getQueryParam</a>(<span class="stringliteral">"mnt"</span>));</div><div class="line"><a name="l00118"></a><span class="lineno"> 118</span>  }</div><div class="line"><a name="l00119"></a><span class="lineno"> 119</span> </div><div class="line"><a name="l00120"></a><span class="lineno"> 120</span>  <span class="comment">// ---------------------------------------------------------------</span></div><div class="line"><a name="l00121"></a><span class="lineno"><a class="line" href="classzypp_1_1media_1_1MediaISO.html#afeaacee9c3fe7eafc0aec0b9b2db651d"> 121</a></span>  <a class="code" href="classzypp_1_1media_1_1MediaISO.html#afeaacee9c3fe7eafc0aec0b9b2db651d">MediaISO::~MediaISO</a>()</div><div class="line"><a name="l00122"></a><span class="lineno"> 122</span>  {</div><div class="line"><a name="l00123"></a><span class="lineno"> 123</span>  <span class="keywordflow">try</span></div><div class="line"><a name="l00124"></a><span class="lineno"> 124</span>  {</div><div class="line"><a name="l00125"></a><span class="lineno"> 125</span>  <a class="code" href="classzypp_1_1media_1_1MediaHandler.html#a82cf1d0e81f43e682b61ca322d3d48db">release</a>();</div><div class="line"><a name="l00126"></a><span class="lineno"> 126</span> </div><div class="line"><a name="l00127"></a><span class="lineno"> 127</span>  <span class="keywordflow">if</span>( <a class="code" href="classzypp_1_1media_1_1MediaHandler.html#afb30e86a52f0c39b1e8426c217fb4d99">_parentId</a>)</div><div class="line"><a name="l00128"></a><span class="lineno"> 128</span>  {</div><div class="line"><a name="l00129"></a><span class="lineno"> 129</span>  <a class="code" href="group__ZYPP__BASE__LOGGER__MACROS.html#ga49606be7356624568932ec81c0d429f4">DBG</a> << <span class="stringliteral">"Closing parent handler..."</span> << std::endl;</div><div class="line"><a name="l00130"></a><span class="lineno"> 130</span>  <a class="code" href="classzypp_1_1media_1_1MediaManager.html">MediaManager</a> manager;</div><div class="line"><a name="l00131"></a><span class="lineno"> 131</span>  <span class="keywordflow">if</span>(manager.<a class="code" href="classzypp_1_1media_1_1MediaManager.html#a3aea962eda76504d5d5d614ff09edcaf">isOpen</a>(<a class="code" href="classzypp_1_1media_1_1MediaHandler.html#afb30e86a52f0c39b1e8426c217fb4d99">_parentId</a>))</div><div class="line"><a name="l00132"></a><span class="lineno"> 132</span>  manager.<a class="code" href="classzypp_1_1media_1_1MediaManager.html#a569396e2c9b71a9ee850ccd4e435890d">close</a>(<a class="code" href="classzypp_1_1media_1_1MediaHandler.html#afb30e86a52f0c39b1e8426c217fb4d99">_parentId</a>);</div><div class="line"><a name="l00133"></a><span class="lineno"> 133</span>  <a class="code" href="classzypp_1_1media_1_1MediaHandler.html#afb30e86a52f0c39b1e8426c217fb4d99">_parentId</a> = 0;</div><div class="line"><a name="l00134"></a><span class="lineno"> 134</span>  }</div><div class="line"><a name="l00135"></a><span class="lineno"> 135</span>  }</div><div class="line"><a name="l00136"></a><span class="lineno"> 136</span>  <span class="keywordflow">catch</span>( ... )</div><div class="line"><a name="l00137"></a><span class="lineno"> 137</span>  {}</div><div class="line"><a name="l00138"></a><span class="lineno"> 138</span>  }</div><div class="line"><a name="l00139"></a><span class="lineno"> 139</span> </div><div class="line"><a name="l00140"></a><span class="lineno"> 140</span>  <span class="comment">// ---------------------------------------------------------------</span></div><div class="line"><a name="l00141"></a><span class="lineno"> 141</span>  <span class="keywordtype">bool</span></div><div class="line"><a name="l00142"></a><span class="lineno"><a class="line" href="classzypp_1_1media_1_1MediaISO.html#ab2d332074823692d8185d016c589d312"> 142</a></span>  <a class="code" href="classzypp_1_1media_1_1MediaISO.html#ab2d332074823692d8185d016c589d312">MediaISO::isAttached</a>()<span class="keyword"> const</span></div><div class="line"><a name="l00143"></a><span class="lineno"> 143</span> <span class="keyword"> </span>{</div><div class="line"><a name="l00144"></a><span class="lineno"> 144</span>  <span class="keywordflow">return</span> <a class="code" href="classzypp_1_1media_1_1MediaHandler.html#a84980af7ffd1aab5d7fd15f6eb58c228">checkAttached</a>(<span class="keyword">false</span>);</div><div class="line"><a name="l00145"></a><span class="lineno"> 145</span>  }</div><div class="line"><a name="l00146"></a><span class="lineno"> 146</span> </div><div class="line"><a name="l00147"></a><span class="lineno"> 147</span>  <span class="comment">// ---------------------------------------------------------------</span></div><div class="line"><a name="l00148"></a><span class="lineno"><a class="line" href="classzypp_1_1media_1_1MediaISO.html#ae77c2148113017c79007a56dac1ea53c"> 148</a></span>  <span class="keywordtype">void</span> <a class="code" href="classzypp_1_1media_1_1MediaISO.html#ae77c2148113017c79007a56dac1ea53c">MediaISO::attachTo</a>(<span class="keywordtype">bool</span> next)</div><div class="line"><a name="l00149"></a><span class="lineno"> 149</span>  {</div><div class="line"><a name="l00150"></a><span class="lineno"> 150</span>  <span class="keywordflow">if</span>(next)</div><div class="line"><a name="l00151"></a><span class="lineno"> 151</span>  <a class="code" href="group__ZYPP__THROW.html#gaf8c3a87d63dd4f26f059eddd62c22864">ZYPP_THROW</a>(<a class="code" href="classzypp_1_1media_1_1MediaNotSupportedException.html">MediaNotSupportedException</a>(<a class="code" href="classzypp_1_1media_1_1MediaHandler.html#a7cfb708dcbc4d3d8f8d8d152258fbb93">_url</a>));</div><div class="line"><a name="l00152"></a><span class="lineno"> 152</span> </div><div class="line"><a name="l00153"></a><span class="lineno"> 153</span>  <a class="code" href="classzypp_1_1media_1_1MediaManager.html">MediaManager</a> manager;</div><div class="line"><a name="l00154"></a><span class="lineno"> 154</span>  manager.<a class="code" href="classzypp_1_1media_1_1MediaManager.html#a36e0b34ad20742921bc1ad9c2a2fade8">attach</a>(<a class="code" href="classzypp_1_1media_1_1MediaHandler.html#afb30e86a52f0c39b1e8426c217fb4d99">_parentId</a>);</div><div class="line"><a name="l00155"></a><span class="lineno"> 155</span> </div><div class="line"><a name="l00156"></a><span class="lineno"> 156</span>  <span class="keywordflow">try</span></div><div class="line"><a name="l00157"></a><span class="lineno"> 157</span>  {</div><div class="line"><a name="l00158"></a><span class="lineno"> 158</span>  manager.<a class="code" href="classzypp_1_1media_1_1MediaManager.html#a606b062a03aa7e621d19f03d4712c157">provideFile</a>(<a class="code" href="classzypp_1_1media_1_1MediaHandler.html#afb30e86a52f0c39b1e8426c217fb4d99">_parentId</a>, <a class="code" href="classzypp_1_1media_1_1MediaISO.html#ab9edd7867581c96c689b077e79830365">_isofile</a>);</div><div class="line"><a name="l00159"></a><span class="lineno"> 159</span>  }</div><div class="line"><a name="l00160"></a><span class="lineno"> 160</span>  <span class="keywordflow">catch</span>(<span class="keyword">const</span> <a class="code" href="classzypp_1_1media_1_1MediaException.html">MediaException</a> &e1)</div><div class="line"><a name="l00161"></a><span class="lineno"> 161</span>  {</div><div class="line"><a name="l00162"></a><span class="lineno"> 162</span>  <a class="code" href="group__ZYPP__THROW.html#ga0a6d828c3e5802c5ca1ab6f5a86e9fc1">ZYPP_CAUGHT</a>(e1);</div><div class="line"><a name="l00163"></a><span class="lineno"> 163</span>  <span class="keywordflow">try</span></div><div class="line"><a name="l00164"></a><span class="lineno"> 164</span>  {</div><div class="line"><a name="l00165"></a><span class="lineno"> 165</span>  manager.<a class="code" href="classzypp_1_1media_1_1MediaManager.html#a6a2c0fede9e2cec6a52b26d615c83099">release</a>(<a class="code" href="classzypp_1_1media_1_1MediaHandler.html#afb30e86a52f0c39b1e8426c217fb4d99">_parentId</a>);</div><div class="line"><a name="l00166"></a><span class="lineno"> 166</span>  }</div><div class="line"><a name="l00167"></a><span class="lineno"> 167</span>  <span class="keywordflow">catch</span>(<span class="keyword">const</span> <a class="code" href="classzypp_1_1media_1_1MediaException.html">MediaException</a> &e2)</div><div class="line"><a name="l00168"></a><span class="lineno"> 168</span>  {</div><div class="line"><a name="l00169"></a><span class="lineno"> 169</span>  <a class="code" href="group__ZYPP__THROW.html#ga0a6d828c3e5802c5ca1ab6f5a86e9fc1">ZYPP_CAUGHT</a>(e2);</div><div class="line"><a name="l00170"></a><span class="lineno"> 170</span>  }</div><div class="line"><a name="l00171"></a><span class="lineno"> 171</span> </div><div class="line"><a name="l00172"></a><span class="lineno"> 172</span>  <a class="code" href="classzypp_1_1media_1_1MediaMountException.html">MediaMountException</a> e3(</div><div class="line"><a name="l00173"></a><span class="lineno"> 173</span>  <span class="stringliteral">"Unable to find iso filename on source media"</span>,</div><div class="line"><a name="l00174"></a><span class="lineno"> 174</span>  <a class="code" href="classzypp_1_1media_1_1MediaHandler.html#a7cfb708dcbc4d3d8f8d8d152258fbb93">_url</a>.<a class="code" href="classzypp_1_1Url.html#a16dc1d5dea84e9294a53314543a3aaa5">asString</a>(), <a class="code" href="classzypp_1_1media_1_1MediaHandler.html#a8add4c3534425ea0e8799436de34d249">attachPoint</a>().<a class="code" href="classzypp_1_1filesystem_1_1Pathname.html#a91a822e47df9fa6f484a7b771a0b3c94">asString</a>()</div><div class="line"><a name="l00175"></a><span class="lineno"> 175</span>  );</div><div class="line"><a name="l00176"></a><span class="lineno"> 176</span>  e3.<a class="code" href="classzypp_1_1Exception.html#af6a5a1a9527e907e19bd94d61e0dc2be">remember</a>(e1);</div><div class="line"><a name="l00177"></a><span class="lineno"> 177</span>  <a class="code" href="group__ZYPP__THROW.html#gaf8c3a87d63dd4f26f059eddd62c22864">ZYPP_THROW</a>(e3);</div><div class="line"><a name="l00178"></a><span class="lineno"> 178</span>  }</div><div class="line"><a name="l00179"></a><span class="lineno"> 179</span> </div><div class="line"><a name="l00180"></a><span class="lineno"> 180</span>  <span class="comment">// if the provided file is a symlink, expand it (#274651)</span></div><div class="line"><a name="l00181"></a><span class="lineno"> 181</span>  <span class="comment">// (this will probably work only for file/dir and cd/dvd schemes)</span></div><div class="line"><a name="l00182"></a><span class="lineno"> 182</span>  <a class="code" href="classzypp_1_1filesystem_1_1Pathname.html">Pathname</a> isofile = <a class="code" href="namespacezypp_1_1filesystem.html#a31b400e4affff016eed68906534db627">expandlink</a>(manager.<a class="code" href="classzypp_1_1media_1_1MediaManager.html#ac44d24dc20f9b89930f065750705efe3">localPath</a>(<a class="code" href="classzypp_1_1media_1_1MediaHandler.html#afb30e86a52f0c39b1e8426c217fb4d99">_parentId</a>, <a class="code" href="classzypp_1_1media_1_1MediaISO.html#ab9edd7867581c96c689b077e79830365">_isofile</a>));</div><div class="line"><a name="l00183"></a><span class="lineno"> 183</span>  <span class="keywordflow">if</span>( isofile.<a class="code" href="classzypp_1_1filesystem_1_1Pathname.html#aaf4388add8c0f9294a7b15f0614f7656">empty</a>() || !<a class="code" href="classzypp_1_1filesystem_1_1PathInfo.html">PathInfo</a>(isofile).<a class="code" href="classzypp_1_1filesystem_1_1PathInfo.html#a76ad73c87053e421fd00b0b6bbc4ec98">isFile</a>())</div><div class="line"><a name="l00184"></a><span class="lineno"> 184</span>  {</div><div class="line"><a name="l00185"></a><span class="lineno"> 185</span>  <a class="code" href="group__ZYPP__THROW.html#gaf8c3a87d63dd4f26f059eddd62c22864">ZYPP_THROW</a>(<a class="code" href="classzypp_1_1media_1_1MediaNotSupportedException.html">MediaNotSupportedException</a>(<a class="code" href="classzypp_1_1media_1_1MediaHandler.html#a7cfb708dcbc4d3d8f8d8d152258fbb93">_url</a>));</div><div class="line"><a name="l00186"></a><span class="lineno"> 186</span>  }</div><div class="line"><a name="l00187"></a><span class="lineno"> 187</span> </div><div class="line"><a name="l00188"></a><span class="lineno"> 188</span>  <a class="code" href="structzypp_1_1RW__pointer.html">MediaSourceRef</a> media( <span class="keyword">new</span> <a class="code" href="classzypp_1_1media_1_1MediaSource.html">MediaSource</a>(<span class="stringliteral">"iso"</span>, isofile.<a class="code" href="classzypp_1_1filesystem_1_1Pathname.html#a91a822e47df9fa6f484a7b771a0b3c94">asString</a>() ) );</div><div class="line"><a name="l00189"></a><span class="lineno"> 189</span> </div><div class="line"><a name="l00190"></a><span class="lineno"> 190</span>  <a class="code" href="structzypp_1_1media_1_1AttachedMedia.html">AttachedMedia</a> ret( <a class="code" href="classzypp_1_1media_1_1MediaHandler.html#ad899dfad84e78bb80ae8e7302aae752f">findAttachedMedia</a>(media));</div><div class="line"><a name="l00191"></a><span class="lineno"> 191</span>  <span class="keywordflow">if</span>( ret.<a class="code" href="structzypp_1_1media_1_1AttachedMedia.html#a28d43e50d3499387f3374fd186a16642">mediaSource</a> &&</div><div class="line"><a name="l00192"></a><span class="lineno"> 192</span>  ret.<a class="code" href="structzypp_1_1media_1_1AttachedMedia.html#a88490a2ee6865c34353660a0e7d2b691">attachPoint</a> &&</div><div class="line"><a name="l00193"></a><span class="lineno"> 193</span>  !ret.<a class="code" href="structzypp_1_1media_1_1AttachedMedia.html#a88490a2ee6865c34353660a0e7d2b691">attachPoint</a>->empty())</div><div class="line"><a name="l00194"></a><span class="lineno"> 194</span>  {</div><div class="line"><a name="l00195"></a><span class="lineno"> 195</span>  <a class="code" href="group__ZYPP__BASE__LOGGER__MACROS.html#ga49606be7356624568932ec81c0d429f4">DBG</a> << <span class="stringliteral">"Using a shared media "</span></div><div class="line"><a name="l00196"></a><span class="lineno"> 196</span>  << ret.<a class="code" href="structzypp_1_1media_1_1AttachedMedia.html#a28d43e50d3499387f3374fd186a16642">mediaSource</a>->name</div><div class="line"><a name="l00197"></a><span class="lineno"> 197</span>  << <span class="stringliteral">" attached on "</span></div><div class="line"><a name="l00198"></a><span class="lineno"> 198</span>  << ret.<a class="code" href="structzypp_1_1media_1_1AttachedMedia.html#a88490a2ee6865c34353660a0e7d2b691">attachPoint</a>->path</div><div class="line"><a name="l00199"></a><span class="lineno"> 199</span>  << std::endl;</div><div class="line"><a name="l00200"></a><span class="lineno"> 200</span>  <a class="code" href="classzypp_1_1media_1_1MediaHandler.html#a85f9e8bab5a1e3fcbc61e0436aa82f14">removeAttachPoint</a>();</div><div class="line"><a name="l00201"></a><span class="lineno"> 201</span>  <a class="code" href="classzypp_1_1media_1_1MediaHandler.html#a87c6c31ca9900d473167ab7468e0b008">setAttachPoint</a>(ret.<a class="code" href="structzypp_1_1media_1_1AttachedMedia.html#a88490a2ee6865c34353660a0e7d2b691">attachPoint</a>);</div><div class="line"><a name="l00202"></a><span class="lineno"> 202</span>  <a class="code" href="classzypp_1_1media_1_1MediaHandler.html#a6fbdb4561add8d76085ff4c173bd6025">setMediaSource</a>(ret.<a class="code" href="structzypp_1_1media_1_1AttachedMedia.html#a28d43e50d3499387f3374fd186a16642">mediaSource</a>);</div><div class="line"><a name="l00203"></a><span class="lineno"> 203</span>  <span class="keywordflow">return</span>;</div><div class="line"><a name="l00204"></a><span class="lineno"> 204</span>  }</div><div class="line"><a name="l00205"></a><span class="lineno"> 205</span> </div><div class="line"><a name="l00206"></a><span class="lineno"> 206</span>  <span class="keywordflow">if</span>( !<a class="code" href="classzypp_1_1media_1_1MediaHandler.html#a010623da29865f9e33f602282dae7068">isUseableAttachPoint</a>( <a class="code" href="classzypp_1_1media_1_1MediaHandler.html#a8add4c3534425ea0e8799436de34d249">attachPoint</a>() ) )</div><div class="line"><a name="l00207"></a><span class="lineno"> 207</span>  {</div><div class="line"><a name="l00208"></a><span class="lineno"> 208</span>  <a class="code" href="classzypp_1_1media_1_1MediaHandler.html#a87c6c31ca9900d473167ab7468e0b008">setAttachPoint</a>( <a class="code" href="classzypp_1_1media_1_1MediaHandler.html#a4cc866e446ca33510e14d2bdd309b10a">createAttachPoint</a>(), <span class="keyword">true</span> );</div><div class="line"><a name="l00209"></a><span class="lineno"> 209</span>  }</div><div class="line"><a name="l00210"></a><span class="lineno"> 210</span>  std::string mountpoint( <a class="code" href="classzypp_1_1media_1_1MediaHandler.html#a8add4c3534425ea0e8799436de34d249">attachPoint</a>().<a class="code" href="namespacezypp.html#a1547a676c9d1f206e0ed614d42d74c2d">asString</a>() );</div><div class="line"><a name="l00211"></a><span class="lineno"> 211</span>  std::string mountopts(<span class="stringliteral">"ro,loop"</span>);</div><div class="line"><a name="l00212"></a><span class="lineno"> 212</span> </div><div class="line"><a name="l00213"></a><span class="lineno"> 213</span>  <a class="code" href="classzypp_1_1media_1_1Mount.html">Mount</a> mount;</div><div class="line"><a name="l00214"></a><span class="lineno"> 214</span>  mount.<a class="code" href="classzypp_1_1media_1_1Mount.html#a7cdfcad97e0d7142ba42db94887f6912">mount</a>(isofile.<a class="code" href="classzypp_1_1filesystem_1_1Pathname.html#a91a822e47df9fa6f484a7b771a0b3c94">asString</a>(), mountpoint,</div><div class="line"><a name="l00215"></a><span class="lineno"> 215</span>  <a class="code" href="classzypp_1_1media_1_1MediaISO.html#a397c52133816b2194422aa9b42258501">_filesystem</a>, mountopts);</div><div class="line"><a name="l00216"></a><span class="lineno"> 216</span> </div><div class="line"><a name="l00217"></a><span class="lineno"> 217</span>  <a class="code" href="classzypp_1_1media_1_1MediaHandler.html#a6fbdb4561add8d76085ff4c173bd6025">setMediaSource</a>(media);</div><div class="line"><a name="l00218"></a><span class="lineno"> 218</span> </div><div class="line"><a name="l00219"></a><span class="lineno"> 219</span>  <span class="comment">// wait for /etc/mtab update ...</span></div><div class="line"><a name="l00220"></a><span class="lineno"> 220</span>  <span class="comment">// (shouldn't be needed)</span></div><div class="line"><a name="l00221"></a><span class="lineno"> 221</span>  <span class="keywordtype">int</span> limit = 3;</div><div class="line"><a name="l00222"></a><span class="lineno"> 222</span>  <span class="keywordtype">bool</span> mountsucceeded;</div><div class="line"><a name="l00223"></a><span class="lineno"> 223</span>  <span class="keywordflow">while</span>( !(mountsucceeded=<a class="code" href="classzypp_1_1media_1_1MediaISO.html#ab2d332074823692d8185d016c589d312">isAttached</a>()) && --limit)</div><div class="line"><a name="l00224"></a><span class="lineno"> 224</span>  {</div><div class="line"><a name="l00225"></a><span class="lineno"> 225</span>  sleep(1);</div><div class="line"><a name="l00226"></a><span class="lineno"> 226</span>  }</div><div class="line"><a name="l00227"></a><span class="lineno"> 227</span> </div><div class="line"><a name="l00228"></a><span class="lineno"> 228</span>  <span class="keywordflow">if</span>( !mountsucceeded)</div><div class="line"><a name="l00229"></a><span class="lineno"> 229</span>  {</div><div class="line"><a name="l00230"></a><span class="lineno"> 230</span>  <a class="code" href="classzypp_1_1media_1_1MediaHandler.html#a6fbdb4561add8d76085ff4c173bd6025">setMediaSource</a>(<a class="code" href="namespacezypp_1_1media.html#a15171bbedd1533efec973d9fb23319be">MediaSourceRef</a>());</div><div class="line"><a name="l00231"></a><span class="lineno"> 231</span>  <span class="keywordflow">try</span></div><div class="line"><a name="l00232"></a><span class="lineno"> 232</span>  {</div><div class="line"><a name="l00233"></a><span class="lineno"> 233</span>  mount.<a class="code" href="classzypp_1_1media_1_1Mount.html#a0d5c0038ad1f7b50ed5311f9a8bc44e1">umount</a>(<a class="code" href="classzypp_1_1media_1_1MediaHandler.html#a8add4c3534425ea0e8799436de34d249">attachPoint</a>().<a class="code" href="namespacezypp.html#a1547a676c9d1f206e0ed614d42d74c2d">asString</a>());</div><div class="line"><a name="l00234"></a><span class="lineno"> 234</span>  manager.<a class="code" href="classzypp_1_1media_1_1MediaManager.html#a6a2c0fede9e2cec6a52b26d615c83099">release</a>(<a class="code" href="classzypp_1_1media_1_1MediaHandler.html#afb30e86a52f0c39b1e8426c217fb4d99">_parentId</a>);</div><div class="line"><a name="l00235"></a><span class="lineno"> 235</span>  }</div><div class="line"><a name="l00236"></a><span class="lineno"> 236</span>  <span class="keywordflow">catch</span> (<span class="keyword">const</span> <a class="code" href="classzypp_1_1media_1_1MediaException.html">MediaException</a> & excpt_r)</div><div class="line"><a name="l00237"></a><span class="lineno"> 237</span>  {</div><div class="line"><a name="l00238"></a><span class="lineno"> 238</span>  <a class="code" href="group__ZYPP__THROW.html#ga0a6d828c3e5802c5ca1ab6f5a86e9fc1">ZYPP_CAUGHT</a>(excpt_r);</div><div class="line"><a name="l00239"></a><span class="lineno"> 239</span>  }</div><div class="line"><a name="l00240"></a><span class="lineno"> 240</span>  <a class="code" href="group__ZYPP__THROW.html#gaf8c3a87d63dd4f26f059eddd62c22864">ZYPP_THROW</a>(<a class="code" href="classzypp_1_1media_1_1MediaMountException.html">MediaMountException</a>(</div><div class="line"><a name="l00241"></a><span class="lineno"> 241</span>  <span class="stringliteral">"Unable to verify that the media was mounted"</span>,</div><div class="line"><a name="l00242"></a><span class="lineno"> 242</span>  isofile.<a class="code" href="classzypp_1_1filesystem_1_1Pathname.html#a91a822e47df9fa6f484a7b771a0b3c94">asString</a>(), mountpoint</div><div class="line"><a name="l00243"></a><span class="lineno"> 243</span>  ));</div><div class="line"><a name="l00244"></a><span class="lineno"> 244</span>  }</div><div class="line"><a name="l00245"></a><span class="lineno"> 245</span>  }</div><div class="line"><a name="l00246"></a><span class="lineno"> 246</span> </div><div class="line"><a name="l00247"></a><span class="lineno"> 247</span>  <span class="comment">// ---------------------------------------------------------------</span></div><div class="line"><a name="l00248"></a><span class="lineno"> 248</span> </div><div class="line"><a name="l00249"></a><span class="lineno"><a class="line" href="classzypp_1_1media_1_1MediaISO.html#a3301c67c25d27ddfb0825a81ab449ccf"> 249</a></span>  <span class="keywordtype">void</span> <a class="code" href="classzypp_1_1media_1_1MediaISO.html#a3301c67c25d27ddfb0825a81ab449ccf">MediaISO::releaseFrom</a>(<span class="keyword">const</span> std::string & ejectDev)</div><div class="line"><a name="l00250"></a><span class="lineno"> 250</span>  {</div><div class="line"><a name="l00251"></a><span class="lineno"> 251</span>  <a class="code" href="classzypp_1_1media_1_1Mount.html">Mount</a> mount;</div><div class="line"><a name="l00252"></a><span class="lineno"> 252</span>  mount.<a class="code" href="classzypp_1_1media_1_1Mount.html#a0d5c0038ad1f7b50ed5311f9a8bc44e1">umount</a>(<a class="code" href="classzypp_1_1media_1_1MediaHandler.html#a8add4c3534425ea0e8799436de34d249">attachPoint</a>().<a class="code" href="namespacezypp.html#a1547a676c9d1f206e0ed614d42d74c2d">asString</a>());</div><div class="line"><a name="l00253"></a><span class="lineno"> 253</span> </div><div class="line"><a name="l00254"></a><span class="lineno"> 254</span>  <span class="keywordflow">if</span>( <a class="code" href="classzypp_1_1media_1_1MediaHandler.html#afb30e86a52f0c39b1e8426c217fb4d99">_parentId</a>)</div><div class="line"><a name="l00255"></a><span class="lineno"> 255</span>  {</div><div class="line"><a name="l00256"></a><span class="lineno"> 256</span>  <span class="comment">// Unmounting the iso already succeeded,</span></div><div class="line"><a name="l00257"></a><span class="lineno"> 257</span>  <span class="comment">// so don't let exceptions escape.</span></div><div class="line"><a name="l00258"></a><span class="lineno"> 258</span>  <a class="code" href="classzypp_1_1media_1_1MediaManager.html">MediaManager</a> manager;</div><div class="line"><a name="l00259"></a><span class="lineno"> 259</span>  <span class="keywordflow">try</span></div><div class="line"><a name="l00260"></a><span class="lineno"> 260</span>  {</div><div class="line"><a name="l00261"></a><span class="lineno"> 261</span>  manager.<a class="code" href="classzypp_1_1media_1_1MediaManager.html#a6a2c0fede9e2cec6a52b26d615c83099">release</a>(<a class="code" href="classzypp_1_1media_1_1MediaHandler.html#afb30e86a52f0c39b1e8426c217fb4d99">_parentId</a>);</div><div class="line"><a name="l00262"></a><span class="lineno"> 262</span>  }</div><div class="line"><a name="l00263"></a><span class="lineno"> 263</span>  <span class="keywordflow">catch</span> ( <span class="keyword">const</span> <a class="code" href="classzypp_1_1Exception.html">Exception</a> & excpt_r )</div><div class="line"><a name="l00264"></a><span class="lineno"> 264</span>  {</div><div class="line"><a name="l00265"></a><span class="lineno"> 265</span>  <a class="code" href="group__ZYPP__THROW.html#ga0a6d828c3e5802c5ca1ab6f5a86e9fc1">ZYPP_CAUGHT</a>( excpt_r );</div><div class="line"><a name="l00266"></a><span class="lineno"> 266</span>  <a class="code" href="group__ZYPP__BASE__LOGGER__MACROS.html#ga9423380a92639b296ea0a984ea7e1c6b">WAR</a> << <span class="stringliteral">"Not been able to cleanup the parent mount."</span> << endl;</div><div class="line"><a name="l00267"></a><span class="lineno"> 267</span>  }</div><div class="line"><a name="l00268"></a><span class="lineno"> 268</span>  }</div><div class="line"><a name="l00269"></a><span class="lineno"> 269</span>  <span class="comment">// else:</span></div><div class="line"><a name="l00270"></a><span class="lineno"> 270</span>  <span class="comment">// the media manager has reset the _parentId</span></div><div class="line"><a name="l00271"></a><span class="lineno"> 271</span>  <span class="comment">// and will destroy the parent handler itself.</span></div><div class="line"><a name="l00272"></a><span class="lineno"> 272</span>  }</div><div class="line"><a name="l00273"></a><span class="lineno"> 273</span> </div><div class="line"><a name="l00274"></a><span class="lineno"> 274</span>  <span class="comment">// ---------------------------------------------------------------</span></div><div class="line"><a name="l00275"></a><span class="lineno"><a class="line" href="classzypp_1_1media_1_1MediaISO.html#a1c9bd18c51093269eb803c6bde39db90"> 275</a></span>  <span class="keywordtype">void</span> <a class="code" href="classzypp_1_1media_1_1MediaISO.html#a1c9bd18c51093269eb803c6bde39db90">MediaISO::getFile</a>(<span class="keyword">const</span> <a class="code" href="classzypp_1_1filesystem_1_1Pathname.html">Pathname</a> &filename, <span class="keyword">const</span> <a class="code" href="classzypp_1_1ByteCount.html">ByteCount</a> &expectedFileSize_r)<span class="keyword"> const</span></div><div class="line"><a name="l00276"></a><span class="lineno"> 276</span> <span class="keyword"> </span>{</div><div class="line"><a name="l00277"></a><span class="lineno"> 277</span>  <a class="code" href="classzypp_1_1media_1_1MediaHandler.html#a57aed18b8b8737d800c2f81fb6c37045">MediaHandler::getFile</a>(filename, expectedFileSize_r);</div><div class="line"><a name="l00278"></a><span class="lineno"> 278</span>  }</div><div class="line"><a name="l00279"></a><span class="lineno"> 279</span> </div><div class="line"><a name="l00280"></a><span class="lineno"> 280</span>  <span class="comment">// ---------------------------------------------------------------</span></div><div class="line"><a name="l00281"></a><span class="lineno"><a class="line" href="classzypp_1_1media_1_1MediaISO.html#a57503661eb9b857ca3ee9f47625e67f4"> 281</a></span>  <span class="keywordtype">void</span> <a class="code" href="classzypp_1_1media_1_1MediaISO.html#a57503661eb9b857ca3ee9f47625e67f4">MediaISO::getDir</a>(<span class="keyword">const</span> <a class="code" href="classzypp_1_1filesystem_1_1Pathname.html">Pathname</a> &dirname,</div><div class="line"><a name="l00282"></a><span class="lineno"> 282</span>  <span class="keywordtype">bool</span> recurse_r)<span class="keyword"> const</span></div><div class="line"><a name="l00283"></a><span class="lineno"> 283</span> <span class="keyword"> </span>{</div><div class="line"><a name="l00284"></a><span class="lineno"> 284</span>  <a class="code" href="classzypp_1_1media_1_1MediaHandler.html#ac33fc90c22a8e526908ea0cf6d66face">MediaHandler::getDir</a>(dirname, recurse_r);</div><div class="line"><a name="l00285"></a><span class="lineno"> 285</span>  }</div><div class="line"><a name="l00286"></a><span class="lineno"> 286</span> </div><div class="line"><a name="l00287"></a><span class="lineno"> 287</span>  <span class="comment">// ---------------------------------------------------------------</span></div><div class="line"><a name="l00288"></a><span class="lineno"><a class="line" href="classzypp_1_1media_1_1MediaISO.html#af7e19f9e2c48adb3db1acdc0bb787355"> 288</a></span>  <span class="keywordtype">void</span> <a class="code" href="classzypp_1_1media_1_1MediaISO.html#af7e19f9e2c48adb3db1acdc0bb787355">MediaISO::getDirInfo</a>(std::list<std::string> &retlist,</div><div class="line"><a name="l00289"></a><span class="lineno"> 289</span>  <span class="keyword">const</span> <a class="code" href="classzypp_1_1filesystem_1_1Pathname.html">Pathname</a> &dirname,</div><div class="line"><a name="l00290"></a><span class="lineno"> 290</span>  <span class="keywordtype">bool</span> dots)<span class="keyword"> const</span></div><div class="line"><a name="l00291"></a><span class="lineno"> 291</span> <span class="keyword"> </span>{</div><div class="line"><a name="l00292"></a><span class="lineno"> 292</span>  <a class="code" href="classzypp_1_1media_1_1MediaHandler.html#af506f35396d2fb2e410e0395c7c09d13">MediaHandler::getDirInfo</a>( retlist, dirname, dots );</div><div class="line"><a name="l00293"></a><span class="lineno"> 293</span>  }</div><div class="line"><a name="l00294"></a><span class="lineno"> 294</span> </div><div class="line"><a name="l00295"></a><span class="lineno"> 295</span>  <span class="comment">// ---------------------------------------------------------------</span></div><div class="line"><a name="l00296"></a><span class="lineno"><a class="line" href="classzypp_1_1media_1_1MediaISO.html#a9f1b663f69df7c37df6e489dd4caa58d"> 296</a></span>  <span class="keywordtype">void</span> <a class="code" href="classzypp_1_1media_1_1MediaISO.html#af7e19f9e2c48adb3db1acdc0bb787355">MediaISO::getDirInfo</a>(<a class="code" href="namespacezypp_1_1filesystem.html#ade46cd05af0a1fa7e5995e321cfb586b">filesystem::DirContent</a> &retlist,</div><div class="line"><a name="l00297"></a><span class="lineno"> 297</span>  <span class="keyword">const</span> <a class="code" href="classzypp_1_1filesystem_1_1Pathname.html">Pathname</a> &dirname,</div><div class="line"><a name="l00298"></a><span class="lineno"> 298</span>  <span class="keywordtype">bool</span> dots)<span class="keyword"> const</span></div><div class="line"><a name="l00299"></a><span class="lineno"> 299</span> <span class="keyword"> </span>{</div><div class="line"><a name="l00300"></a><span class="lineno"> 300</span>  <a class="code" href="classzypp_1_1media_1_1MediaHandler.html#af506f35396d2fb2e410e0395c7c09d13">MediaHandler::getDirInfo</a>(retlist, dirname, dots);</div><div class="line"><a name="l00301"></a><span class="lineno"> 301</span>  }</div><div class="line"><a name="l00302"></a><span class="lineno"> 302</span> </div><div class="line"><a name="l00303"></a><span class="lineno"><a class="line" href="classzypp_1_1media_1_1MediaISO.html#a1390add71a7508a18efb0a51650c8b04"> 303</a></span>  <span class="keywordtype">bool</span> <a class="code" href="classzypp_1_1media_1_1MediaISO.html#a1390add71a7508a18efb0a51650c8b04">MediaISO::getDoesFileExist</a>( <span class="keyword">const</span> <a class="code" href="classzypp_1_1filesystem_1_1Pathname.html">Pathname</a> & filename )<span class="keyword"> const</span></div><div class="line"><a name="l00304"></a><span class="lineno"> 304</span> <span class="keyword"> </span>{</div><div class="line"><a name="l00305"></a><span class="lineno"> 305</span>  <span class="keywordflow">return</span> <a class="code" href="classzypp_1_1media_1_1MediaHandler.html#a15837d5e67d0cb111bc00dba99945ca8">MediaHandler::getDoesFileExist</a>( filename );</div><div class="line"><a name="l00306"></a><span class="lineno"> 306</span>  }</div><div class="line"><a name="l00307"></a><span class="lineno"> 307</span> </div><div class="line"><a name="l00309"></a><span class="lineno"> 309</span>  } <span class="comment">// namespace media</span></div><div class="line"><a name="l00311"></a><span class="lineno"> 311</span> <span class="comment"></span></div><div class="line"><a name="l00313"></a><span class="lineno"> 313</span> } <span class="comment">// namespace zypp</span></div><div class="line"><a name="l00315"></a><span class="lineno"> 315</span> <span class="comment"></span></div><div class="line"><a name="l00316"></a><span class="lineno"> 316</span> <span class="comment">// vim: set ts=2 sts=2 sw=2 ai et:</span></div><div class="line"><a name="l00317"></a><span class="lineno"> 317</span> </div><div class="ttc" id="classzypp_1_1Url_html_a095ef9bbb54284f4399b5f84659a5341"><div class="ttname"><a href="classzypp_1_1Url.html#a095ef9bbb54284f4399b5f84659a5341">zypp::Url::getScheme</a></div><div class="ttdeci">std::string getScheme() const</div><div class="ttdoc">Returns the scheme name of the URL.</div><div class="ttdef"><b>Definition:</b> <a href="Url_8cc_source.html#l00527">Url.cc:527</a></div></div> <div class="ttc" id="classzypp_1_1media_1_1MediaISO_html_a3301c67c25d27ddfb0825a81ab449ccf"><div class="ttname"><a href="classzypp_1_1media_1_1MediaISO.html#a3301c67c25d27ddfb0825a81ab449ccf">zypp::media::MediaISO::releaseFrom</a></div><div class="ttdeci">virtual void releaseFrom(const std::string &ejectDev="")</div><div class="ttdoc">Call concrete handler to release the media.</div><div class="ttdef"><b>Definition:</b> <a href="MediaISO_8cc_source.html#l00249">MediaISO.cc:249</a></div></div> <div class="ttc" id="classzypp_1_1media_1_1MediaISO_html_ab2d332074823692d8185d016c589d312"><div class="ttname"><a href="classzypp_1_1media_1_1MediaISO.html#ab2d332074823692d8185d016c589d312">zypp::media::MediaISO::isAttached</a></div><div class="ttdeci">virtual bool isAttached() const</div><div class="ttdoc">True if media is attached.</div><div class="ttdef"><b>Definition:</b> <a href="MediaISO_8cc_source.html#l00142">MediaISO.cc:142</a></div></div> <div class="ttc" id="group__ZYPP__BASE__LOGGER__MACROS_html_ga552f8ec9d8e5b4efa04839a129104818"><div class="ttname"><a href="group__ZYPP__BASE__LOGGER__MACROS.html#ga552f8ec9d8e5b4efa04839a129104818">MIL</a></div><div class="ttdeci">#define MIL</div><div class="ttdef"><b>Definition:</b> <a href="Logger_8h_source.html#l00079">Logger.h:79</a></div></div> <div class="ttc" id="classzypp_1_1media_1_1MediaUnsupportedUrlSchemeException_html"><div class="ttname"><a href="classzypp_1_1media_1_1MediaUnsupportedUrlSchemeException.html">zypp::media::MediaUnsupportedUrlSchemeException</a></div><div class="ttdef"><b>Definition:</b> <a href="MediaException_8h_source.html#l00318">MediaException.h:318</a></div></div> <div class="ttc" id="classzypp_1_1media_1_1Mount_html"><div class="ttname"><a href="classzypp_1_1media_1_1Mount.html">zypp::media::Mount</a></div><div class="ttdoc">Interface to the mount program.</div><div class="ttdef"><b>Definition:</b> <a href="Mount_8h_source.html#l00069">Mount.h:69</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< Tp, TInitial > &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="classzypp_1_1media_1_1MediaHandler_html_ac33fc90c22a8e526908ea0cf6d66face"><div class="ttname"><a href="classzypp_1_1media_1_1MediaHandler.html#ac33fc90c22a8e526908ea0cf6d66face">zypp::media::MediaHandler::getDir</a></div><div class="ttdeci">virtual void getDir(const Pathname &dirname, bool recurse_r) const =0</div><div class="ttdoc">Call concrete handler to provide directory content (not recursive!) below attach point.</div><div class="ttdef"><b>Definition:</b> <a href="MediaHandler_8cc_source.html#l01269">MediaHandler.cc:1269</a></div></div> <div class="ttc" id="classzypp_1_1filesystem_1_1PathInfo_html_a76ad73c87053e421fd00b0b6bbc4ec98"><div class="ttname"><a href="classzypp_1_1filesystem_1_1PathInfo.html#a76ad73c87053e421fd00b0b6bbc4ec98">zypp::filesystem::PathInfo::isFile</a></div><div class="ttdeci">bool isFile() const</div><div class="ttdef"><b>Definition:</b> <a href="PathInfo_8h_source.html#l00289">PathInfo.h:289</a></div></div> <div class="ttc" id="classzypp_1_1ByteCount_html"><div class="ttname"><a href="classzypp_1_1ByteCount.html">zypp::ByteCount</a></div><div class="ttdoc">Store and operate with byte count.</div><div class="ttdef"><b>Definition:</b> <a href="ByteCount_8h_source.html#l00030">ByteCount.h:30</a></div></div> <div class="ttc" id="namespacezypp_1_1media_html_a15171bbedd1533efec973d9fb23319be"><div class="ttname"><a href="namespacezypp_1_1media.html#a15171bbedd1533efec973d9fb23319be">zypp::media::MediaSourceRef</a></div><div class="ttdeci">zypp::RW_pointer< MediaSource > MediaSourceRef</div><div class="ttdef"><b>Definition:</b> <a href="MediaSource_8h_source.html#l00124">MediaSource.h:124</a></div></div> <div class="ttc" id="classzypp_1_1media_1_1MediaHandler_html_a87c6c31ca9900d473167ab7468e0b008"><div class="ttname"><a href="classzypp_1_1media_1_1MediaHandler.html#a87c6c31ca9900d473167ab7468e0b008">zypp::media::MediaHandler::setAttachPoint</a></div><div class="ttdeci">void setAttachPoint(const Pathname &path, bool temp)</div><div class="ttdoc">Set a new attach point.</div><div class="ttdef"><b>Definition:</b> <a href="MediaHandler_8cc_source.html#l00231">MediaHandler.cc:231</a></div></div> <div class="ttc" id="classzypp_1_1media_1_1MediaISO_html_a397c52133816b2194422aa9b42258501"><div class="ttname"><a href="classzypp_1_1media_1_1MediaISO.html#a397c52133816b2194422aa9b42258501">zypp::media::MediaISO::_filesystem</a></div><div class="ttdeci">std::string _filesystem</div><div class="ttdef"><b>Definition:</b> <a href="MediaISO_8h_source.html#l00040">MediaISO.h:40</a></div></div> <div class="ttc" id="classzypp_1_1media_1_1MediaHandler_html_a010623da29865f9e33f602282dae7068"><div class="ttname"><a href="classzypp_1_1media_1_1MediaHandler.html#a010623da29865f9e33f602282dae7068">zypp::media::MediaHandler::isUseableAttachPoint</a></div><div class="ttdeci">bool isUseableAttachPoint(const Pathname &path, bool mtab=true) const</div><div class="ttdoc">Ask media manager, if the specified path is already used as attach point or if there are another atta...</div><div class="ttdef"><b>Definition:</b> <a href="MediaHandler_8cc_source.html#l00447">MediaHandler.cc:447</a></div></div> <div class="ttc" id="namespacezypp_1_1url_html_a8de05190510c0031660746e1768a5a40"><div class="ttname"><a href="namespacezypp_1_1url.html#a8de05190510c0031660746e1768a5a40">zypp::url::encode</a></div><div class="ttdeci">std::string encode(const std::string &str, const std::string &safe, EEncoding eflag)</div><div class="ttdoc">Encodes a string using URL percent encoding.</div><div class="ttdef"><b>Definition:</b> <a href="UrlUtils_8cc_source.html#l00032">UrlUtils.cc:32</a></div></div> <div class="ttc" id="classzypp_1_1url_1_1UrlException_html"><div class="ttname"><a href="classzypp_1_1url_1_1UrlException.html">zypp::url::UrlException</a></div><div class="ttdoc">Base class for all URL exceptions.</div><div class="ttdef"><b>Definition:</b> <a href="UrlException_8h_source.html#l00031">UrlException.h:31</a></div></div> <div class="ttc" id="classzypp_1_1media_1_1MediaManager_html_a3aea962eda76504d5d5d614ff09edcaf"><div class="ttname"><a href="classzypp_1_1media_1_1MediaManager.html#a3aea962eda76504d5d5d614ff09edcaf">zypp::media::MediaManager::isOpen</a></div><div class="ttdeci">bool isOpen(MediaAccessId accessId) const</div><div class="ttdoc">Query if the media access is open / exists.</div><div class="ttdef"><b>Definition:</b> <a href="MediaManager_8cc_source.html#l00309">MediaManager.cc:309</a></div></div> <div class="ttc" id="MediaISO_8h_html"><div class="ttname"><a href="MediaISO_8h.html">MediaISO.h</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 &filename, const ByteCount &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_1filesystem_1_1Pathname_html_aadebdd3728a6ed5d80f001863b263e23"><div class="ttname"><a href="classzypp_1_1filesystem_1_1Pathname.html#aadebdd3728a6ed5d80f001863b263e23">zypp::filesystem::Pathname::basename</a></div><div class="ttdeci">std::string basename() const</div><div class="ttdoc">Return the last component of this path.</div><div class="ttdef"><b>Definition:</b> <a href="Pathname_8h_source.html#l00127">Pathname.h:127</a></div></div> <div class="ttc" id="classzypp_1_1media_1_1MediaHandler_html_a84980af7ffd1aab5d7fd15f6eb58c228"><div class="ttname"><a href="classzypp_1_1media_1_1MediaHandler.html#a84980af7ffd1aab5d7fd15f6eb58c228">zypp::media::MediaHandler::checkAttached</a></div><div class="ttdeci">bool checkAttached(bool matchMountFs) const</div><div class="ttdoc">Check actual mediaSource attachment against the current mount table of the system.</div><div class="ttdef"><b>Definition:</b> <a href="MediaHandler_8cc_source.html#l00510">MediaHandler.cc:510</a></div></div> <div class="ttc" id="classzypp_1_1media_1_1MediaBadUrlEmptyDestinationException_html"><div class="ttname"><a href="classzypp_1_1media_1_1MediaBadUrlEmptyDestinationException.html">zypp::media::MediaBadUrlEmptyDestinationException</a></div><div class="ttdef"><b>Definition:</b> <a href="MediaException_8h_source.html#l00307">MediaException.h:307</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="classzypp_1_1media_1_1Mount_html_a7cdfcad97e0d7142ba42db94887f6912"><div class="ttname"><a href="classzypp_1_1media_1_1Mount.html#a7cdfcad97e0d7142ba42db94887f6912">zypp::media::Mount::mount</a></div><div class="ttdeci">void mount(const std::string &source, const std::string &target, const std::string &filesystem, const std::string &options, const Environment &environment=Environment())</div><div class="ttdoc">mount device</div><div class="ttdef"><b>Definition:</b> <a href="Mount_8cc_source.html#l00066">Mount.cc:66</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 &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="classzypp_1_1Exception_html_af6a5a1a9527e907e19bd94d61e0dc2be"><div class="ttname"><a href="classzypp_1_1Exception.html#af6a5a1a9527e907e19bd94d61e0dc2be">zypp::Exception::remember</a></div><div class="ttdeci">void remember(const Exception &old_r)</div><div class="ttdoc">Store an other Exception as history.</div><div class="ttdef"><b>Definition:</b> <a href="Exception_8cc_source.html#l00105">Exception.cc:105</a></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 &ejectDev="")</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="classzypp_1_1filesystem_1_1Pathname_html_aaf4388add8c0f9294a7b15f0614f7656"><div class="ttname"><a href="classzypp_1_1filesystem_1_1Pathname.html#aaf4388add8c0f9294a7b15f0614f7656">zypp::filesystem::Pathname::empty</a></div><div class="ttdeci">bool empty() const</div><div class="ttdoc">Test for an empty path.</div><div class="ttdef"><b>Definition:</b> <a href="Pathname_8h_source.html#l00113">Pathname.h:113</a></div></div> <div class="ttc" id="classzypp_1_1Url_html_a5100654d6dea15cb9bff796125a7bd57"><div class="ttname"><a href="classzypp_1_1Url.html#a5100654d6dea15cb9bff796125a7bd57">zypp::Url::setPathName</a></div><div class="ttdeci">void setPathName(const std::string &path, EEncoding eflag=zypp::url::E_DECODED)</div><div class="ttdoc">Set the path name.</div><div class="ttdef"><b>Definition:</b> <a href="Url_8cc_source.html#l00758">Url.cc:758</a></div></div> <div class="ttc" id="structzypp_1_1media_1_1AttachedMedia_html_a88490a2ee6865c34353660a0e7d2b691"><div class="ttname"><a href="structzypp_1_1media_1_1AttachedMedia.html#a88490a2ee6865c34353660a0e7d2b691">zypp::media::AttachedMedia::attachPoint</a></div><div class="ttdeci">AttachPointRef attachPoint</div><div class="ttdef"><b>Definition:</b> <a href="MediaSource_8h_source.html#l00145">MediaSource.h:145</a></div></div> <div class="ttc" id="classzypp_1_1Url_html_a16dc1d5dea84e9294a53314543a3aaa5"><div class="ttname"><a href="classzypp_1_1Url.html#a16dc1d5dea84e9294a53314543a3aaa5">zypp::Url::asString</a></div><div class="ttdeci">std::string asString() const</div><div class="ttdoc">Returns a default string representation of the Url object.</div><div class="ttdef"><b>Definition:</b> <a href="Url_8cc_source.html#l00491">Url.cc:491</a></div></div> <div class="ttc" id="classzypp_1_1media_1_1MediaISO_html_a57503661eb9b857ca3ee9f47625e67f4"><div class="ttname"><a href="classzypp_1_1media_1_1MediaISO.html#a57503661eb9b857ca3ee9f47625e67f4">zypp::media::MediaISO::getDir</a></div><div class="ttdeci">virtual void getDir(const Pathname &dirname, bool recurse_r) const</div><div class="ttdoc">Call concrete handler to provide directory content (not recursive!) below attach point.</div><div class="ttdef"><b>Definition:</b> <a href="MediaISO_8cc_source.html#l00281">MediaISO.cc:281</a></div></div> <div class="ttc" id="classzypp_1_1Url_html_a4b2a104d35d9f7fd4e12117f0d7da2db"><div class="ttname"><a href="classzypp_1_1Url.html#a4b2a104d35d9f7fd4e12117f0d7da2db">zypp::Url::getQueryParam</a></div><div class="ttdeci">std::string getQueryParam(const std::string &param, EEncoding eflag=zypp::url::E_DECODED) const</div><div class="ttdoc">Return the value for the specified query parameter.</div><div class="ttdef"><b>Definition:</b> <a href="Url_8cc_source.html#l00654">Url.cc:654</a></div></div> <div class="ttc" id="structzypp_1_1media_1_1AttachedMedia_html_a28d43e50d3499387f3374fd186a16642"><div class="ttname"><a href="structzypp_1_1media_1_1AttachedMedia.html#a28d43e50d3499387f3374fd186a16642">zypp::media::AttachedMedia::mediaSource</a></div><div class="ttdeci">MediaSourceRef mediaSource</div><div class="ttdef"><b>Definition:</b> <a href="MediaSource_8h_source.html#l00144">MediaSource.h:144</a></div></div> <div class="ttc" id="classzypp_1_1media_1_1MediaHandler_html"><div class="ttname"><a href="classzypp_1_1media_1_1MediaHandler.html">zypp::media::MediaHandler</a></div><div class="ttdoc">Abstract base class for 'physical' MediaHandler like MediaCD, etc.</div><div class="ttdef"><b>Definition:</b> <a href="MediaHandler_8h_source.html#l00045">MediaHandler.h:45</a></div></div> <div class="ttc" id="structzypp_1_1media_1_1AttachedMedia_html"><div class="ttname"><a href="structzypp_1_1media_1_1AttachedMedia.html">zypp::media::AttachedMedia</a></div><div class="ttdoc">A simple structure containing references to a media source and its attach point.</div><div class="ttdef"><b>Definition:</b> <a href="MediaSource_8h_source.html#l00133">MediaSource.h:133</a></div></div> <div class="ttc" id="classzypp_1_1media_1_1MediaHandler_html_a7cfb708dcbc4d3d8f8d8d152258fbb93"><div class="ttname"><a href="classzypp_1_1media_1_1MediaHandler.html#a7cfb708dcbc4d3d8f8d8d152258fbb93">zypp::media::MediaHandler::_url</a></div><div class="ttdeci">const Url _url</div><div class="ttdoc">Url to handle.</div><div class="ttdef"><b>Definition:</b> <a href="MediaHandler_8h_source.html#l00110">MediaHandler.h:110</a></div></div> <div class="ttc" id="classzypp_1_1media_1_1MediaHandler_html_a6fbdb4561add8d76085ff4c173bd6025"><div class="ttname"><a href="classzypp_1_1media_1_1MediaHandler.html#a6fbdb4561add8d76085ff4c173bd6025">zypp::media::MediaHandler::setMediaSource</a></div><div class="ttdeci">void setMediaSource(const MediaSourceRef &ref)</div><div class="ttdoc">Set new media source reference.</div><div class="ttdef"><b>Definition:</b> <a href="MediaHandler_8cc_source.html#l00463">MediaHandler.cc:463</a></div></div> <div class="ttc" id="classzypp_1_1filesystem_1_1Pathname_html_a91a822e47df9fa6f484a7b771a0b3c94"><div class="ttname"><a href="classzypp_1_1filesystem_1_1Pathname.html#a91a822e47df9fa6f484a7b771a0b3c94">zypp::filesystem::Pathname::asString</a></div><div class="ttdeci">const std::string & asString() const</div><div class="ttdoc">String representation.</div><div class="ttdef"><b>Definition:</b> <a href="Pathname_8h_source.html#l00090">Pathname.h:90</a></div></div> <div class="ttc" id="classzypp_1_1media_1_1MediaException_html"><div class="ttname"><a href="classzypp_1_1media_1_1MediaException.html">zypp::media::MediaException</a></div><div class="ttdoc">Just inherits Exception to separate media exceptions.</div><div class="ttdef"><b>Definition:</b> <a href="MediaException_8h_source.html#l00035">MediaException.h:35</a></div></div> <div class="ttc" id="classzypp_1_1media_1_1MediaISO_html_ab9edd7867581c96c689b077e79830365"><div class="ttname"><a href="classzypp_1_1media_1_1MediaISO.html#ab9edd7867581c96c689b077e79830365">zypp::media::MediaISO::_isofile</a></div><div class="ttdeci">Pathname _isofile</div><div class="ttdef"><b>Definition:</b> <a href="MediaISO_8h_source.html#l00038">MediaISO.h:38</a></div></div> <div class="ttc" id="classzypp_1_1filesystem_1_1Pathname_html_a5cc68841952d6d462a1212119356da20"><div class="ttname"><a href="classzypp_1_1filesystem_1_1Pathname.html#a5cc68841952d6d462a1212119356da20">zypp::filesystem::Pathname::dirname</a></div><div class="ttdeci">Pathname dirname() const</div><div class="ttdoc">Return all but the last component od this path.</div><div class="ttdef"><b>Definition:</b> <a href="Pathname_8h_source.html#l00123">Pathname.h:123</a></div></div> <div class="ttc" id="group__ZYPP__BASE__LOGGER__MACROS_html_ga9423380a92639b296ea0a984ea7e1c6b"><div class="ttname"><a href="group__ZYPP__BASE__LOGGER__MACROS.html#ga9423380a92639b296ea0a984ea7e1c6b">WAR</a></div><div class="ttdeci">#define WAR</div><div class="ttdef"><b>Definition:</b> <a href="Logger_8h_source.html#l00080">Logger.h:80</a></div></div> <div class="ttc" id="namespacezypp_1_1filesystem_html_ade46cd05af0a1fa7e5995e321cfb586b"><div class="ttname"><a href="namespacezypp_1_1filesystem.html#ade46cd05af0a1fa7e5995e321cfb586b">zypp::filesystem::DirContent</a></div><div class="ttdeci">std::list< DirEntry > DirContent</div><div class="ttdoc">Returned by readdir.</div><div class="ttdef"><b>Definition:</b> <a href="PathInfo_8h_source.html#l00547">PathInfo.h:547</a></div></div> <div class="ttc" id="classzypp_1_1media_1_1MediaISO_html_a1390add71a7508a18efb0a51650c8b04"><div class="ttname"><a href="classzypp_1_1media_1_1MediaISO.html#a1390add71a7508a18efb0a51650c8b04">zypp::media::MediaISO::getDoesFileExist</a></div><div class="ttdeci">virtual bool getDoesFileExist(const Pathname &filename) const</div><div class="ttdoc">check if a file exists</div><div class="ttdef"><b>Definition:</b> <a href="MediaISO_8cc_source.html#l00303">MediaISO.cc:303</a></div></div> <div class="ttc" id="UrlUtils_8h_html_a2258bf4da520429d912996d36dc2640f"><div class="ttname"><a href="UrlUtils_8h.html#a2258bf4da520429d912996d36dc2640f">URL_SAFE_CHARS</a></div><div class="ttdeci">#define URL_SAFE_CHARS</div><div class="ttdoc">Characters that are safe for URL without percent-encoding.</div><div class="ttdef"><b>Definition:</b> <a href="UrlUtils_8h_source.html#l00022">UrlUtils.h:22</a></div></div> <div class="ttc" id="classzypp_1_1filesystem_1_1Pathname_html_a7b86043297b38b0430d6470613f51275"><div class="ttname"><a href="classzypp_1_1filesystem_1_1Pathname.html#a7b86043297b38b0430d6470613f51275">zypp::filesystem::Pathname::absolute</a></div><div class="ttdeci">bool absolute() const</div><div class="ttdoc">Test for an absolute path.</div><div class="ttdef"><b>Definition:</b> <a href="Pathname_8h_source.html#l00115">Pathname.h:115</a></div></div> <div class="ttc" id="classzypp_1_1Url_html_a6cd43bb0d10b2871650c08101392e061"><div class="ttname"><a href="classzypp_1_1Url.html#a6cd43bb0d10b2871650c08101392e061">zypp::Url::isValid</a></div><div class="ttdeci">bool isValid() const</div><div class="ttdoc">Verifies the Url.</div><div class="ttdef"><b>Definition:</b> <a href="Url_8cc_source.html#l00483">Url.cc:483</a></div></div> <div class="ttc" id="classzypp_1_1media_1_1MediaHandler_html_a85f9e8bab5a1e3fcbc61e0436aa82f14"><div class="ttname"><a href="classzypp_1_1media_1_1MediaHandler.html#a85f9e8bab5a1e3fcbc61e0436aa82f14">zypp::media::MediaHandler::removeAttachPoint</a></div><div class="ttdeci">void removeAttachPoint()</div><div class="ttdoc">Remove unused attach point.</div><div class="ttdef"><b>Definition:</b> <a href="MediaHandler_8cc_source.html#l00174">MediaHandler.cc:174</a></div></div> <div class="ttc" id="classzypp_1_1media_1_1MediaISO_html_ae77c2148113017c79007a56dac1ea53c"><div class="ttname"><a href="classzypp_1_1media_1_1MediaISO.html#ae77c2148113017c79007a56dac1ea53c">zypp::media::MediaISO::attachTo</a></div><div class="ttdeci">virtual void attachTo(bool next=false)</div><div class="ttdoc">Call concrete handler to attach the media.</div><div class="ttdef"><b>Definition:</b> <a href="MediaISO_8cc_source.html#l00148">MediaISO.cc:148</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_1media_1_1MediaSource_html"><div class="ttname"><a href="classzypp_1_1media_1_1MediaSource.html">zypp::media::MediaSource</a></div><div class="ttdoc">Media source internally used by MediaManager and MediaHandler.</div><div class="ttdef"><b>Definition:</b> <a href="MediaSource_8h_source.html#l00036">MediaSource.h:36</a></div></div> <div class="ttc" id="group__ZYPP__THROW_html_ga0a6d828c3e5802c5ca1ab6f5a86e9fc1"><div class="ttname"><a href="group__ZYPP__THROW.html#ga0a6d828c3e5802c5ca1ab6f5a86e9fc1">ZYPP_CAUGHT</a></div><div class="ttdeci">#define ZYPP_CAUGHT(EXCPT)</div><div class="ttdoc">Drops a logline telling the Exception was caught (in order to handle it).</div><div class="ttdef"><b>Definition:</b> <a href="Exception_8h_source.html#l00396">Exception.h:396</a></div></div> <div class="ttc" id="classzypp_1_1media_1_1MediaMountException_html"><div class="ttname"><a href="classzypp_1_1media_1_1MediaMountException.html">zypp::media::MediaMountException</a></div><div class="ttdef"><b>Definition:</b> <a href="MediaException_8h_source.html#l00054">MediaException.h:54</a></div></div> <div class="ttc" id="classzypp_1_1media_1_1MediaNotSupportedException_html"><div class="ttname"><a href="classzypp_1_1media_1_1MediaNotSupportedException.html">zypp::media::MediaNotSupportedException</a></div><div class="ttdef"><b>Definition:</b> <a href="MediaException_8h_source.html#l00329">MediaException.h:329</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="classzypp_1_1media_1_1MediaHandler_html_af506f35396d2fb2e410e0395c7c09d13"><div class="ttname"><a href="classzypp_1_1media_1_1MediaHandler.html#af506f35396d2fb2e410e0395c7c09d13">zypp::media::MediaHandler::getDirInfo</a></div><div class="ttdeci">virtual void getDirInfo(std::list< std::string > &retlist, const Pathname &dirname, bool dots=true) const =0</div><div class="ttdoc">Call concrete handler to provide a content list of directory on media via retlist.</div><div class="ttdef"><b>Definition:</b> <a href="MediaHandler_8cc_source.html#l01291">MediaHandler.cc:1291</a></div></div> <div class="ttc" id="classzypp_1_1media_1_1MediaHandler_html_a15837d5e67d0cb111bc00dba99945ca8"><div class="ttname"><a href="classzypp_1_1media_1_1MediaHandler.html#a15837d5e67d0cb111bc00dba99945ca8">zypp::media::MediaHandler::getDoesFileExist</a></div><div class="ttdeci">virtual bool getDoesFileExist(const Pathname &filename) const =0</div><div class="ttdoc">check if a file exists</div><div class="ttdef"><b>Definition:</b> <a href="MediaHandler_8cc_source.html#l01376">MediaHandler.cc:1376</a></div></div> <div class="ttc" id="classzypp_1_1media_1_1MediaHandler_html_ad899dfad84e78bb80ae8e7302aae752f"><div class="ttname"><a href="classzypp_1_1media_1_1MediaHandler.html#ad899dfad84e78bb80ae8e7302aae752f">zypp::media::MediaHandler::findAttachedMedia</a></div><div class="ttdeci">AttachedMedia findAttachedMedia(const MediaSourceRef &media) const</div><div class="ttdoc">Ask the media manager if specified media source is already attached.</div><div class="ttdef"><b>Definition:</b> <a href="MediaHandler_8cc_source.html#l00300">MediaHandler.cc:300</a></div></div> <div class="ttc" id="classzypp_1_1Exception_html"><div class="ttname"><a href="classzypp_1_1Exception.html">zypp::Exception</a></div><div class="ttdoc">Base class for Exception.</div><div class="ttdef"><b>Definition:</b> <a href="Exception_8h_source.html#l00145">Exception.h:145</a></div></div> <div class="ttc" id="classzypp_1_1media_1_1MediaHandler_html_a8add4c3534425ea0e8799436de34d249"><div class="ttname"><a href="classzypp_1_1media_1_1MediaHandler.html#a8add4c3534425ea0e8799436de34d249">zypp::media::MediaHandler::attachPoint</a></div><div class="ttdeci">Pathname attachPoint() const</div><div class="ttdoc">Return the currently used attach point.</div><div class="ttdef"><b>Definition:</b> <a href="MediaHandler_8cc_source.html#l00216">MediaHandler.cc:216</a></div></div> <div class="ttc" id="classzypp_1_1media_1_1MediaISO_html_af7e19f9e2c48adb3db1acdc0bb787355"><div class="ttname"><a href="classzypp_1_1media_1_1MediaISO.html#af7e19f9e2c48adb3db1acdc0bb787355">zypp::media::MediaISO::getDirInfo</a></div><div class="ttdeci">virtual void getDirInfo(std::list< std::string > &retlist, const Pathname &dirname, bool dots=true) const</div><div class="ttdoc">Call concrete handler to provide a content list of directory on media via retlist.</div><div class="ttdef"><b>Definition:</b> <a href="MediaISO_8cc_source.html#l00288">MediaISO.cc:288</a></div></div> <div class="ttc" id="classzypp_1_1media_1_1MediaISO_html_a1c9bd18c51093269eb803c6bde39db90"><div class="ttname"><a href="classzypp_1_1media_1_1MediaISO.html#a1c9bd18c51093269eb803c6bde39db90">zypp::media::MediaISO::getFile</a></div><div class="ttdeci">virtual void getFile(const Pathname &filename, const ByteCount &expectedFileSize_r) const</div><div class="ttdoc">Call concrete handler to provide file below attach point.</div><div class="ttdef"><b>Definition:</b> <a href="MediaISO_8cc_source.html#l00275">MediaISO.cc:275</a></div></div> <div class="ttc" id="classzypp_1_1media_1_1MediaHandler_html_afb30e86a52f0c39b1e8426c217fb4d99"><div class="ttname"><a href="classzypp_1_1media_1_1MediaHandler.html#afb30e86a52f0c39b1e8426c217fb4d99">zypp::media::MediaHandler::_parentId</a></div><div class="ttdeci">MediaAccessId _parentId</div><div class="ttdoc">Access Id of media handler we depend on.</div><div class="ttdef"><b>Definition:</b> <a href="MediaHandler_8h_source.html#l00115">MediaHandler.h:115</a></div></div> <div class="ttc" id="structzypp_1_1RW__pointer_html"><div class="ttname"><a href="structzypp_1_1RW__pointer.html">zypp::RW_pointer< MediaSource ></a></div></div> <div class="ttc" id="classzypp_1_1media_1_1MediaBadUrlException_html"><div class="ttname"><a href="classzypp_1_1media_1_1MediaBadUrlException.html">zypp::media::MediaBadUrlException</a></div><div class="ttdef"><b>Definition:</b> <a href="MediaException_8h_source.html#l00269">MediaException.h:269</a></div></div> <div class="ttc" id="classzypp_1_1filesystem_1_1PathInfo_html"><div class="ttname"><a href="classzypp_1_1filesystem_1_1PathInfo.html">zypp::filesystem::PathInfo</a></div><div class="ttdoc">Wrapper class for ::stat/::lstat.</div><div class="ttdef"><b>Definition:</b> <a href="PathInfo_8h_source.html#l00220">PathInfo.h:220</a></div></div> <div class="ttc" id="classzypp_1_1media_1_1MediaHandler_html_a57aed18b8b8737d800c2f81fb6c37045"><div class="ttname"><a href="classzypp_1_1media_1_1MediaHandler.html#a57aed18b8b8737d800c2f81fb6c37045">zypp::media::MediaHandler::getFile</a></div><div class="ttdeci">virtual void getFile(const Pathname &filename, const ByteCount &expectedFileSize_r) const</div><div class="ttdoc">Call concrete handler to provide file below attach point.</div><div class="ttdef"><b>Definition:</b> <a href="MediaHandler_8cc_source.html#l01235">MediaHandler.cc:1235</a></div></div> <div class="ttc" id="namespacezypp_1_1filesystem_html_a31b400e4affff016eed68906534db627"><div class="ttname"><a href="namespacezypp_1_1filesystem.html#a31b400e4affff016eed68906534db627">zypp::filesystem::expandlink</a></div><div class="ttdeci">Pathname expandlink(const Pathname &path_r)</div><div class="ttdoc">Recursively follows the symlink pointed to by path_r and returns the Pathname to the real file or dir...</div><div class="ttdef"><b>Definition:</b> <a href="PathInfo_8cc_source.html#l00898">PathInfo.cc:898</a></div></div> <div class="ttc" id="classzypp_1_1media_1_1MediaHandler_html_a4cc866e446ca33510e14d2bdd309b10a"><div class="ttname"><a href="classzypp_1_1media_1_1MediaHandler.html#a4cc866e446ca33510e14d2bdd309b10a">zypp::media::MediaHandler::createAttachPoint</a></div><div class="ttdeci">Pathname createAttachPoint() const</div><div class="ttdoc">Try to create a default / temporary attach point.</div><div class="ttdef"><b>Definition:</b> <a href="MediaHandler_8cc_source.html#l00343">MediaHandler.cc:343</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="classzypp_1_1media_1_1MediaHandler_html_a82cf1d0e81f43e682b61ca322d3d48db"><div class="ttname"><a href="classzypp_1_1media_1_1MediaHandler.html#a82cf1d0e81f43e682b61ca322d3d48db">zypp::media::MediaHandler::release</a></div><div class="ttdeci">void release(const std::string &ejectDev="")</div><div class="ttdoc">Use concrete handler to release the media.</div><div class="ttdef"><b>Definition:</b> <a href="MediaHandler_8cc_source.html#l00741">MediaHandler.cc:741</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 &url, const Pathname &preferred_attach_point="")</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_1media_1_1MediaISO_html_afeaacee9c3fe7eafc0aec0b9b2db651d"><div class="ttname"><a href="classzypp_1_1media_1_1MediaISO.html#afeaacee9c3fe7eafc0aec0b9b2db651d">zypp::media::MediaISO::~MediaISO</a></div><div class="ttdeci">virtual ~MediaISO()</div><div class="ttdef"><b>Definition:</b> <a href="MediaISO_8cc_source.html#l00121">MediaISO.cc:121</a></div></div> <div class="ttc" id="Mount_8h_html"><div class="ttname"><a href="Mount_8h.html">Mount.h</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_1Mount_html_a0d5c0038ad1f7b50ed5311f9a8bc44e1"><div class="ttname"><a href="classzypp_1_1media_1_1Mount.html#a0d5c0038ad1f7b50ed5311f9a8bc44e1">zypp::media::Mount::umount</a></div><div class="ttdeci">void umount(const std::string &path)</div><div class="ttdoc">umount device</div><div class="ttdef"><b>Definition:</b> <a href="Mount_8cc_source.html#l00162">Mount.cc:162</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 class="ttc" id="group__ZYPP__BASE__LOGGER__MACROS_html_ga49606be7356624568932ec81c0d429f4"><div class="ttname"><a href="group__ZYPP__BASE__LOGGER__MACROS.html#ga49606be7356624568932ec81c0d429f4">DBG</a></div><div class="ttdeci">#define DBG</div><div class="ttdef"><b>Definition:</b> <a href="Logger_8h_source.html#l00078">Logger.h:78</a></div></div> <div class="ttc" id="classzypp_1_1media_1_1MediaISO_html_a0847cf117d673ab679b99139f3cec8e7"><div class="ttname"><a href="classzypp_1_1media_1_1MediaISO.html#a0847cf117d673ab679b99139f3cec8e7">zypp::media::MediaISO::MediaISO</a></div><div class="ttdeci">MediaISO(const Url &url_r, const Pathname &attach_point_hint_r)</div><div class="ttdef"><b>Definition:</b> <a href="MediaISO_8cc_source.html#l00044">MediaISO.cc:44</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_e5855dea3351ea26b1c2dbf0da3539de.html">media</a></li><li class="navelem"><a class="el" href="MediaISO_8cc.html">MediaISO.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>