Sophie

Sophie

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

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/OVAL/probes/independent/ldap57.c File Reference</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>
<div class="header">
  <div class="summary">
<a href="#define-members">Defines</a> &#124;
<a href="#func-members">Functions</a>  </div>
  <div class="headertitle">
<div class="title">/home/pvrabec/project/openscap/openscap-0.7.4/src/OVAL/probes/independent/ldap57.c File Reference</div>  </div>
</div>
<div class="contents">

<p>ldap57 probe  
<a href="#details">More...</a></p>
<div class="textblock"><code>#include &lt;stdbool.h&gt;</code><br/>
<code>#include &lt;ldap.h&gt;</code><br/>
<code>#include &quot;<a class="el" href="probe-api_8h_source.html">probe-api.h</a>&quot;</code><br/>
<code>#include &quot;common/assume.h&quot;</code><br/>
<code>#include &quot;<a class="el" href="debug__priv_8h_source.html">common/debug_priv.h</a>&quot;</code><br/>
</div><table class="memberdecls">
<tr><td colspan="2"><h2><a name="define-members"></a>
Defines</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><b>get_string</b>(dst, se_dst, obj, ent_name)</td></tr>
<tr><td colspan="2"><h2><a name="func-members"></a>
Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ga468744ebb8db4a5bd31a511d709d5d5e"></a><!-- doxytag: member="ldap57.c::probe_main" ref="ga468744ebb8db4a5bd31a511d709d5d5e" args="(probe_ctx *ctx, void *mutex)" -->
int&#160;</td><td class="memItemRight" valign="bottom"><b>probe_main</b> (<a class="el" href="structprobe__ctx.html">probe_ctx</a> *ctx, void *mutex)</td></tr>
</table>
<hr/><a name="details" id="details"></a><h2>Detailed Description</h2>
<div class="textblock"><p>ldap57 probe </p>
<dl class="author"><dt><b>Author:</b></dt><dd>"Daniel Kopecek" &lt;<a href="mailto:dkopecek@redhat.com">dkopecek@redhat.com</a>&gt; </dd></dl>
</div><hr/><h2>Define Documentation</h2>
<a class="anchor" id="a46f2376d8c10f745620c085f5c8f2c07"></a><!-- doxytag: member="ldap57.c::get_string" ref="a46f2376d8c10f745620c085f5c8f2c07" args="(dst, se_dst, obj, ent_name)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define get_string</td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">dst, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">se_dst, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">obj, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">ent_name&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<b>Value:</b><div class="fragment"><pre class="fragment"><span class="keywordflow">do</span> {                                                            \
                <a class="code" href="structSEXP.html">SEXP_t</a> *__sval;                                         \
                                                                        \
                __sval = <a class="code" href="group__PROBEAPI.html#ga5d150dec132971e7c564ce61fab05f3b" title="Get the value of an object&#39;s entity.">probe_obj_getentval</a> (obj, ent_name, 1);        \
                                                                        \
                <span class="keywordflow">if</span> (__sval != NULL) {                                   \
                        (dst) = <a class="code" href="group__SEXPRESSIONS.html#ga1ab30f1f6e475e61e4be43ce96753e19" title="Get a C string from a sexp object.">SEXP_string_cstr</a> (__sval);              \
                                                                        \
                        <span class="keywordflow">if</span> ((dst) == NULL) {                            \
                                <a class="code" href="group__SEXPRESSIONS.html#gaff9225cc4ff2d1a3459511efe7ebd5e1" title="Free a sexp object.">SEXP_free</a>(__sval);                      \
                                <span class="keywordflow">return</span> (<a class="code" href="group__PROBEAPI.html#gad69bb1533565f81eb97329ad8999a274" title="Invalid type/value/format.">PROBE_EINVAL</a>);                  \
                        }                                               \
                                                                        \
                        (se_dst) = __sval;                              \
                } <span class="keywordflow">else</span> {                                                \
                        <span class="keywordflow">return</span> (<a class="code" href="group__PROBEAPI.html#ga74bcecc6555100a7238fdc65f0d6148b" title="Missing attribute.">PROBE_ENOATTR</a>);                         \
                }                                                       \
        } <span class="keywordflow">while</span> (0)
</pre></div>
</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>