<!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/public/reference.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 Page</span></a></li> <li><a href="pages.html"><span>Related Pages</span></a></li> <li><a href="modules.html"><span>Modules</span></a></li> <li><a href="annotated.html"><span>Data 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 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/public/reference.h</div> </div> </div> <div class="contents"> <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 <lkuklinek@redhat.com></span> <a name="l00021"></a>00021 <span class="comment"> */</span> <a name="l00022"></a>00022 <a name="l00023"></a>00023 <a name="l00024"></a>00024 <span class="preprocessor">#pragma once</span> <a name="l00025"></a>00025 <span class="preprocessor"></span><span class="preprocessor">#ifndef OSCAP_REFERENCE_H_</span> <a name="l00026"></a>00026 <span class="preprocessor"></span><span class="preprocessor">#define OSCAP_REFERENCE_H_</span> <a name="l00027"></a>00027 <span class="preprocessor"></span> <a name="l00031"></a>00031 <span class="keyword">struct </span><a class="code" href="structoscap__reference.html">oscap_reference</a>; <a name="l00032"></a>00032 <a name="l00034"></a>00034 <span class="keyword">struct </span>oscap_reference_iterator; <a name="l00036"></a>00036 <span class="keywordtype">bool</span> oscap_reference_iterator_has_more(<span class="keyword">struct</span> oscap_reference_iterator *it); <a name="l00038"></a>00038 <span class="keyword">struct </span><a class="code" href="structoscap__reference.html">oscap_reference</a> *oscap_reference_iterator_next(<span class="keyword">struct</span> oscap_reference_iterator *it); <a name="l00040"></a>00040 <span class="keywordtype">void</span> oscap_reference_iterator_free(<span class="keyword">struct</span> oscap_reference_iterator *it); <a name="l00042"></a>00042 <span class="keywordtype">void</span> oscap_reference_iterator_reset(<span class="keyword">struct</span> oscap_reference_iterator *it); <a name="l00043"></a>00043 <a name="l00045"></a>00045 <span class="keyword">struct </span><a class="code" href="structoscap__reference.html">oscap_reference</a> *<a class="code" href="structoscap__reference.html#a6561fdcb09b5bf1833ac5183d2e68cb7">oscap_reference_new</a>(<span class="keywordtype">void</span>); <a name="l00047"></a>00047 <span class="keywordtype">void</span> <a class="code" href="structoscap__reference.html#a98d602f334dd618c355f59da394d21a9">oscap_reference_free</a>(<span class="keyword">struct</span> <a class="code" href="structoscap__reference.html">oscap_reference</a> *ref); <a name="l00049"></a>00049 <span class="keyword">struct </span><a class="code" href="structoscap__reference.html">oscap_reference</a> *<a class="code" href="structoscap__reference.html#ad16045aa1e59680f7ec3f0e77ab3cda4">oscap_reference_clone</a>(<span class="keyword">const</span> <span class="keyword">struct</span> <a class="code" href="structoscap__reference.html">oscap_reference</a> *ref); <a name="l00050"></a>00050 <a name="l00052"></a>00052 <span class="keywordtype">bool</span> <a class="code" href="structoscap__reference.html#a1f8a33397666a9b5adb4e08b3cd19d93">oscap_reference_get_is_dublincore</a>(<span class="keyword">const</span> <span class="keyword">struct</span> <a class="code" href="structoscap__reference.html">oscap_reference</a> *item); <a name="l00054"></a>00054 <span class="keywordtype">bool</span> <a class="code" href="structoscap__reference.html#a17f126b27a039cfe743813c1c3b3c777">oscap_reference_set_is_dublincore</a>(<span class="keyword">struct</span> <a class="code" href="structoscap__reference.html">oscap_reference</a> *obj, <span class="keywordtype">bool</span> newval); <a name="l00055"></a>00055 <a name="l00057"></a>00057 <span class="keyword">const</span> <span class="keywordtype">char</span> *<a class="code" href="structoscap__reference.html#a7c237e37544680e29865756e7de2fae5">oscap_reference_get_title</a>(<span class="keyword">const</span> <span class="keyword">struct</span> <a class="code" href="structoscap__reference.html">oscap_reference</a> *item); <a name="l00059"></a>00059 <span class="keywordtype">bool</span> <a class="code" href="structoscap__reference.html#a8022b8323cfd7f938c0e3e31f7533239">oscap_reference_set_title</a>(<span class="keyword">struct</span> <a class="code" href="structoscap__reference.html">oscap_reference</a> *obj, <span class="keyword">const</span> <span class="keywordtype">char</span> *newval); <a name="l00061"></a>00061 <span class="keyword">const</span> <span class="keywordtype">char</span> *<a class="code" href="structoscap__reference.html#af547caf9c4807a0a91469edfcae0784a">oscap_reference_get_creator</a>(<span class="keyword">const</span> <span class="keyword">struct</span> <a class="code" href="structoscap__reference.html">oscap_reference</a> *item); <a name="l00063"></a>00063 <span class="keywordtype">bool</span> <a class="code" href="structoscap__reference.html#adf713ddcdefb0a300b85932c858af919">oscap_reference_set_creator</a>(<span class="keyword">struct</span> <a class="code" href="structoscap__reference.html">oscap_reference</a> *obj, <span class="keyword">const</span> <span class="keywordtype">char</span> *newval); <a name="l00065"></a>00065 <span class="keyword">const</span> <span class="keywordtype">char</span> *<a class="code" href="structoscap__reference.html#aa4891679330bee0066b44955e820f273">oscap_reference_get_subject</a>(<span class="keyword">const</span> <span class="keyword">struct</span> <a class="code" href="structoscap__reference.html">oscap_reference</a> *item); <a name="l00067"></a>00067 <span class="keywordtype">bool</span> <a class="code" href="structoscap__reference.html#a2b4fa52d1b16bad82ec24c8a092d65a0">oscap_reference_set_subject</a>(<span class="keyword">struct</span> <a class="code" href="structoscap__reference.html">oscap_reference</a> *obj, <span class="keyword">const</span> <span class="keywordtype">char</span> *newval); <a name="l00069"></a>00069 <span class="keyword">const</span> <span class="keywordtype">char</span> *<a class="code" href="structoscap__reference.html#a55dd2ed12fbb4a9f47df7040d7da6113">oscap_reference_get_description</a>(<span class="keyword">const</span> <span class="keyword">struct</span> <a class="code" href="structoscap__reference.html">oscap_reference</a> *item); <a name="l00071"></a>00071 <span class="keywordtype">bool</span> <a class="code" href="structoscap__reference.html#a3ab1848d42458a8b25b5c39d05ac7e3d">oscap_reference_set_description</a>(<span class="keyword">struct</span> <a class="code" href="structoscap__reference.html">oscap_reference</a> *obj, <span class="keyword">const</span> <span class="keywordtype">char</span> *newval); <a name="l00073"></a>00073 <span class="keyword">const</span> <span class="keywordtype">char</span> *<a class="code" href="structoscap__reference.html#a70cb083ca4afad6238e52dd4f792886a">oscap_reference_get_publisher</a>(<span class="keyword">const</span> <span class="keyword">struct</span> <a class="code" href="structoscap__reference.html">oscap_reference</a> *item); <a name="l00075"></a>00075 <span class="keywordtype">bool</span> <a class="code" href="structoscap__reference.html#a3876d255b4cebb02f05edca6e90f698e">oscap_reference_set_publisher</a>(<span class="keyword">struct</span> <a class="code" href="structoscap__reference.html">oscap_reference</a> *obj, <span class="keyword">const</span> <span class="keywordtype">char</span> *newval); <a name="l00077"></a>00077 <span class="keyword">const</span> <span class="keywordtype">char</span> *<a class="code" href="structoscap__reference.html#a1721654e6360d6fbad3efd5fbfdfa061">oscap_reference_get_contributor</a>(<span class="keyword">const</span> <span class="keyword">struct</span> <a class="code" href="structoscap__reference.html">oscap_reference</a> *item); <a name="l00079"></a>00079 <span class="keywordtype">bool</span> <a class="code" href="structoscap__reference.html#a404e244c0e961146dba611eb00c52c46">oscap_reference_set_contributor</a>(<span class="keyword">struct</span> <a class="code" href="structoscap__reference.html">oscap_reference</a> *obj, <span class="keyword">const</span> <span class="keywordtype">char</span> *newval); <a name="l00081"></a>00081 <span class="keyword">const</span> <span class="keywordtype">char</span> *<a class="code" href="structoscap__reference.html#a0c68e5e7dc68bc496dfc6e6c6fd4d4c5">oscap_reference_get_date</a>(<span class="keyword">const</span> <span class="keyword">struct</span> <a class="code" href="structoscap__reference.html">oscap_reference</a> *item); <a name="l00083"></a>00083 <span class="keywordtype">bool</span> <a class="code" href="structoscap__reference.html#a56525052ed1e9362ab957c51bcccc978">oscap_reference_set_date</a>(<span class="keyword">struct</span> <a class="code" href="structoscap__reference.html">oscap_reference</a> *obj, <span class="keyword">const</span> <span class="keywordtype">char</span> *newval); <a name="l00085"></a>00085 <span class="keyword">const</span> <span class="keywordtype">char</span> *<a class="code" href="structoscap__reference.html#ab0fc3acc2405191849057f30eaf0678b">oscap_reference_get_type</a>(<span class="keyword">const</span> <span class="keyword">struct</span> <a class="code" href="structoscap__reference.html">oscap_reference</a> *item); <a name="l00087"></a>00087 <span class="keywordtype">bool</span> <a class="code" href="structoscap__reference.html#a9d122d1320da10c3cfb6627bc3b12fc9">oscap_reference_set_type</a>(<span class="keyword">struct</span> <a class="code" href="structoscap__reference.html">oscap_reference</a> *obj, <span class="keyword">const</span> <span class="keywordtype">char</span> *newval); <a name="l00089"></a>00089 <span class="keyword">const</span> <span class="keywordtype">char</span> *<a class="code" href="structoscap__reference.html#a99b15f5e1995df144b01b372380382a7">oscap_reference_get_format</a>(<span class="keyword">const</span> <span class="keyword">struct</span> <a class="code" href="structoscap__reference.html">oscap_reference</a> *item); <a name="l00091"></a>00091 <span class="keywordtype">bool</span> <a class="code" href="structoscap__reference.html#a98c5c25ada9e2172acea85947386954f">oscap_reference_set_format</a>(<span class="keyword">struct</span> <a class="code" href="structoscap__reference.html">oscap_reference</a> *obj, <span class="keyword">const</span> <span class="keywordtype">char</span> *newval); <a name="l00093"></a>00093 <span class="keyword">const</span> <span class="keywordtype">char</span> *<a class="code" href="structoscap__reference.html#ae6fb11a01281ad7d9a669e7722cc714d">oscap_reference_get_identifier</a>(<span class="keyword">const</span> <span class="keyword">struct</span> <a class="code" href="structoscap__reference.html">oscap_reference</a> *item); <a name="l00095"></a>00095 <span class="keywordtype">bool</span> <a class="code" href="structoscap__reference.html#a0f84a0c6ee57e8612f92e45c8a19aec9">oscap_reference_set_identifier</a>(<span class="keyword">struct</span> <a class="code" href="structoscap__reference.html">oscap_reference</a> *obj, <span class="keyword">const</span> <span class="keywordtype">char</span> *newval); <a name="l00097"></a>00097 <span class="keyword">const</span> <span class="keywordtype">char</span> *<a class="code" href="structoscap__reference.html#a05ee43e4b46767dae99701b0900762fe">oscap_reference_get_source</a>(<span class="keyword">const</span> <span class="keyword">struct</span> <a class="code" href="structoscap__reference.html">oscap_reference</a> *item); <a name="l00099"></a>00099 <span class="keywordtype">bool</span> <a class="code" href="structoscap__reference.html#ac6e787190d29a32aace7874e77053553">oscap_reference_set_source</a>(<span class="keyword">struct</span> <a class="code" href="structoscap__reference.html">oscap_reference</a> *obj, <span class="keyword">const</span> <span class="keywordtype">char</span> *newval); <a name="l00101"></a>00101 <span class="keyword">const</span> <span class="keywordtype">char</span> *<a class="code" href="structoscap__reference.html#a0dfb357c869f11cfbea6a6900d946b7d">oscap_reference_get_language</a>(<span class="keyword">const</span> <span class="keyword">struct</span> <a class="code" href="structoscap__reference.html">oscap_reference</a> *item); <a name="l00103"></a>00103 <span class="keywordtype">bool</span> <a class="code" href="structoscap__reference.html#a0bbde3b65b4f9648025cdfaec158dfce">oscap_reference_set_language</a>(<span class="keyword">struct</span> <a class="code" href="structoscap__reference.html">oscap_reference</a> *obj, <span class="keyword">const</span> <span class="keywordtype">char</span> *newval); <a name="l00105"></a>00105 <span class="keyword">const</span> <span class="keywordtype">char</span> *<a class="code" href="structoscap__reference.html#a45911671f5a4c232b66e55b304e4c466">oscap_reference_get_relation</a>(<span class="keyword">const</span> <span class="keyword">struct</span> <a class="code" href="structoscap__reference.html">oscap_reference</a> *item); <a name="l00107"></a>00107 <span class="keywordtype">bool</span> <a class="code" href="structoscap__reference.html#aaf013d310fd5e4b1a371b86ecd5f360f">oscap_reference_set_relation</a>(<span class="keyword">struct</span> <a class="code" href="structoscap__reference.html">oscap_reference</a> *obj, <span class="keyword">const</span> <span class="keywordtype">char</span> *newval); <a name="l00109"></a>00109 <span class="keyword">const</span> <span class="keywordtype">char</span> *<a class="code" href="structoscap__reference.html#a16322fc566f85626995cb3b3f74513ee">oscap_reference_get_coverage</a>(<span class="keyword">const</span> <span class="keyword">struct</span> <a class="code" href="structoscap__reference.html">oscap_reference</a> *item); <a name="l00111"></a>00111 <span class="keywordtype">bool</span> <a class="code" href="structoscap__reference.html#a140363e84cbe00da6f379e8a1ab2d188">oscap_reference_set_coverage</a>(<span class="keyword">struct</span> <a class="code" href="structoscap__reference.html">oscap_reference</a> *obj, <span class="keyword">const</span> <span class="keywordtype">char</span> *newval); <a name="l00113"></a>00113 <span class="keyword">const</span> <span class="keywordtype">char</span> *<a class="code" href="structoscap__reference.html#a4ee4091f0ddb391e2897924ee409e9a9">oscap_reference_get_rights</a>(<span class="keyword">const</span> <span class="keyword">struct</span> <a class="code" href="structoscap__reference.html">oscap_reference</a> *item); <a name="l00115"></a>00115 <span class="keywordtype">bool</span> <a class="code" href="structoscap__reference.html#ab7a333a7e02dcf9ef7e5d14ed745cc31">oscap_reference_set_rights</a>(<span class="keyword">struct</span> <a class="code" href="structoscap__reference.html">oscap_reference</a> *obj, <span class="keyword">const</span> <span class="keywordtype">char</span> *newval); <a name="l00116"></a>00116 <a name="l00117"></a>00117 <span class="preprocessor">#endif</span> </pre></div></div> </div> <hr class="footer"/><address class="footer"><small>Generated on Mon Jul 25 2011 for Open SCAP Library by  <a href="http://www.doxygen.org/index.html"> <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.4 </small></address> </body> </html>