Sophie

Sophie

distrib > Mandriva > current > x86_64 > by-pkgid > 3736f276bb1ccfbcee6cb2d27b25d981 > files > 557

openscap-devel-0.5.7-1mdv2010.1.x86_64.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/openscap/openscap-0.5.7/src/common/public/text.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.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><a href="annotated.html"><span>Data&nbsp;Structures</span></a></li>
      <li class="current"><a href="files.html"><span>Files</span></a></li>
    </ul>
  </div>
  <div class="tabs">
    <ul>
      <li><a href="files.html"><span>File&nbsp;List</span></a></li>
      <li><a href="globals.html"><span>Globals</span></a></li>
    </ul>
  </div>
<h1>/home/pvrabec/openscap/openscap-0.5.7/src/common/public/text.h</h1><a href="text_8h.html">Go to the documentation of this file.</a><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="comment">/*</span>
<a name="l00002"></a>00002 <span class="comment"> * Copyright 2009 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"> *      &quot;David Niemoller&quot; &lt;David.Niemoller@g2-inc.com&gt;</span>
<a name="l00021"></a>00021 <span class="comment"> *      Lukas Kuklinek &lt;lkuklinek@redhat.com&gt;</span>
<a name="l00022"></a>00022 <span class="comment"> */</span>
<a name="l00023"></a>00023 
<a name="l00036"></a>00036 <span class="preprocessor">#pragma once</span>
<a name="l00037"></a>00037 <span class="preprocessor"></span><span class="preprocessor">#ifndef OSCAP_TEXT_H_</span>
<a name="l00038"></a>00038 <span class="preprocessor"></span><span class="preprocessor">#define OSCAP_TEXT_H_</span>
<a name="l00039"></a>00039 <span class="preprocessor"></span>
<a name="l00040"></a>00040 
<a name="l00045"></a>00045 
<a name="l00046"></a>00046 <span class="keyword">extern</span> <span class="keyword">const</span> <span class="keywordtype">char</span> * <span class="keyword">const</span> <a class="code" href="group__STRINGS.html#ga4018e4071dc8589589d3baf664e965f6" title="English.">OSCAP_LANG_ENGLISH</a>;
<a name="l00048"></a>00048 <span class="keyword">extern</span> <span class="keyword">const</span> <span class="keywordtype">char</span> * <span class="keyword">const</span> <a class="code" href="group__STRINGS.html#ga5c7c6c7da26b511a4d639fb009d47e28" title="American English.">OSCAP_LANG_ENGLISH_US</a>;
<a name="l00050"></a>00050 <span class="keyword">extern</span> <span class="keyword">const</span> <span class="keywordtype">char</span> * <span class="keyword">const</span> <a class="code" href="group__STRINGS.html#ga2676cda1aeba0056db82daa4b4670c41" title="Default language (i.e. American English).">OSCAP_LANG_DEFAULT</a>;
<a name="l00057"></a>00057 <span class="keyword">struct </span><a class="code" href="structoscap__text.html" title="Representation of internationalizable character strings.">oscap_text</a>;
<a name="l00058"></a>00058 
<a name="l00065"></a>00065 <span class="keyword">struct </span><a class="code" href="structoscap__text.html" title="Representation of internationalizable character strings.">oscap_text</a> *<a class="code" href="group__STRINGS.html#gac6a9bf5401a4886e98f2904dcae24bad" title="Create an internationalized text field.">oscap_text_new</a>(<span class="keywordtype">void</span>);
<a name="l00066"></a>00066 
<a name="l00073"></a>00073 <span class="keyword">struct </span><a class="code" href="structoscap__text.html" title="Representation of internationalizable character strings.">oscap_text</a> *<a class="code" href="group__STRINGS.html#ga58c7ce80ba2c0831e18f1bbdeaafa118" title="Create an internationalized text field with HTML content.">oscap_text_new_html</a>(<span class="keywordtype">void</span>);
<a name="l00074"></a>00074 
<a name="l00079"></a>00079 <span class="keywordtype">void</span> <a class="code" href="group__STRINGS.html#gaf5af70b1be049d2fe79e21e5d5310bb1" title="Release an internationalized text field.">oscap_text_free</a>(<span class="keyword">struct</span> <a class="code" href="structoscap__text.html" title="Representation of internationalizable character strings.">oscap_text</a> *);
<a name="l00080"></a>00080 
<a name="l00082"></a>00082 <span class="keyword">const</span> <span class="keywordtype">char</span> *<a class="code" href="group__STRINGS.html#gaca2bb3cb75e8858295dd08c800ec810e">oscap_text_get_text</a>(<span class="keyword">const</span> <span class="keyword">struct</span> <a class="code" href="structoscap__text.html" title="Representation of internationalizable character strings.">oscap_text</a> *text);
<a name="l00084"></a>00084 <span class="keywordtype">bool</span> <a class="code" href="group__STRINGS.html#ga22a6653f1f8237f3a7f6ad8cdb89a65e">oscap_text_set_text</a>(<span class="keyword">struct</span> <a class="code" href="structoscap__text.html" title="Representation of internationalizable character strings.">oscap_text</a> *text, <span class="keyword">const</span> <span class="keywordtype">char</span> * <span class="keywordtype">string</span>);
<a name="l00085"></a>00085 
<a name="l00087"></a>00087 <span class="keyword">const</span> <span class="keywordtype">char</span> *<a class="code" href="group__STRINGS.html#ga33302545c993d04c5640070f5ebcdf38">oscap_text_get_lang</a>(<span class="keyword">const</span> <span class="keyword">struct</span> <a class="code" href="structoscap__text.html" title="Representation of internationalizable character strings.">oscap_text</a> *text);
<a name="l00089"></a>00089 <span class="keywordtype">bool</span> <a class="code" href="group__STRINGS.html#ga2b1c5275f76416de713f0234993c3475">oscap_text_set_lang</a>(<span class="keyword">struct</span> <a class="code" href="structoscap__text.html" title="Representation of internationalizable character strings.">oscap_text</a> *text, <span class="keyword">const</span> <span class="keywordtype">char</span> *<span class="keywordtype">string</span>);
<a name="l00090"></a>00090 
<a name="l00095"></a>00095 <span class="keywordtype">bool</span> <a class="code" href="group__STRINGS.html#gac0759b0a3b3608446818b1ae3ded6410" title="Does this text posses a HTML content?">oscap_text_get_is_html</a>(<span class="keyword">const</span> <span class="keyword">struct</span> <a class="code" href="structoscap__text.html" title="Representation of internationalizable character strings.">oscap_text</a> *text);
<a name="l00100"></a>00100 <span class="keywordtype">bool</span> <a class="code" href="group__STRINGS.html#ga3f239371f339469e8cc1ffc2bd93d573" title="Can this text contain substitutions?">oscap_text_get_can_substitute</a>(<span class="keyword">const</span> <span class="keyword">struct</span> <a class="code" href="structoscap__text.html" title="Representation of internationalizable character strings.">oscap_text</a> *text);
<a name="l00105"></a>00105 <span class="keywordtype">bool</span> <a class="code" href="group__STRINGS.html#ga4b6bbeb0263f08c3428e23efd47822f1" title="Can this text override parent content?">oscap_text_get_can_override</a>(<span class="keyword">const</span> <span class="keyword">struct</span> <a class="code" href="structoscap__text.html" title="Representation of internationalizable character strings.">oscap_text</a> *text);
<a name="l00110"></a>00110 <span class="keywordtype">bool</span> <a class="code" href="group__STRINGS.html#ga17bc03b25bddb5ed732031744c54ba7a" title="Does this text override parent content?">oscap_text_get_overrides</a>(<span class="keyword">const</span> <span class="keyword">struct</span> <a class="code" href="structoscap__text.html" title="Representation of internationalizable character strings.">oscap_text</a> *text);
<a name="l00115"></a>00115 <span class="keywordtype">bool</span> <a class="code" href="group__STRINGS.html#ga732452af164f4a21ad67c67603359d31" title="Set whether this text overrides parent content.">oscap_text_set_overrides</a>(<span class="keyword">struct</span> <a class="code" href="structoscap__text.html" title="Representation of internationalizable character strings.">oscap_text</a> *text, <span class="keywordtype">bool</span> overrides);
<a name="l00116"></a>00116 
<a name="l00117"></a>00117 
<a name="l00122"></a>00122 <span class="keyword">struct </span><a class="code" href="structoscap__text__iterator.html" title="Internationalized string iterator.">oscap_text_iterator</a>;
<a name="l00124"></a>00124 <span class="keyword">struct </span><a class="code" href="structoscap__text.html" title="Representation of internationalizable character strings.">oscap_text</a> *<a class="code" href="group__STRINGS.html#ga8e0dbe44ba453a691b353d8f034df4ee">oscap_text_iterator_next</a>(<span class="keyword">struct</span> <a class="code" href="structoscap__text__iterator.html" title="Internationalized string iterator.">oscap_text_iterator</a> *it);
<a name="l00126"></a>00126 <span class="keywordtype">bool</span> <a class="code" href="group__STRINGS.html#ga1409acab9efa1a603a5d276af6ccda0e">oscap_text_iterator_has_more</a>(<span class="keyword">struct</span> <a class="code" href="structoscap__text__iterator.html" title="Internationalized string iterator.">oscap_text_iterator</a> *it);
<a name="l00128"></a>00128 <span class="keywordtype">void</span> <a class="code" href="group__STRINGS.html#gab1f6fa43db91de5fe7e774f4db9e8786">oscap_text_iterator_free</a>(<span class="keyword">struct</span> <a class="code" href="structoscap__text__iterator.html" title="Internationalized string iterator.">oscap_text_iterator</a> *it);
<a name="l00130"></a>00130 <span class="keywordtype">void</span> <a class="code" href="group__STRINGS.html#ga77270908f6ad7a1ba7a9191e72f9cab9">oscap_text_iterator_remove</a>(<span class="keyword">struct</span> <a class="code" href="structoscap__text__iterator.html" title="Internationalized string iterator.">oscap_text_iterator</a> *it);
<a name="l00131"></a>00131 
<a name="l00132"></a>00132 <span class="preprocessor">#endif</span>
<a name="l00133"></a>00133 <span class="preprocessor"></span>
</pre></div></div>
<hr size="1"/><address style="text-align: right;"><small>Generated on 26 Feb 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>