Sophie

Sophie

distrib > Fedora > 14 > x86_64 > by-pkgid > 6c2ee087067401a8a9eea8c650a872a1 > files > 38

openscap-devel-0.8.0-1.fc14.i686.rpm

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<title>Open SCAP Library: /home/pvrabec/project/openscap/openscap-0.8.0/src/OVAL/probes/SEAP/public/helpers.h Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<!-- Generated by Doxygen 1.7.4 -->
<div id="top">
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td style="padding-left: 0.5em;">
   <div id="projectname">Open SCAP Library</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="pages.html"><span>Related&#160;Pages</span></a></li>
      <li><a href="modules.html"><span>Modules</span></a></li>
      <li><a href="annotated.html"><span>Data&#160;Structures</span></a></li>
      <li class="current"><a href="files.html"><span>Files</span></a></li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="files.html"><span>File&#160;List</span></a></li>
      <li><a href="globals.html"><span>Globals</span></a></li>
    </ul>
  </div>
<div class="header">
  <div class="headertitle">
<div class="title">/home/pvrabec/project/openscap/openscap-0.8.0/src/OVAL/probes/SEAP/public/helpers.h</div>  </div>
</div>
<div class="contents">
<div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="preprocessor">#ifndef HELPERS_H</span>
<a name="l00002"></a>00002 <span class="preprocessor"></span><span class="preprocessor">#define HELPERS_H</span>
<a name="l00003"></a>00003 <span class="preprocessor"></span>
<a name="l00004"></a>00004 <span class="comment">/*</span>
<a name="l00005"></a>00005 <span class="comment"> * The PP_NARG macro returns the number of arguments that have been</span>
<a name="l00006"></a>00006 <span class="comment"> * passed to it.</span>
<a name="l00007"></a>00007 <span class="comment"> * Author: Laurent Deniau</span>
<a name="l00008"></a>00008 <span class="comment"> */</span>
<a name="l00009"></a>00009 <span class="preprocessor">#define PP_NARG(...) \</span>
<a name="l00010"></a>00010 <span class="preprocessor">         PP_NARG_(__VA_ARGS__,PP_RSEQ_N())</span>
<a name="l00011"></a>00011 <span class="preprocessor"></span>
<a name="l00012"></a>00012 <span class="preprocessor">#define PP_NARG_(...) \</span>
<a name="l00013"></a>00013 <span class="preprocessor">         PP_ARG_N(__VA_ARGS__)</span>
<a name="l00014"></a>00014 <span class="preprocessor"></span>
<a name="l00015"></a>00015 <span class="preprocessor">#define PP_ARG_N(                                 \</span>
<a name="l00016"></a>00016 <span class="preprocessor">          _1, _2, _3, _4, _5, _6, _7, _8, _9,_10, \</span>
<a name="l00017"></a>00017 <span class="preprocessor">         _11,_12,_13,_14,_15,_16,_17,_18,_19,_20, \</span>
<a name="l00018"></a>00018 <span class="preprocessor">         _21,_22,_23,_24,_25,_26,_27,_28,_29,_30, \</span>
<a name="l00019"></a>00019 <span class="preprocessor">         _31,_32,_33,_34,_35,_36,_37,_38,_39,_40, \</span>
<a name="l00020"></a>00020 <span class="preprocessor">         _41,_42,_43,_44,_45,_46,_47,_48,_49,_50, \</span>
<a name="l00021"></a>00021 <span class="preprocessor">         _51,_52,_53,_54,_55,_56,_57,_58,_59,_60, \</span>
<a name="l00022"></a>00022 <span class="preprocessor">         _61,_62,_63,N,...) N</span>
<a name="l00023"></a>00023 <span class="preprocessor"></span>
<a name="l00024"></a>00024 <span class="preprocessor">#define PP_RSEQ_N()                     \</span>
<a name="l00025"></a>00025 <span class="preprocessor">         63,62,61,60,                   \</span>
<a name="l00026"></a>00026 <span class="preprocessor">         59,58,57,56,55,54,53,52,51,50, \</span>
<a name="l00027"></a>00027 <span class="preprocessor">         49,48,47,46,45,44,43,42,41,40, \</span>
<a name="l00028"></a>00028 <span class="preprocessor">         39,38,37,36,35,34,33,32,31,30, \</span>
<a name="l00029"></a>00029 <span class="preprocessor">         29,28,27,26,25,24,23,22,21,20, \</span>
<a name="l00030"></a>00030 <span class="preprocessor">         19,18,17,16,15,14,13,12,11,10, \</span>
<a name="l00031"></a>00031 <span class="preprocessor">         9,8,7,6,5,4,3,2,1,0</span>
<a name="l00032"></a>00032 <span class="preprocessor"></span>
<a name="l00033"></a>00033 <span class="preprocessor">#endif </span><span class="comment">/* HELPERS_H */</span>
</pre></div></div>
</div>
<hr class="footer"/><address class="footer"><small>Generated on Tue Oct 11 2011 for Open SCAP Library by&#160;
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.4 </small></address>
</body>
</html>