config root man

Current Path : /usr/local/share/doc/ImageMagick/www/api/MagickCore/

FreeBSD hs32.drive.ne.jp 9.1-RELEASE FreeBSD 9.1-RELEASE #1: Wed Jan 14 12:18:08 JST 2015 root@hs32.drive.ne.jp:/sys/amd64/compile/hs32 amd64
Upload File :
Current File : //usr/local/share/doc/ImageMagick/www/api/MagickCore/mac_8h-source.html

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
<title>MagickCore: mac.h Source File</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
<link href="tabs.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Generated by Doxygen 1.5.4 -->
<div class="nav">
<a class="el" href="dir_b44b349db36f8365f5234e57d3038770.html">magick</a></div>
<h1>mac.h</h1><a href="mac_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 1999-2009 ImageMagick Studio LLC, a non-profit organization</span>
<a name="l00003"></a>00003 <span class="comment">  dedicated to making software imaging solutions freely available.</span>
<a name="l00004"></a>00004 <span class="comment">  </span>
<a name="l00005"></a>00005 <span class="comment">  You may not use this file except in compliance with the License.</span>
<a name="l00006"></a>00006 <span class="comment">  obtain a copy of the License at</span>
<a name="l00007"></a>00007 <span class="comment">  </span>
<a name="l00008"></a>00008 <span class="comment">    http://www.imagemagick.org/script/license.php</span>
<a name="l00009"></a>00009 <span class="comment">  </span>
<a name="l00010"></a>00010 <span class="comment">  Unless required by applicable law or agreed to in writing, software</span>
<a name="l00011"></a>00011 <span class="comment">  distributed under the License is distributed on an "AS IS" BASIS,</span>
<a name="l00012"></a>00012 <span class="comment">  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.</span>
<a name="l00013"></a>00013 <span class="comment">  See the License for the specific language governing permissions and</span>
<a name="l00014"></a>00014 <span class="comment">  limitations under the License.</span>
<a name="l00015"></a>00015 <span class="comment"></span>
<a name="l00016"></a>00016 <span class="comment">  MagickCore utility methods.</span>
<a name="l00017"></a>00017 <span class="comment">*/</span>
<a name="l00018"></a>00018 <span class="preprocessor">#ifndef _MAGICKCORE_MAC_H</span>
<a name="l00019"></a>00019 <span class="preprocessor"></span><span class="preprocessor">#define _MAGICKCORE_MAC_H</span>
<a name="l00020"></a>00020 <span class="preprocessor"></span>
<a name="l00021"></a>00021 <span class="preprocessor">#if defined(__cplusplus) || defined(c_plusplus)</span>
<a name="l00022"></a>00022 <span class="preprocessor"></span><span class="keyword">extern</span> <span class="stringliteral">"C"</span> {
<a name="l00023"></a>00023 <span class="preprocessor">#endif</span>
<a name="l00024"></a>00024 <span class="preprocessor"></span>
<a name="l00025"></a>00025 <span class="preprocessor">#include &lt;locale.h&gt;</span>
<a name="l00026"></a>00026 <span class="preprocessor">#include &lt;Errors.h&gt;</span>
<a name="l00027"></a>00027 <span class="preprocessor">#include &lt;Files.h&gt;</span>
<a name="l00028"></a>00028 <span class="preprocessor">#include &lt;errno.h&gt;</span>
<a name="l00029"></a>00029 
<a name="l00030"></a>00030 <span class="preprocessor">#if defined(_MAGICKCORE_POSIX_SUPPORT_VERSION)</span>
<a name="l00031"></a>00031 <span class="preprocessor"></span><span class="preprocessor"># include &lt;dirent.h&gt;</span>
<a name="l00032"></a>00032 <span class="preprocessor"># if !defined(DISABLE_SIOUX)</span>
<a name="l00033"></a>00033 <span class="preprocessor"></span><span class="preprocessor">#  include &lt;SIOUX.h&gt;</span>
<a name="l00034"></a>00034 <span class="preprocessor"># endif</span>
<a name="l00035"></a>00035 <span class="preprocessor"></span><span class="preprocessor">#else</span>
<a name="l00036"></a>00036 <span class="preprocessor"></span><span class="preprocessor"># include &lt;stat.h&gt;</span>
<a name="l00037"></a>00037 
<a name="l00038"></a><a class="code" href="mac_8h.html#96c6486aa02a821aa4199525f5e79f60">00038</a> <span class="preprocessor">#define S_IREAD  00400</span>
<a name="l00039"></a><a class="code" href="mac_8h.html#40eb4ad4bcc675d265615042657c37b7">00039</a> <span class="preprocessor"></span><span class="preprocessor">#define S_IWRITE  00200</span>
<a name="l00040"></a>00040 <span class="preprocessor"></span>
<a name="l00041"></a><a class="code" href="struct__DIR.html">00041</a> <span class="keyword">typedef</span> <span class="keyword">struct </span><a class="code" href="struct__DIR.html">_DIR</a>
<a name="l00042"></a>00042 {
<a name="l00043"></a>00043   <span class="keywordtype">int</span>
<a name="l00044"></a><a class="code" href="struct__DIR.html#2e592841f68f0126764755f27b753c27">00044</a>     <a class="code" href="struct__DIR.html#2e592841f68f0126764755f27b753c27">d_VRefNum</a>;
<a name="l00045"></a>00045 
<a name="l00046"></a>00046   <span class="keywordtype">long</span> <span class="keywordtype">int</span>
<a name="l00047"></a><a class="code" href="struct__DIR.html#31ca976192082adf6d6a3eeda570983d">00047</a>     <a class="code" href="struct__DIR.html#31ca976192082adf6d6a3eeda570983d">d_DirID</a>;
<a name="l00048"></a>00048 
<a name="l00049"></a>00049   <span class="keywordtype">int</span>
<a name="l00050"></a><a class="code" href="struct__DIR.html#63f4c965d4b2d3c51d9171b908c4bb92">00050</a>     <a class="code" href="struct__DIR.html#63f4c965d4b2d3c51d9171b908c4bb92">d_index</a>;
<a name="l00051"></a>00051 } <a class="code" href="struct__DIR.html">DIR</a>;
<a name="l00052"></a>00052 
<a name="l00053"></a><a class="code" href="structdirent.html">00053</a> <span class="keyword">struct </span><a class="code" href="structdirent.html">dirent</a>
<a name="l00054"></a>00054 {
<a name="l00055"></a>00055   <span class="keywordtype">char</span>
<a name="l00056"></a><a class="code" href="structdirent.html#321c4527ba811a695a136bcefb957750">00056</a>     <a class="code" href="structdirent.html#321c4527ba811a695a136bcefb957750">d_name</a>[255];
<a name="l00057"></a>00057 
<a name="l00058"></a>00058   <span class="keywordtype">int</span>
<a name="l00059"></a><a class="code" href="structdirent.html#7be6bd9a3c00835349a8c851f37e29fd">00059</a>     <a class="code" href="structdirent.html#7be6bd9a3c00835349a8c851f37e29fd">d_namlen</a>;
<a name="l00060"></a>00060 };
<a name="l00061"></a>00061 <span class="preprocessor">#endif</span>
<a name="l00062"></a>00062 <span class="preprocessor"></span>
<a name="l00063"></a>00063 <a class="code" href="MagickCore_8h.html#487cee8f0dff0607e77f6b51d6403651">MagickExport</a> <a class="code" href="struct__Image.html">Image</a>
<a name="l00064"></a>00064   *<a class="code" href="mac_8h.html#f92cde994824720258ea0f3265df1fd5">ReadPICTImage</a>(<span class="keyword">const</span> <a class="code" href="struct__ImageInfo.html">ImageInfo</a> *,<a class="code" href="struct__ExceptionInfo.html">ExceptionInfo</a> *);
<a name="l00065"></a>00065 
<a name="l00066"></a>00066 <span class="keyword">extern</span> <a class="code" href="MagickCore_8h.html#487cee8f0dff0607e77f6b51d6403651">MagickExport</a> <span class="keywordtype">int</span>
<a name="l00067"></a>00067   <a class="code" href="studio_8h.html#7fb54afd6da143e9292dea54ddf6d6d3">Exit</a>(<span class="keywordtype">int</span>),
<a name="l00068"></a>00068   <a class="code" href="mac_8h.html#0a6db36886bf0e61a1b2c6d4b023a52f">MACSystemCommand</a>(<span class="keyword">const</span> <span class="keywordtype">char</span> *);
<a name="l00069"></a>00069 
<a name="l00070"></a>00070 <span class="keyword">extern</span> <a class="code" href="MagickCore_8h.html#487cee8f0dff0607e77f6b51d6403651">MagickExport</a> <a class="code" href="magick-type_8h.html#c740cbce6e8928a679ae3767b49428dd">MagickBooleanType</a>
<a name="l00071"></a>00071   <a class="code" href="mac_8h.html#699172028748f9a55941de9d80bd6928">MACIsMagickConflict</a>(<span class="keyword">const</span> <span class="keywordtype">char</span> *);
<a name="l00072"></a>00072 
<a name="l00073"></a>00073 <span class="keyword">extern</span> <a class="code" href="MagickCore_8h.html#487cee8f0dff0607e77f6b51d6403651">MagickExport</a> <span class="keywordtype">void</span>
<a name="l00074"></a>00074   <a class="code" href="mac_8h.html#4c62da89711efda9f9faed0001093a96">MACErrorHandler</a>(<span class="keyword">const</span> <a class="code" href="exception_8h.html#0e0f0f1661d7aeb71ed9698bff6c6383">ExceptionType</a>,<span class="keyword">const</span> <span class="keywordtype">char</span> *,<span class="keyword">const</span> <span class="keywordtype">char</span> *),
<a name="l00075"></a>00075   <a class="code" href="mac_8h.html#b065cc7067f631842e8301724c282ee0">MACWarningHandler</a>(<span class="keyword">const</span> <a class="code" href="exception_8h.html#0e0f0f1661d7aeb71ed9698bff6c6383">ExceptionType</a>,<span class="keyword">const</span> <span class="keywordtype">char</span> *,<span class="keyword">const</span> <span class="keywordtype">char</span> *),
<a name="l00076"></a>00076   <a class="code" href="studio_8h.html#966daf1aedd3b59a5a0a10bb56e2f827">ProcessPendingEvents</a>(<span class="keyword">const</span> <span class="keywordtype">char</span> *),
<a name="l00077"></a>00077   <a class="code" href="mac_8h.html#1bd2bc12c1b8e3269bb0306f012465dd">SetApplicationType</a>(<span class="keyword">const</span> <span class="keywordtype">char</span> *,<span class="keyword">const</span> <span class="keywordtype">char</span> *,OSType);
<a name="l00078"></a>00078 
<a name="l00079"></a>00079 <span class="preprocessor">#if defined(DISABLE_SIOUX)</span>
<a name="l00080"></a>00080 <span class="preprocessor"></span><span class="keyword">typedef</span> void
<a name="l00081"></a>00081   (*MACEventHookPtr)(<span class="keyword">const</span> <span class="keywordtype">char</span> *);
<a name="l00082"></a>00082 
<a name="l00083"></a>00083 <span class="keyword">typedef</span> void
<a name="l00084"></a>00084   (*MACErrorHookPtr)(<span class="keyword">const</span> short,<span class="keyword">const</span> <span class="keywordtype">char</span> *text);
<a name="l00085"></a>00085 
<a name="l00086"></a>00086 <span class="keyword">extern</span> <a class="code" href="MagickCore_8h.html#487cee8f0dff0607e77f6b51d6403651">MagickExport</a> <span class="keywordtype">void</span>
<a name="l00087"></a>00087   MACSetErrorHook(MACErrorHookPtr),
<a name="l00088"></a>00088   MACSetEventHook(MACEventHookPtr),
<a name="l00089"></a>00089   MACFatalErrorHandler(<span class="keyword">const</span> <a class="code" href="exception_8h.html#0e0f0f1661d7aeb71ed9698bff6c6383">ExceptionType</a>,<span class="keyword">const</span> <span class="keywordtype">char</span> *,<span class="keyword">const</span> <span class="keywordtype">char</span> *);
<a name="l00090"></a>00090 <span class="preprocessor">#endif</span>
<a name="l00091"></a>00091 <span class="preprocessor"></span>
<a name="l00092"></a>00092 <span class="preprocessor">#if !defined(_MAGICKCORE_POSIX_SUPPORT_VERSION)</span>
<a name="l00093"></a>00093 <span class="preprocessor"></span><span class="keyword">extern</span> <a class="code" href="MagickCore_8h.html#487cee8f0dff0607e77f6b51d6403651">MagickExport</a> <a class="code" href="struct__DIR.html">DIR</a>
<a name="l00094"></a>00094   *<a class="code" href="nt-base_8h.html#366118a87c1ed24d3cf9f5eeaefa0413">opendir</a>(<span class="keyword">const</span> <span class="keywordtype">char</span> *);
<a name="l00095"></a>00095 
<a name="l00096"></a>00096 <span class="keyword">extern</span> <a class="code" href="MagickCore_8h.html#487cee8f0dff0607e77f6b51d6403651">MagickExport</a> <span class="keywordtype">long</span>
<a name="l00097"></a>00097   <a class="code" href="nt-base_8h.html#2215c8454b1ca92a802f511b8c0a1582">telldir</a>(<a class="code" href="struct__DIR.html">DIR</a> *);
<a name="l00098"></a>00098 
<a name="l00099"></a>00099 <span class="keyword">extern</span> <a class="code" href="MagickCore_8h.html#487cee8f0dff0607e77f6b51d6403651">MagickExport</a> <span class="keyword">struct </span><a class="code" href="structdirent.html">dirent</a>
<a name="l00100"></a>00100   *<a class="code" href="nt-base_8h.html#9fc402af20bd349b2a818ab8d9c73dad">readdir</a>(<a class="code" href="struct__DIR.html">DIR</a> *);
<a name="l00101"></a>00101 
<a name="l00102"></a>00102 <span class="keyword">extern</span> <a class="code" href="MagickCore_8h.html#487cee8f0dff0607e77f6b51d6403651">MagickExport</a> <span class="keywordtype">void</span>
<a name="l00103"></a>00103   <a class="code" href="nt-base_8h.html#92c910abc393b8dd7368eab723af6530">seekdir</a>(<a class="code" href="struct__DIR.html">DIR</a> *,<span class="keywordtype">long</span>),
<a name="l00104"></a>00104   <a class="code" href="nt-base_8h.html#359e32959b6fb3a9352a63b90c48b9d4">closedir</a>(<a class="code" href="struct__DIR.html">DIR</a> *);
<a name="l00105"></a>00105 <span class="preprocessor">#endif</span>
<a name="l00106"></a>00106 <span class="preprocessor"></span>
<a name="l00107"></a>00107 <span class="preprocessor">#if defined(__cplusplus) || defined(c_plusplus)</span>
<a name="l00108"></a>00108 <span class="preprocessor"></span>}
<a name="l00109"></a>00109 <span class="preprocessor">#endif</span>
<a name="l00110"></a>00110 <span class="preprocessor"></span>
<a name="l00111"></a>00111 <span class="preprocessor">#endif</span>
</pre></div><hr size="1"><address style="text-align: right;"><small>Generated on Sat Jan 26 14:50:29 2008 for MagickCore by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.4 </small></address>
</body>
</html>

Man Man