Sophie

Sophie

distrib > Mandriva > 2010.0 > i586 > media > contrib-release > by-pkgid > 7392c77c84ff25edfeb07995a77d5148 > files > 648

steghide-0.5.1-11mdv2010.0.i586.rpm

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
<title>steghide: gettext.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.5.9 -->
<div class="navigation" id="top">
  <div class="tabs">
    <ul>
      <li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
      <li><a href="annotated.html"><span>Classes</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>File&nbsp;Members</span></a></li>
    </ul>
  </div>
<h1>gettext.h</h1><a href="gettext_8h.html">Go to the documentation of this file.</a><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="comment">/* Convenience header for conditional use of GNU &lt;libintl.h&gt;.</span>
<a name="l00002"></a>00002 <span class="comment">   Copyright (C) 1995-1998, 2000-2002 Free Software Foundation, Inc.</span>
<a name="l00003"></a>00003 <span class="comment"></span>
<a name="l00004"></a>00004 <span class="comment">   This program is free software; you can redistribute it and/or modify it</span>
<a name="l00005"></a>00005 <span class="comment">   under the terms of the GNU Library General Public License as published</span>
<a name="l00006"></a>00006 <span class="comment">   by the Free Software Foundation; either version 2, or (at your option)</span>
<a name="l00007"></a>00007 <span class="comment">   any later version.</span>
<a name="l00008"></a>00008 <span class="comment"></span>
<a name="l00009"></a>00009 <span class="comment">   This program is distributed in the hope that it will be useful,</span>
<a name="l00010"></a>00010 <span class="comment">   but WITHOUT ANY WARRANTY; without even the implied warranty of</span>
<a name="l00011"></a>00011 <span class="comment">   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU</span>
<a name="l00012"></a>00012 <span class="comment">   Library General Public License for more details.</span>
<a name="l00013"></a>00013 <span class="comment"></span>
<a name="l00014"></a>00014 <span class="comment">   You should have received a copy of the GNU Library General Public</span>
<a name="l00015"></a>00015 <span class="comment">   License along with this program; if not, write to the Free Software</span>
<a name="l00016"></a>00016 <span class="comment">   Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307,</span>
<a name="l00017"></a>00017 <span class="comment">   USA.  */</span>
<a name="l00018"></a>00018 
<a name="l00019"></a>00019 <span class="preprocessor">#ifndef _LIBGETTEXT_H</span>
<a name="l00020"></a><a class="code" href="gettext_8h.html#f695457639ad66a275901edc6f5c7418">00020</a> <span class="preprocessor"></span><span class="preprocessor">#define _LIBGETTEXT_H 1</span>
<a name="l00021"></a>00021 <span class="preprocessor"></span>
<a name="l00022"></a>00022 <span class="comment">/* NLS can be disabled through the configure --disable-nls option.  */</span>
<a name="l00023"></a>00023 <span class="preprocessor">#if ENABLE_NLS</span>
<a name="l00024"></a>00024 <span class="preprocessor"></span>
<a name="l00025"></a>00025 <span class="comment">/* Get declarations of GNU message catalog functions.  */</span>
<a name="l00026"></a>00026 <span class="preprocessor"># include &lt;libintl.h&gt;</span>
<a name="l00027"></a>00027 
<a name="l00028"></a>00028 <span class="preprocessor">#else</span>
<a name="l00029"></a>00029 <span class="preprocessor"></span>
<a name="l00030"></a>00030 <span class="comment">/* Solaris /usr/include/locale.h includes /usr/include/libintl.h, which</span>
<a name="l00031"></a>00031 <span class="comment">   chokes if dcgettext is defined as a macro.  So include it now, to make</span>
<a name="l00032"></a>00032 <span class="comment">   later inclusions of &lt;locale.h&gt; a NOP.  We don't include &lt;libintl.h&gt;</span>
<a name="l00033"></a>00033 <span class="comment">   as well because people using "gettext.h" will not include &lt;libintl.h&gt;,</span>
<a name="l00034"></a>00034 <span class="comment">   and also including &lt;libintl.h&gt; would fail on SunOS 4, whereas &lt;locale.h&gt;</span>
<a name="l00035"></a>00035 <span class="comment">   is OK.  */</span>
<a name="l00036"></a>00036 <span class="preprocessor">#if defined(__sun)</span>
<a name="l00037"></a>00037 <span class="preprocessor"></span><span class="preprocessor"># include &lt;locale.h&gt;</span>
<a name="l00038"></a>00038 <span class="preprocessor">#endif</span>
<a name="l00039"></a>00039 <span class="preprocessor"></span>
<a name="l00040"></a>00040 <span class="comment">/* Disabled NLS.</span>
<a name="l00041"></a>00041 <span class="comment">   The casts to 'const char *' serve the purpose of producing warnings</span>
<a name="l00042"></a>00042 <span class="comment">   for invalid uses of the value returned from these functions.</span>
<a name="l00043"></a>00043 <span class="comment">   On pre-ANSI systems without 'const', the config.h file is supposed to</span>
<a name="l00044"></a>00044 <span class="comment">   contain "#define const".  */</span>
<a name="l00045"></a><a class="code" href="gettext_8h.html#a0fab2ce0e5eb897c393cee0d83c6ea9">00045</a> <span class="preprocessor"># define gettext(Msgid) ((const char *) (Msgid))</span>
<a name="l00046"></a><a class="code" href="gettext_8h.html#86f757e66ffde703afba316a7396a28f">00046</a> <span class="preprocessor"></span><span class="preprocessor"># define dgettext(Domainname, Msgid) ((const char *) (Msgid))</span>
<a name="l00047"></a><a class="code" href="gettext_8h.html#4419bece30ab76327deb6ef4149322f4">00047</a> <span class="preprocessor"></span><span class="preprocessor"># define dcgettext(Domainname, Msgid, Category) ((const char *) (Msgid))</span>
<a name="l00048"></a><a class="code" href="gettext_8h.html#248c64613ae95f3477511c239fe9c5c1">00048</a> <span class="preprocessor"></span><span class="preprocessor"># define ngettext(Msgid1, Msgid2, N) \</span>
<a name="l00049"></a>00049 <span class="preprocessor">    ((N) == 1 ? (const char *) (Msgid1) : (const char *) (Msgid2))</span>
<a name="l00050"></a><a class="code" href="gettext_8h.html#06fa46950f520d32c10de24270198932">00050</a> <span class="preprocessor"></span><span class="preprocessor"># define dngettext(Domainname, Msgid1, Msgid2, N) \</span>
<a name="l00051"></a>00051 <span class="preprocessor">    ((N) == 1 ? (const char *) (Msgid1) : (const char *) (Msgid2))</span>
<a name="l00052"></a><a class="code" href="gettext_8h.html#a646ec380c28849655fcc4d56873062c">00052</a> <span class="preprocessor"></span><span class="preprocessor"># define dcngettext(Domainname, Msgid1, Msgid2, N, Category) \</span>
<a name="l00053"></a>00053 <span class="preprocessor">    ((N) == 1 ? (const char *) (Msgid1) : (const char *) (Msgid2))</span>
<a name="l00054"></a><a class="code" href="gettext_8h.html#ba3653075c8f1f84c741ef23b2266f89">00054</a> <span class="preprocessor"></span><span class="preprocessor"># define textdomain(Domainname) ((const char *) (Domainname))</span>
<a name="l00055"></a><a class="code" href="gettext_8h.html#c719c37e146c0e2030a7ed1dfcbdd5f8">00055</a> <span class="preprocessor"></span><span class="preprocessor"># define bindtextdomain(Domainname, Dirname) ((const char *) (Dirname))</span>
<a name="l00056"></a><a class="code" href="gettext_8h.html#973ce74418a69a456534d48dedddcd46">00056</a> <span class="preprocessor"></span><span class="preprocessor"># define bind_textdomain_codeset(Domainname, Codeset) ((const char *) (Codeset))</span>
<a name="l00057"></a>00057 <span class="preprocessor"></span>
<a name="l00058"></a>00058 <span class="preprocessor">#endif</span>
<a name="l00059"></a>00059 <span class="preprocessor"></span>
<a name="l00060"></a>00060 <span class="comment">/* A pseudo function call that serves as a marker for the automated</span>
<a name="l00061"></a>00061 <span class="comment">   extraction of messages, but does not call gettext().  The run-time</span>
<a name="l00062"></a>00062 <span class="comment">   translation is done at a different place in the code.</span>
<a name="l00063"></a>00063 <span class="comment">   The argument, String, should be a literal string.  Concatenated strings</span>
<a name="l00064"></a>00064 <span class="comment">   and other string expressions won't work.</span>
<a name="l00065"></a>00065 <span class="comment">   The macro's expansion is not parenthesized, so that it is suitable as</span>
<a name="l00066"></a>00066 <span class="comment">   initializer for static 'char[]' or 'const char[]' variables.  */</span>
<a name="l00067"></a><a class="code" href="gettext_8h.html#1a0ef2e42374f90a13299cc06f437847">00067</a> <span class="preprocessor">#define gettext_noop(String) String</span>
<a name="l00068"></a>00068 <span class="preprocessor"></span>
<a name="l00069"></a>00069 <span class="preprocessor">#endif </span><span class="comment">/* _LIBGETTEXT_H */</span>
</pre></div></div>
<hr size="1"><address style="text-align: right;"><small>Generated on Mon Aug 17 10:58:29 2009 for steghide by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.9 </small></address>
</body>
</html>