File: structxccdf__profile.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 (116 lines) | stat: -rw-r--r-- 19,780 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
104
105
106
107
108
109
110
111
112
113
114
115
116
<!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: xccdf_profile 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>xccdf_profile Struct Reference<br/>
<small>
[<a class="el" href="group__XCCDF.html">XCCDF</a>]</small>
</h1><!-- doxytag: class="xccdf_profile" -->
<p>XCCDF profile is a set of tests and their settings in a compact package.  
<a href="#_details">More...</a></p>

<p><code>#include &lt;<a class="el" href="xccdf_8h_source.html">xccdf.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">struct <a class="el" href="structxccdf__profile.html">xccdf_profile</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__XCCDF.html#ga3c9f09e1008efd652f72a1354dcfd661">xccdf_profile_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__XCCDF.html#ga4164fb1949fdb13465683d4d5e51895f">xccdf_profile_free</a> (struct <a class="el" href="structxccdf__item.html">xccdf_item</a> *prof)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">struct <a class="el" href="structxccdf__item.html">xccdf_item</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__XCCDF.html#ga14cf290a88c10affa4767e721a8bbf51">xccdf_profile_to_item</a> (struct <a class="el" href="structxccdf__profile.html">xccdf_profile</a> *item)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">struct <a class="el" href="structxccdf__profile.html">xccdf_profile</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__XCCDF.html#ga1d439f846bb00093fff4a8b75247ac65">xccdf_profile_clone</a> (const struct <a class="el" href="structxccdf__profile.html">xccdf_profile</a> *profile)</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"><a class="anchor" id="gafe489b41546889b7f6ff6aaef2214249"></a><!-- doxytag: member="xccdf_profile::xccdf_profile_get_id" ref="gafe489b41546889b7f6ff6aaef2214249" args="(const struct xccdf_profile *profile)" -->
const char *&nbsp;</td><td class="memItemRight" valign="bottom"><b>xccdf_profile_get_id</b> (const struct <a class="el" href="structxccdf__profile.html">xccdf_profile</a> *profile)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="gab4375aa8d307d42319f11471ab6052ad"></a><!-- doxytag: member="xccdf_profile::xccdf_profile_get_title" ref="gab4375aa8d307d42319f11471ab6052ad" args="(const struct xccdf_profile *profile)" -->
struct <a class="el" href="structoscap__text__iterator.html">oscap_text_iterator</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><b>xccdf_profile_get_title</b> (const struct <a class="el" href="structxccdf__profile.html">xccdf_profile</a> *profile)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ga8088b9f64fa899936acabcbad3ca7b8d"></a><!-- doxytag: member="xccdf_profile::xccdf_profile_get_description" ref="ga8088b9f64fa899936acabcbad3ca7b8d" args="(const struct xccdf_profile *profile)" -->
struct <a class="el" href="structoscap__text__iterator.html">oscap_text_iterator</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><b>xccdf_profile_get_description</b> (const struct <a class="el" href="structxccdf__profile.html">xccdf_profile</a> *profile)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="gac1467f85f3203cb0a36b2e95768adb9e"></a><!-- doxytag: member="xccdf_profile::xccdf_profile_get_version" ref="gac1467f85f3203cb0a36b2e95768adb9e" args="(const struct xccdf_profile *profile)" -->
const char *&nbsp;</td><td class="memItemRight" valign="bottom"><b>xccdf_profile_get_version</b> (const struct <a class="el" href="structxccdf__profile.html">xccdf_profile</a> *profile)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ga33acc56f093942d049055f2616f77551"></a><!-- doxytag: member="xccdf_profile::xccdf_profile_get_extends" ref="ga33acc56f093942d049055f2616f77551" args="(const struct xccdf_profile *profile)" -->
const char *&nbsp;</td><td class="memItemRight" valign="bottom"><b>xccdf_profile_get_extends</b> (const struct <a class="el" href="structxccdf__profile.html">xccdf_profile</a> *profile)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ga1fdecc57dbbe5d6525ab09688316ba90"></a><!-- doxytag: member="xccdf_profile::xccdf_profile_get_benchmark" ref="ga1fdecc57dbbe5d6525ab09688316ba90" args="(const struct xccdf_profile *profile)" -->
struct <a class="el" href="structxccdf__benchmark.html">xccdf_benchmark</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><b>xccdf_profile_get_benchmark</b> (const struct <a class="el" href="structxccdf__profile.html">xccdf_profile</a> *profile)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="gaf7c3ee1d6edc1ffff9e64e7d4cea1ceb"></a><!-- doxytag: member="xccdf_profile::xccdf_profile_get_abstract" ref="gaf7c3ee1d6edc1ffff9e64e7d4cea1ceb" args="(const struct xccdf_profile *profile)" -->
bool&nbsp;</td><td class="memItemRight" valign="bottom"><b>xccdf_profile_get_abstract</b> (const struct <a class="el" href="structxccdf__profile.html">xccdf_profile</a> *profile)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="gaa27780cc7bff47282251c57c4973e9f8"></a><!-- doxytag: member="xccdf_profile::xccdf_profile_get_prohibit_changes" ref="gaa27780cc7bff47282251c57c4973e9f8" args="(const struct xccdf_profile *profile)" -->
bool&nbsp;</td><td class="memItemRight" valign="bottom"><b>xccdf_profile_get_prohibit_changes</b> (const struct <a class="el" href="structxccdf__profile.html">xccdf_profile</a> *profile)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ga811584e28b6537df3e21d79837a9be0f"></a><!-- doxytag: member="xccdf_profile::xccdf_profile_get_platforms" ref="ga811584e28b6537df3e21d79837a9be0f" args="(const struct xccdf_profile *profile)" -->
struct <a class="el" href="structoscap__string__iterator.html">oscap_string_iterator</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><b>xccdf_profile_get_platforms</b> (const struct <a class="el" href="structxccdf__profile.html">xccdf_profile</a> *profile)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="gac9b8203a90f4d69723b3fd325f7e500b"></a><!-- doxytag: member="xccdf_profile::xccdf_profile_get_statuses" ref="gac9b8203a90f4d69723b3fd325f7e500b" args="(const struct xccdf_profile *profile)" -->
struct <a class="el" href="structxccdf__status__iterator.html">xccdf_status_iterator</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><b>xccdf_profile_get_statuses</b> (const struct <a class="el" href="structxccdf__profile.html">xccdf_profile</a> *profile)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ga34d056e809d135cfee37d2b50a60850a"></a><!-- doxytag: member="xccdf_profile::xccdf_profile_get_references" ref="ga34d056e809d135cfee37d2b50a60850a" args="(const struct xccdf_profile *profile)" -->
struct <a class="el" href="structxccdf__reference__iterator.html">xccdf_reference_iterator</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><b>xccdf_profile_get_references</b> (const struct <a class="el" href="structxccdf__profile.html">xccdf_profile</a> *profile)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ga88402c858977ef4e1e209541eff4f452"></a><!-- doxytag: member="xccdf_profile::xccdf_profile_get_status_current" ref="ga88402c858977ef4e1e209541eff4f452" args="(const struct xccdf_profile *profile)" -->
<a class="el" href="group__XCCDF.html#gac0d5c1c85828e13ebb13935551f8da38">xccdf_status_type_t</a>&nbsp;</td><td class="memItemRight" valign="bottom"><b>xccdf_profile_get_status_current</b> (const struct <a class="el" href="structxccdf__profile.html">xccdf_profile</a> *profile)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ga6fb5b110217067b086248d3661b7cfdc"></a><!-- doxytag: member="xccdf_profile::xccdf_profile_get_selects" ref="ga6fb5b110217067b086248d3661b7cfdc" args="(const struct xccdf_profile *profile)" -->
struct <a class="el" href="structxccdf__select__iterator.html">xccdf_select_iterator</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><b>xccdf_profile_get_selects</b> (const struct <a class="el" href="structxccdf__profile.html">xccdf_profile</a> *profile)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="gaaa3bdc8f1099bd8e481d2afdd7ebe7f4"></a><!-- doxytag: member="xccdf_profile::xccdf_profile_get_setvalues" ref="gaaa3bdc8f1099bd8e481d2afdd7ebe7f4" args="(const struct xccdf_profile *profile)" -->
struct <a class="el" href="structxccdf__setvalue__iterator.html">xccdf_setvalue_iterator</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><b>xccdf_profile_get_setvalues</b> (const struct <a class="el" href="structxccdf__profile.html">xccdf_profile</a> *profile)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="gafc512183009fe5a351265d89f4beef63"></a><!-- doxytag: member="xccdf_profile::xccdf_profile_get_refine_values" ref="gafc512183009fe5a351265d89f4beef63" args="(const struct xccdf_profile *profile)" -->
struct <br class="typebreak"/>
<a class="el" href="structxccdf__refine__value__iterator.html">xccdf_refine_value_iterator</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><b>xccdf_profile_get_refine_values</b> (const struct <a class="el" href="structxccdf__profile.html">xccdf_profile</a> *profile)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ga9226b05f26b39f9136c18c10a0047257"></a><!-- doxytag: member="xccdf_profile::xccdf_profile_get_refine_rules" ref="ga9226b05f26b39f9136c18c10a0047257" args="(const struct xccdf_profile *profile)" -->
struct <a class="el" href="structxccdf__refine__rule__iterator.html">xccdf_refine_rule_iterator</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><b>xccdf_profile_get_refine_rules</b> (const struct <a class="el" href="structxccdf__profile.html">xccdf_profile</a> *profile)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">const char *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__XCCDF.html#ga362e6d07e5ffc48d370f3d8374f9a2cb">xccdf_profile_get_version_update</a> (const struct <a class="el" href="structxccdf__profile.html">xccdf_profile</a> *profile)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">time_t&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__XCCDF.html#ga72eac3920646d92c72069e5a576c525b">xccdf_profile_get_version_time</a> (const struct <a class="el" href="structxccdf__profile.html">xccdf_profile</a> *profile)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">const char *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__XCCDF.html#gadc6cdfd0b1cf96bd79256d93e960d44f">xccdf_profile_get_note_tag</a> (const struct <a class="el" href="structxccdf__profile.html">xccdf_profile</a> *profile)</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__XCCDF.html#ga40624656146dc614abc5730db5e4048e">xccdf_profile_set_note_tag</a> (struct <a class="el" href="structxccdf__profile.html">xccdf_profile</a> *item, const char *newval)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__XCCDF.html#ga89b1d5e244460d0a55ed2a67e1ec0bfd">xccdf_profile_set_id</a> (struct <a class="el" href="structxccdf__profile.html">xccdf_profile</a> *item, const char *newval)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__XCCDF.html#ga09cea00e9dd68642c261f89d300a9673">xccdf_profile_set_abstract</a> (struct <a class="el" href="structxccdf__profile.html">xccdf_profile</a> *item, bool newval)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__XCCDF.html#ga3bedeb6863f483ab056b30b5eaec877e">xccdf_profile_set_prohibit_changes</a> (struct <a class="el" href="structxccdf__profile.html">xccdf_profile</a> *item, bool newval)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__XCCDF.html#gaa0489630ef6420c6ab0bbea941fc82b8">xccdf_profile_set_extends</a> (struct <a class="el" href="structxccdf__profile.html">xccdf_profile</a> *item, const char *newval)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__XCCDF.html#ga54e8d7a4628eb9943dbe1e5ba09f3d96">xccdf_profile_set_version</a> (struct <a class="el" href="structxccdf__profile.html">xccdf_profile</a> *item, const char *newval)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__XCCDF.html#gacdeacb7d013ee05f3ee97dd415c88b9d">xccdf_profile_set_version_time</a> (struct <a class="el" href="structxccdf__profile.html">xccdf_profile</a> *item, time_t newval)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__XCCDF.html#ga36523e4113f67cfed377d1c44f1a4a61">xccdf_profile_set_version_update</a> (struct <a class="el" href="structxccdf__profile.html">xccdf_profile</a> *item, const char *newval)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__XCCDF.html#ga588c74f0bf55cf0b23e25975c2c2c475">xccdf_profile_add_select</a> (struct <a class="el" href="structxccdf__profile.html">xccdf_profile</a> *item, struct <a class="el" href="structxccdf__select.html">xccdf_select</a> *newval)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__XCCDF.html#ga12960550c409f90d258169da6807aa4d">xccdf_profile_add_setvalue</a> (struct <a class="el" href="structxccdf__profile.html">xccdf_profile</a> *item, struct <a class="el" href="structxccdf__setvalue.html">xccdf_setvalue</a> *newval)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__XCCDF.html#gab47789bf6b4db787f9ac56a3d32b6751">xccdf_profile_add_refine_value</a> (struct <a class="el" href="structxccdf__profile.html">xccdf_profile</a> *item, struct <a class="el" href="structxccdf__refine__value.html">xccdf_refine_value</a> *newval)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__XCCDF.html#ga9fa104393f5e4b62a669f3ac264bf0a2">xccdf_profile_add_refine_rule</a> (struct <a class="el" href="structxccdf__profile.html">xccdf_profile</a> *item, struct <a class="el" href="structxccdf__refine__rule.html">xccdf_refine_rule</a> *newval)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__XCCDF.html#gacc0018564a84f3ad2da0e26b890afc3e">xccdf_profile_add_description</a> (struct <a class="el" href="structxccdf__profile.html">xccdf_profile</a> *item, struct <a class="el" href="structoscap__text.html">oscap_text</a> *newval)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__XCCDF.html#ga5827cd99050d4857ea868a18974e2733">xccdf_profile_add_platform</a> (struct <a class="el" href="structxccdf__profile.html">xccdf_profile</a> *item, const char *newval)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__XCCDF.html#gac950fa67ba12e0e7120b844a85399c14">xccdf_profile_add_reference</a> (struct <a class="el" href="structxccdf__profile.html">xccdf_profile</a> *item, struct <a class="el" href="structxccdf__reference.html">xccdf_reference</a> *newval)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__XCCDF.html#ga99d83b64bdc27b9832e49b3c47d0b626">xccdf_profile_add_status</a> (struct <a class="el" href="structxccdf__profile.html">xccdf_profile</a> *item, struct <a class="el" href="structxccdf__status.html">xccdf_status</a> *newval)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__XCCDF.html#ga46b130aca56510c24cf94762bf8c5f24">xccdf_profile_add_title</a> (struct <a class="el" href="structxccdf__profile.html">xccdf_profile</a> *item, struct <a class="el" href="structoscap__text.html">oscap_text</a> *newval)</td></tr>
</table>
<hr/><a name="_details"></a><h2>Detailed Description</h2>
<p>XCCDF profile is a set of tests and their settings in a compact package. </p>
<hr/>The documentation for this struct was generated from the following file:<ul>
<li>/home/pvrabec/project/openscap/openscap-0.5.12/src/XCCDF/public/<a class="el" href="xccdf_8h_source.html">xccdf.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>