Sophie

Sophie

distrib > Fedora > 16 > i386 > by-pkgid > 537b4767ca71616a4bccbb57df0c2eb6 > files > 325

openscap-devel-0.7.4-1.fc16.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.7.4/src/common/reporter_priv.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.7.4/src/common/reporter_priv.h</div>  </div>
</div>
<div class="contents">
<a href="reporter__priv_8h.html">Go to the documentation of this file.</a><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="comment">/*</span>
<a name="l00002"></a>00002 <span class="comment"> * Copyright 2010 Red Hat Inc., Durham, North Carolina.</span>
<a name="l00003"></a>00003 <span class="comment"> * All Rights Reserved.</span>
<a name="l00004"></a>00004 <span class="comment"> *</span>
<a name="l00005"></a>00005 <span class="comment"> * This library is free software; you can redistribute it and/or</span>
<a name="l00006"></a>00006 <span class="comment"> * modify it under the terms of the GNU Lesser General Public</span>
<a name="l00007"></a>00007 <span class="comment"> * License as published by the Free Software Foundation; either</span>
<a name="l00008"></a>00008 <span class="comment"> * version 2.1 of the License, or (at your option) any later version.</span>
<a name="l00009"></a>00009 <span class="comment"> *</span>
<a name="l00010"></a>00010 <span class="comment"> * This library is distributed in the hope that it will be useful,</span>
<a name="l00011"></a>00011 <span class="comment"> * but WITHOUT ANY WARRANTY; without even the implied warranty of</span>
<a name="l00012"></a>00012 <span class="comment"> * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU</span>
<a name="l00013"></a>00013 <span class="comment"> * Lesser General Public License for more details.</span>
<a name="l00014"></a>00014 <span class="comment"> *</span>
<a name="l00015"></a>00015 <span class="comment"> * You should have received a copy of the GNU Lesser General Public</span>
<a name="l00016"></a>00016 <span class="comment"> * License along with this library; if not, write to the Free Software</span>
<a name="l00017"></a>00017 <span class="comment"> * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA</span>
<a name="l00018"></a>00018 <span class="comment"> *</span>
<a name="l00019"></a>00019 <span class="comment"> * Authors:</span>
<a name="l00020"></a>00020 <span class="comment"> *       Lukas Kuklinek &lt;lkuklinek@redhat.com&gt;</span>
<a name="l00021"></a>00021 <span class="comment"> */</span>
<a name="l00022"></a>00022 
<a name="l00028"></a>00028 <span class="preprocessor">#ifndef OSCAP_REPORTER_PRIV_H_</span>
<a name="l00029"></a>00029 <span class="preprocessor"></span><span class="preprocessor">#define OSCAP_REPORTER_PRIV_H_</span>
<a name="l00030"></a>00030 <span class="preprocessor"></span>
<a name="l00031"></a>00031 <span class="preprocessor">#include &quot;<a class="code" href="reporter_8h.html" title="Reporters interface.">public/reporter.h</a>&quot;</span>
<a name="l00032"></a>00032 <span class="preprocessor">#include &quot;util.h&quot;</span>
<a name="l00033"></a>00033 <span class="preprocessor">#include &lt;libxml/xmlerror.h&gt;</span>
<a name="l00034"></a>00034 
<a name="l00035"></a>00035 OSCAP_HIDDEN_START;
<a name="l00036"></a>00036 
<a name="l00044"></a><a class="code" href="structoscap__reporter__context.html">00044</a> <span class="keyword">struct </span><a class="code" href="structoscap__reporter__context.html">oscap_reporter_context</a> {
<a name="l00045"></a>00045         <a class="code" href="group__Reporters.html#gada96dbbbb54a7659c3acf1c00a7d7ad3" title="Reporter prototype.">oscap_reporter</a> reporter;
<a name="l00046"></a>00046         <span class="keywordtype">void</span> *arg;
<a name="l00047"></a>00047     <span class="keywordtype">void</span> *user;
<a name="l00048"></a>00048 };
<a name="l00049"></a>00049 
<a name="l00051"></a><a class="code" href="group__Reporters.html#gad1be845e72247a6fef4674497fae4eac">00051</a> <span class="preprocessor">#define XREPORTER(r) ((struct oscap_reporter*) r)</span>
<a name="l00052"></a>00052 <span class="preprocessor"></span>
<a name="l00054"></a>00054 <span class="keywordtype">void</span> <a class="code" href="group__Reporters.html#ga97c2395dd3ccc8dd55c31215ca86feb6">oscap_reporter_message_free</a>(<span class="keyword">struct</span> <a class="code" href="structoscap__reporter__message.html" title="Represents a message to be reported.">oscap_reporter_message</a> *msg);
<a name="l00056"></a>00056 <span class="keywordtype">bool</span> <a class="code" href="group__Reporters.html#ga27c96033c163ac244ea330e33c135a37">oscap_reporter_message_set_family</a>(<span class="keyword">struct</span> <a class="code" href="structoscap__reporter__message.html" title="Represents a message to be reported.">oscap_reporter_message</a> *obj, <a class="code" href="group__Reporters.html#ga9958de4d24744d816480c94796014c0a" title="Reporter message family.">oscap_reporter_family_t</a> newval);
<a name="l00058"></a>00058 <span class="keywordtype">bool</span> <a class="code" href="group__Reporters.html#gaa18d504462f95063550e23e9172f89cb">oscap_reporter_message_set_code</a>(<span class="keyword">struct</span> <a class="code" href="structoscap__reporter__message.html" title="Represents a message to be reported.">oscap_reporter_message</a> *obj, <a class="code" href="group__Reporters.html#gabea6171ab5d5780073321cfe7687a715" title="Reporter message code type.">oscap_reporter_code_t</a> newval);
<a name="l00060"></a>00060 <span class="keywordtype">bool</span> <a class="code" href="group__Reporters.html#ga3b2213738b5e3075f79ee32959c894e4">oscap_reporter_message_set_string</a>(<span class="keyword">struct</span> <a class="code" href="structoscap__reporter__message.html" title="Represents a message to be reported.">oscap_reporter_message</a> *obj, <span class="keyword">const</span> <span class="keywordtype">char</span> *newval);
<a name="l00062"></a>00062 <span class="keywordtype">bool</span> <a class="code" href="group__Reporters.html#gace579a933c21df2ff864b62a2773fe1e">oscap_reporter_message_set_user1str</a>(<span class="keyword">struct</span> <a class="code" href="structoscap__reporter__message.html" title="Represents a message to be reported.">oscap_reporter_message</a> *msg, <span class="keyword">const</span> <span class="keywordtype">char</span> *newval);
<a name="l00064"></a>00064 <span class="keywordtype">bool</span> <a class="code" href="group__Reporters.html#ga226d7243411b4dbe32ac78a601ac54f5">oscap_reporter_message_set_user1num</a>(<span class="keyword">struct</span> <a class="code" href="structoscap__reporter__message.html" title="Represents a message to be reported.">oscap_reporter_message</a> *msg, <span class="keywordtype">int</span> newval);
<a name="l00066"></a>00066 <span class="keywordtype">bool</span> <a class="code" href="group__Reporters.html#ga27f99e719a7119420658181eab4d68b1">oscap_reporter_message_set_user1ptr</a>(<span class="keyword">struct</span> <a class="code" href="structoscap__reporter__message.html" title="Represents a message to be reported.">oscap_reporter_message</a> *msg, <span class="keywordtype">void</span> *newval);
<a name="l00068"></a>00068 <span class="keywordtype">bool</span> <a class="code" href="group__Reporters.html#ga80cb30f28732e3fbc7c9129146e3294e">oscap_reporter_message_set_user2str</a>(<span class="keyword">struct</span> <a class="code" href="structoscap__reporter__message.html" title="Represents a message to be reported.">oscap_reporter_message</a> *msg, <span class="keyword">const</span> <span class="keywordtype">char</span> *newval);
<a name="l00070"></a>00070 <span class="keywordtype">bool</span> <a class="code" href="group__Reporters.html#gaecff54e7b8c7025c7029dc1d933f1dad">oscap_reporter_message_set_user2num</a>(<span class="keyword">struct</span> <a class="code" href="structoscap__reporter__message.html" title="Represents a message to be reported.">oscap_reporter_message</a> *msg, <span class="keywordtype">int</span> newval);
<a name="l00072"></a>00072 <span class="keywordtype">bool</span> <a class="code" href="group__Reporters.html#ga4085262274793b780f91b5ba759c432f">oscap_reporter_message_set_user2ptr</a>(<span class="keyword">struct</span> <a class="code" href="structoscap__reporter__message.html" title="Represents a message to be reported.">oscap_reporter_message</a> *msg, <span class="keywordtype">void</span> *newval);
<a name="l00074"></a>00074 <span class="keywordtype">bool</span> <a class="code" href="group__Reporters.html#ga0934588ce9cb61b225ab7b9fda0bb971">oscap_reporter_message_set_user3str</a>(<span class="keyword">struct</span> <a class="code" href="structoscap__reporter__message.html" title="Represents a message to be reported.">oscap_reporter_message</a> *msg, <span class="keyword">const</span> <span class="keywordtype">char</span> *newval);
<a name="l00076"></a>00076 <span class="keywordtype">bool</span> <a class="code" href="group__Reporters.html#gae751518f8639a2894f7f8980004fcc8c">oscap_reporter_message_set_user3num</a>(<span class="keyword">struct</span> <a class="code" href="structoscap__reporter__message.html" title="Represents a message to be reported.">oscap_reporter_message</a> *msg, <span class="keywordtype">int</span> newval);
<a name="l00078"></a>00078 <span class="keywordtype">bool</span> <a class="code" href="group__Reporters.html#ga5f0ad89c56b2b324e706d03f43814f68">oscap_reporter_message_set_user3ptr</a>(<span class="keyword">struct</span> <a class="code" href="structoscap__reporter__message.html" title="Represents a message to be reported.">oscap_reporter_message</a> *msg, <span class="keywordtype">void</span> *newval);
<a name="l00080"></a>00080 <span class="keyword">struct </span><a class="code" href="structoscap__reporter__message.html" title="Represents a message to be reported.">oscap_reporter_message</a> *<a class="code" href="group__Reporters.html#gab5ae2a139387dd6a37348af0d208926b">oscap_reporter_message_new_arg</a>(<a class="code" href="group__Reporters.html#ga9958de4d24744d816480c94796014c0a" title="Reporter message family.">oscap_reporter_family_t</a> family, <a class="code" href="group__Reporters.html#gabea6171ab5d5780073321cfe7687a715" title="Reporter message code type.">oscap_reporter_code_t</a> code, <span class="keyword">const</span> <span class="keywordtype">char</span> *fmt, va_list ap);
<a name="l00081"></a>00081 
<a name="l00086"></a>00086 <span class="keywordtype">void</span> oscap_reporter_report_xml(<span class="keyword">struct</span> <a class="code" href="structoscap__reporter__context.html">oscap_reporter_context</a> *rctxt, xmlErrorPtr error);
<a name="l00087"></a>00087 
<a name="l00092"></a>00092 <span class="keywordtype">void</span> oscap_reporter_report_libc(<a class="code" href="group__Reporters.html#gada96dbbbb54a7659c3acf1c00a7d7ad3" title="Reporter prototype.">oscap_reporter</a> reporter, <span class="keywordtype">void</span> *arg);
<a name="l00093"></a>00093 
<a name="l00097"></a>00097 OSCAP_HIDDEN_END;
<a name="l00098"></a>00098 
<a name="l00099"></a>00099 <span class="preprocessor">#endif // OSCAP_REPORTER_PRIV_H_</span>
<a name="l00100"></a>00100 <span class="preprocessor"></span>
</pre></div></div>
</div>
<hr class="footer"/><address class="footer"><small>Generated on Mon Jul 25 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>