File: structcpe__reference.html

package info (click to toggle)
openscap 0.5.12-3
  • links: PTS
  • area: main
  • in suites: squeeze
  • size: 27,052 kB
  • ctags: 21,075
  • sloc: xml: 82,351; ansic: 52,101; sh: 17,802; makefile: 748; perl: 442; cpp: 117; python: 110
file content (75 lines) | stat: -rw-r--r-- 6,554 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
<!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: cpe_reference Struct 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.6.1 -->
<div class="navigation" id="top">
  <div class="tabs">
    <ul>
      <li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
      <li><a href="pages.html"><span>Related&nbsp;Pages</span></a></li>
      <li><a href="modules.html"><span>Modules</span></a></li>
      <li class="current"><a href="annotated.html"><span>Data&nbsp;Structures</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
    </ul>
  </div>
  <div class="tabs">
    <ul>
      <li><a href="annotated.html"><span>Data&nbsp;Structures</span></a></li>
      <li><a href="classes.html"><span>Data&nbsp;Structure&nbsp;Index</span></a></li>
      <li><a href="functions.html"><span>Data&nbsp;Fields</span></a></li>
    </ul>
  </div>
</div>
<div class="contents">
<h1>cpe_reference Struct Reference<br/>
<small>
[<a class="el" href="group__cpedict.html">CPE Dictionary</a>]</small>
</h1><!-- doxytag: class="cpe_reference" -->
<p>CPE dictionary item reference.  
<a href="#_details">More...</a></p>

<p><code>#include &lt;<a class="el" href="cpedict__priv_8h_source.html">cpedict_priv.h</a>&gt;</code></p>
<table border="0" cellpadding="0" cellspacing="0">
<tr><td colspan="2"><h2>Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__cpedict.html#gaee00962178fb91213d88ec68a82fed76">cpe_reference_free</a> (struct <a class="el" href="structcpe__reference.html">cpe_reference</a> *ref)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">struct <a class="el" href="structcpe__reference.html">cpe_reference</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__cpedict.html#ga11b9a25c1ce0016980c0b12a248b4d77">cpe_reference_new</a> (void)</td></tr>
<tr><td colspan="2"><div class="groupHeader">Getters</div></td></tr>
<tr><td colspan="2"><div class="groupText"><p><a class="anchor" id="amgrpc9fd0bcb5385a65354c37f1bb504399d"></a>Return value is pointer to structure's member.</p>
<p>Do not free unless you null the pointer in the structure. Use remove function otherwise. </p>
<br/><br/></div></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">const char *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__cpedict.html#ga80a1387e6ddc4095686c9b5f17c35157">cpe_reference_get_href</a> (const struct <a class="el" href="structcpe__reference.html">cpe_reference</a> *item)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight"><a class="el" href="structcpe__reference.html" title="CPE dictionary item reference.">cpe_reference</a> functions to get href of reference  <a href="group__cpedict.html#ga80a1387e6ddc4095686c9b5f17c35157"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">const char *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__cpedict.html#ga422ff1843f37106e2439f6d7770238b3">cpe_reference_get_content</a> (const struct <a class="el" href="structcpe__reference.html">cpe_reference</a> *item)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight"><a class="el" href="structcpe__reference.html" title="CPE dictionary item reference.">cpe_reference</a> functions to get content of reference  <a href="group__cpedict.html#ga422ff1843f37106e2439f6d7770238b3"></a><br/></td></tr>
<tr><td colspan="2"><div class="groupHeader">Setters</div></td></tr>
<tr><td colspan="2"><div class="groupText"><p><a class="anchor" id="amgrp6e47466b75bb957a603aa54c079ac8bf"></a>For lists use add functions.</p>
<p>Parameters of set functions are duplicated in memory and need to be freed by caller. </p>
<br/><br/></div></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__cpedict.html#gadb69703b16983194d938120b22397b7b">cpe_reference_set_href</a> (struct <a class="el" href="structcpe__reference.html">cpe_reference</a> *reference, const char *new_href)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__cpedict.html#gae1d9834dd77e1f06739c3d214d584640">cpe_reference_set_content</a> (struct <a class="el" href="structcpe__reference.html">cpe_reference</a> *reference, const char *new_content)</td></tr>
<tr><td colspan="2"><h2>Data Fields</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ae22f14ca852267eae5cbd5436cc1b0b1"></a><!-- doxytag: member="cpe_reference::xml" ref="ae22f14ca852267eae5cbd5436cc1b0b1" args="" -->
struct <a class="el" href="structxml__metadata.html">xml_metadata</a>&nbsp;</td><td class="memItemRight" valign="bottom"><b>xml</b></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a5e12f13452c3fee8fecc4c4f2065a470"></a><!-- doxytag: member="cpe_reference::href" ref="a5e12f13452c3fee8fecc4c4f2065a470" args="" -->
char *&nbsp;</td><td class="memItemRight" valign="bottom"><b>href</b></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a803f0fba9df643bdfbc89f124f2a072f"></a><!-- doxytag: member="cpe_reference::content" ref="a803f0fba9df643bdfbc89f124f2a072f" args="" -->
char *&nbsp;</td><td class="memItemRight" valign="bottom"><b>content</b></td></tr>
</table>
<hr/><a name="_details"></a><h2>Detailed Description</h2>
<p>CPE dictionary item reference. </p>
<hr/>The documentation for this struct was generated from the following files:<ul>
<li>/home/pvrabec/project/openscap/openscap-0.5.12/src/CPE/<a class="el" href="cpedict__priv_8c.html">cpedict_priv.c</a></li>
<li>/home/pvrabec/project/openscap/openscap-0.5.12/src/CPE/public/<a class="el" href="cpedict_8h_source.html">cpedict.h</a></li>
</ul>
</div>
<hr size="1"/><address style="text-align: right;"><small>Generated on 30 Jun 2010 for Open SCAP Library by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.1 </small></address>
</body>
</html>