File: structcpe__item.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 (103 lines) | stat: -rw-r--r-- 14,391 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
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
<!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_item 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_item Struct Reference<br/>
<small>
[<a class="el" href="group__cpedict.html">CPE Dictionary</a>]</small>
</h1><!-- doxytag: class="cpe_item" -->
<p>Structure representing single CPE dictionary item.  
<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#ga1107849fc84c83ee923092a91d9cab04">cpe_item_free</a> (struct <a class="el" href="structcpe__item.html">cpe_item</a> *item)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">struct <a class="el" href="structcpe__item.html">cpe_item</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__cpedict.html#ga2bb69fddb8a6bb464d032b0c3271e499">cpe_item_new</a> (void)</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#ga3a0cb59d7dd59f674c37348e52ed4945">cpe_item_iterator_remove</a> (struct <a class="el" href="structcpe__item__iterator.html">cpe_item_iterator</a> *it)</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">struct <a class="el" href="structcpe__name.html">cpe_name</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__cpedict.html#ga2e61427852c3a13926fb0fc1494e2999">cpe_item_get_name</a> (const struct <a class="el" href="structcpe__item.html">cpe_item</a> *item)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight"><a class="el" href="structcpe__item.html" title="Structure representing single CPE dictionary item.">cpe_item</a> functions to get variable member name  <a href="group__cpedict.html#ga2e61427852c3a13926fb0fc1494e2999"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">struct <a class="el" href="structcpe__name.html">cpe_name</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__cpedict.html#gaa1a0b946da4f28874dfd062373737bd2">cpe_item_get_deprecated</a> (const struct <a class="el" href="structcpe__item.html">cpe_item</a> *item)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight"><a class="el" href="structcpe__item.html" title="Structure representing single CPE dictionary item.">cpe_item</a> functions to get variable member deprecated  <a href="group__cpedict.html#gaa1a0b946da4f28874dfd062373737bd2"></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#ga49a4fb0b0841368bebd79405240a3bf4">cpe_item_get_deprecation_date</a> (const struct <a class="el" href="structcpe__item.html">cpe_item</a> *item)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight"><a class="el" href="structcpe__item.html" title="Structure representing single CPE dictionary item.">cpe_item</a> functions to get variable member date  <a href="group__cpedict.html#ga49a4fb0b0841368bebd79405240a3bf4"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">struct <a class="el" href="structcpe__item__metadata.html">cpe_item_metadata</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__cpedict.html#gad619090ae9166f487643159b0d21b2d8">cpe_item_get_metadata</a> (const struct <a class="el" href="structcpe__item.html">cpe_item</a> *item)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight"><a class="el" href="structcpe__item.html" title="Structure representing single CPE dictionary item.">cpe_item</a> functions to get metadata of <a class="el" href="structcpe__item.html" title="Structure representing single CPE dictionary item.">cpe_item</a>  <a href="group__cpedict.html#gad619090ae9166f487643159b0d21b2d8"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">struct <a class="el" href="structcpe__reference__iterator.html">cpe_reference_iterator</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__cpedict.html#ga0ba8f555bf9436af38605800b47d9d02">cpe_item_get_references</a> (const struct <a class="el" href="structcpe__item.html">cpe_item</a> *item)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight"><a class="el" href="structcpe__item.html" title="Structure representing single CPE dictionary item.">cpe_item</a> functions to get CPE references  <a href="group__cpedict.html#ga0ba8f555bf9436af38605800b47d9d02"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">struct <a class="el" href="structcpe__check__iterator.html">cpe_check_iterator</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__cpedict.html#ga76ca0c433155cc326af4439004753e50">cpe_item_get_checks</a> (const struct <a class="el" href="structcpe__item.html">cpe_item</a> *item)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight"><a class="el" href="structcpe__item.html" title="Structure representing single CPE dictionary item.">cpe_item</a> functions to get CPE checks  <a href="group__cpedict.html#ga76ca0c433155cc326af4439004753e50"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">struct <a class="el" href="structoscap__title__iterator.html">oscap_title_iterator</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__cpedict.html#ga380127ff98df3c779a78834275834526">cpe_item_get_titles</a> (const struct <a class="el" href="structcpe__item.html">cpe_item</a> *item)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight"><a class="el" href="structcpe__item.html" title="Structure representing single CPE dictionary item.">cpe_item</a> functions to get CPE titles  <a href="group__cpedict.html#ga380127ff98df3c779a78834275834526"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">struct <a class="el" href="structoscap__title__iterator.html">oscap_title_iterator</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__cpedict.html#ga322fae4538ca874173f294a16605a3d7">cpe_item_get_notes</a> (const struct <a class="el" href="structcpe__item.html">cpe_item</a> *item)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight"><a class="el" href="structcpe__item.html" title="Structure representing single CPE dictionary item.">cpe_item</a> functions to get CPE notes  <a href="group__cpedict.html#ga322fae4538ca874173f294a16605a3d7"></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#ga42805776141de4fbc16ec3c27a689cd5">cpe_item_set_deprecation_date</a> (struct <a class="el" href="structcpe__item.html">cpe_item</a> *item, const char *new_deprecation_date)</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#ga34beb8ded8a6266e9c7d753467e316f2">cpe_item_add_reference</a> (struct <a class="el" href="structcpe__item.html">cpe_item</a> *item, struct <a class="el" href="structcpe__reference.html">cpe_reference</a> *new_reference)</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#gad5964c784858955efbd6b447f02fea98">cpe_item_add_check</a> (struct <a class="el" href="structcpe__item.html">cpe_item</a> *item, struct <a class="el" href="structcpe__check.html">cpe_check</a> *new_check)</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#ga543f8b8fc3fbcfb748c8ee41e4fc0c52">cpe_item_add_title</a> (struct <a class="el" href="structcpe__item.html">cpe_item</a> *item, struct <a class="el" href="structoscap__title.html">oscap_title</a> *new_title)</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#gaad43a0508d8d36f71bfd18fbcb45edac">cpe_item_add_note</a> (struct <a class="el" href="structcpe__item.html">cpe_item</a> *item, struct <a class="el" href="structoscap__title.html">oscap_title</a> *new_title)</td></tr>
<tr><td colspan="2"><h2>Data Fields</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a9b015dfca6ce2ac8551d17da5f274f7b"></a><!-- doxytag: member="cpe_item::xml" ref="a9b015dfca6ce2ac8551d17da5f274f7b" 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="aa9877c425c462e810ba68e8333288e72"></a><!-- doxytag: member="cpe_item::name" ref="aa9877c425c462e810ba68e8333288e72" args="" -->
struct <a class="el" href="structcpe__name.html">cpe_name</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><b>name</b></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a46682f7586b287ec2a6f695e2ffa499e"></a><!-- doxytag: member="cpe_item::titles" ref="a46682f7586b287ec2a6f695e2ffa499e" args="" -->
struct <a class="el" href="structoscap__list.html">oscap_list</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><b>titles</b></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a3dae13d8fc9ee810ae3210172ede1c26"></a><!-- doxytag: member="cpe_item::deprecated" ref="a3dae13d8fc9ee810ae3210172ede1c26" args="" -->
struct <a class="el" href="structcpe__name.html">cpe_name</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><b>deprecated</b></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="acbdd49d44665cb2fb804a8ee6ae11265"></a><!-- doxytag: member="cpe_item::deprecation_date" ref="acbdd49d44665cb2fb804a8ee6ae11265" args="" -->
char *&nbsp;</td><td class="memItemRight" valign="bottom"><b>deprecation_date</b></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ad7da772db6d2d547a5d26109e95d5c04"></a><!-- doxytag: member="cpe_item::references" ref="ad7da772db6d2d547a5d26109e95d5c04" args="" -->
struct <a class="el" href="structoscap__list.html">oscap_list</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><b>references</b></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ae0521c40b55a099ffa874490429b7cc9"></a><!-- doxytag: member="cpe_item::checks" ref="ae0521c40b55a099ffa874490429b7cc9" args="" -->
struct <a class="el" href="structoscap__list.html">oscap_list</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><b>checks</b></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a6985cd6f755af85215581e84780d494a"></a><!-- doxytag: member="cpe_item::notes" ref="a6985cd6f755af85215581e84780d494a" args="" -->
struct <a class="el" href="structoscap__list.html">oscap_list</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><b>notes</b></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ab10af0515c684a4934303de5736e96a0"></a><!-- doxytag: member="cpe_item::metadata" ref="ab10af0515c684a4934303de5736e96a0" args="" -->
struct <a class="el" href="structcpe__item__metadata.html">cpe_item_metadata</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><b>metadata</b></td></tr>
</table>
<hr/><a name="_details"></a><h2>Detailed Description</h2>
<p>Structure representing single CPE dictionary item. </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>