<!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/target/modalias/Modalias.cc File Reference</title> <link href="tabs.css" rel="stylesheet" type="text/css"/> <script type="text/javascript" src="jquery.js"></script> <script type="text/javascript" src="dynsections.js"></script> <link href="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('Modalias_8cc.html','');}); /* @license-end */ </script> <div id="doc-content"> <div class="header"> <div class="summary"> <a href="#nested-classes">Classes</a> | <a href="#namespaces">Namespaces</a> | <a href="#define-members">Macros</a> | <a href="#func-members">Functions</a> </div> <div class="headertitle"> <div class="title">Modalias.cc File Reference</div> </div> </div><!--header--> <div class="contents"> <div class="textblock"><code>#include <fnmatch.h></code><br /> <code>#include <iostream></code><br /> <code>#include <fstream></code><br /> <code>#include <vector></code><br /> <code>#include "<a class="el" href="LogTools_8h_source.html">zypp/base/LogTools.h</a>"</code><br /> <code>#include "<a class="el" href="IOStream_8h_source.html">zypp/base/IOStream.h</a>"</code><br /> <code>#include "<a class="el" href="InputStream_8h_source.html">zypp/base/InputStream.h</a>"</code><br /> <code>#include "<a class="el" href="AutoDispose_8h_source.html">zypp/AutoDispose.h</a>"</code><br /> <code>#include "<a class="el" href="PathInfo_8h_source.html">zypp/PathInfo.h</a>"</code><br /> <code>#include "<a class="el" href="Modalias_8h_source.html">zypp/target/modalias/Modalias.h</a>"</code><br /> </div><div class="textblock"><div class="dynheader"> Include dependency graph for Modalias.cc:</div> <div class="dyncontent"> <div class="center"><img src="Modalias_8cc__incl.png" border="0" usemap="#zypp_2target_2modalias_2Modalias_8cc" alt=""/></div> <map name="zypp_2target_2modalias_2Modalias_8cc" id="zypp_2target_2modalias_2Modalias_8cc"> <area shape="rect" title=" " alt="" coords="1799,5,1951,47"/> <area shape="rect" title=" " alt="" coords="1421,95,1506,121"/> <area shape="rect" title=" " alt="" coords="289,251,363,278"/> <area shape="rect" title=" " alt="" coords="1637,95,1706,121"/> <area shape="rect" title=" " alt="" coords="1749,341,1807,367"/> <area shape="rect" href="LogTools_8h.html" title=" " alt="" coords="1581,169,1738,196"/> <area shape="rect" href="IOStream_8h.html" title=" " alt="" coords="2357,95,2516,121"/> <area shape="rect" href="InputStream_8h.html" title=" " alt="" coords="3023,251,3199,278"/> <area shape="rect" href="AutoDispose_8h.html" title=" " alt="" coords="2602,251,2746,278"/> <area shape="rect" href="PathInfo_8h.html" title=" " alt="" coords="3519,169,3639,196"/> <area shape="rect" href="Modalias_8h.html" title=" " alt="" coords="1994,244,2146,285"/> <area shape="rect" title=" " alt="" coords="1915,423,1972,449"/> <area shape="rect" title=" " alt="" coords="2245,251,2285,278"/> <area shape="rect" title=" " alt="" coords="2309,251,2349,278"/> <area shape="rect" title=" " alt="" coords="2171,251,2220,278"/> <area shape="rect" href="Hash_8h.html" title=" " alt="" coords="387,251,518,278"/> <area shape="rect" href="Logger_8h.html" title=" " alt="" coords="1409,251,1552,278"/> <area shape="rect" href="Iterator_8h.html" title=" " alt="" coords="759,251,906,278"/> <area shape="rect" href="APIConfig_8h.html" title="Provides API related macros." alt="" coords="1576,251,1705,278"/> <area shape="rect" title=" " alt="" coords="2920,423,2983,449"/> <area shape="rect" title=" " alt="" coords="5,341,116,367"/> <area shape="rect" title=" " alt="" coords="141,341,261,367"/> <area shape="rect" title=" " alt="" coords="1511,341,1573,367"/> <area shape="rect" title=" " alt="" coords="463,423,530,449"/> <area shape="rect" title=" " alt="" coords="741,341,796,367"/> <area shape="rect" title=" " alt="" coords="820,341,971,367"/> <area shape="rect" title=" " alt="" coords="995,333,1137,375"/> <area shape="rect" title=" " alt="" coords="1161,333,1334,375"/> <area shape="rect" title=" " alt="" coords="386,333,546,375"/> <area shape="rect" href="Iterable_8h.html" title=" " alt="" coords="570,341,717,367"/> <area shape="rect" href="Easy_8h.html" title=" " alt="" coords="1597,341,1724,367"/> <area shape="rect" title=" " alt="" coords="2525,169,2687,196"/> <area shape="rect" href="Flags_8h.html" title=" " alt="" coords="2162,169,2295,196"/> <area shape="rect" href="PtrTypes_8h.html" title=" " alt="" coords="2353,341,2507,367"/> <area shape="rect" href="Function_8h.html" title=" " alt="" coords="2176,341,2329,367"/> <area shape="rect" href="NonCopyable_8h.html" title=" " alt="" coords="2531,341,2713,367"/> <area shape="rect" href="String_8h.html" title=" " alt="" coords="1832,251,1969,278"/> <area shape="rect" title=" " alt="" coords="2351,423,2509,449"/> <area shape="rect" href="DefaultIntegral_8h.html" title=" " alt="" coords="3015,341,3208,367"/> <area shape="rect" href="Pathname_8h.html" title=" " alt="" coords="3284,341,3413,367"/> <area shape="rect" title=" " alt="" coords="2737,341,2888,367"/> <area shape="rect" title=" " alt="" coords="3643,251,3732,278"/> <area shape="rect" title=" " alt="" coords="3757,251,3837,278"/> <area shape="rect" title=" " alt="" coords="3861,251,3924,278"/> <area shape="rect" title=" " alt="" coords="3948,251,4019,278"/> <area shape="rect" title=" " alt="" coords="4043,251,4113,278"/> <area shape="rect" title=" " alt="" coords="4138,251,4199,278"/> <area shape="rect" href="CheckSum_8h.html" title=" " alt="" coords="3386,251,3517,278"/> <area shape="rect" href="ByteCount_8h.html" title=" " alt="" coords="3539,341,3670,367"/> <area shape="rect" href="IdString_8h.html" title=" " alt="" coords="1933,341,2049,367"/> </map> </div> </div> <p><a href="Modalias_8cc_source.html">Go to the source code of this file.</a></p> <table class="memberdecls"> <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="nested-classes"></a> Classes</h2></td></tr> <tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct  </td><td class="memItemRight" valign="bottom"><a class="el" href="structzypp_1_1target_1_1Modalias_1_1Impl.html">zypp::target::Modalias::Impl</a></td></tr> <tr class="memdesc:"><td class="mdescLeft"> </td><td class="mdescRight"><a class="el" href="classzypp_1_1target_1_1Modalias.html" title="Hardware abstaction layer singleton.">Modalias</a> implementation. <a href="structzypp_1_1target_1_1Modalias_1_1Impl.html#details">More...</a><br /></td></tr> <tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr> </table><table class="memberdecls"> <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="namespaces"></a> Namespaces</h2></td></tr> <tr class="memitem:namespacezypp"><td class="memItemLeft" align="right" valign="top">  </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacezypp.html">zypp</a></td></tr> <tr class="memdesc:namespacezypp"><td class="mdescLeft"> </td><td class="mdescRight">Easy-to use interface to the ZYPP dependency resolver. <br /></td></tr> <tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:namespacezypp_1_1target"><td class="memItemLeft" align="right" valign="top">  </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacezypp_1_1target.html">zypp::target</a></td></tr> <tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr> </table><table class="memberdecls"> <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="define-members"></a> Macros</h2></td></tr> <tr class="memitem:ad11ca1dc9757eafa29e9de2259388ff4"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="Modalias_8cc.html#ad11ca1dc9757eafa29e9de2259388ff4">ZYPP_BASE_LOGGER_LOGGROUP</a>   "MODALIAS"</td></tr> <tr class="separator:ad11ca1dc9757eafa29e9de2259388ff4"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a38288f6eb669672c3684518dbeb20f15"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="Modalias_8cc.html#a38288f6eb669672c3684518dbeb20f15">PATH_IS</a>(D, F)   ( ::strcmp( file_r, F ) == 0 && ::strcmp( dir_r.c_str(), D ) == 0 )</td></tr> <tr class="separator:a38288f6eb669672c3684518dbeb20f15"><td class="memSeparator" colspan="2"> </td></tr> </table> <h2 class="groupheader">Macro Definition Documentation</h2> <a id="ad11ca1dc9757eafa29e9de2259388ff4"></a> <h2 class="memtitle"><span class="permalink"><a href="#ad11ca1dc9757eafa29e9de2259388ff4">◆ </a></span>ZYPP_BASE_LOGGER_LOGGROUP</h2> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">#define ZYPP_BASE_LOGGER_LOGGROUP   "MODALIAS"</td> </tr> </table> </div><div class="memdoc"> <p class="definition">Definition at line <a class="el" href="Modalias_8cc_source.html#l00022">22</a> of file <a class="el" href="Modalias_8cc_source.html">Modalias.cc</a>.</p> </div> </div> <a id="a38288f6eb669672c3684518dbeb20f15"></a> <h2 class="memtitle"><span class="permalink"><a href="#a38288f6eb669672c3684518dbeb20f15">◆ </a></span>PATH_IS</h2> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">#define PATH_IS</td> <td>(</td> <td class="paramtype"> </td> <td class="paramname">D, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"> </td> <td class="paramname">F </td> </tr> <tr> <td></td> <td>)</td> <td></td><td>   ( ::strcmp( file_r, F ) == 0 && ::strcmp( dir_r.c_str(), D ) == 0 )</td> </tr> </table> </div><div class="memdoc"> </div> </div> </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_73509bf2395cb6b629da63f82e7b0bb6.html">target</a></li><li class="navelem"><a class="el" href="dir_8dbda763a51ba009b13c84e8e3521bea.html">modalias</a></li><li class="navelem"><a class="el" href="Modalias_8cc.html">Modalias.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>