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 |
Current File : //usr/local/share/doc/ImageMagick/www/api/MagickCore/magic_8c.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: magic.c File Reference</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>magic.c File Reference</h1> <p> <code>#include "<a class="el" href="studio_8h-source.html">magick/studio.h</a>"</code><br> <code>#include "<a class="el" href="blob_8h-source.html">magick/blob.h</a>"</code><br> <code>#include "<a class="el" href="client_8h-source.html">magick/client.h</a>"</code><br> <code>#include "<a class="el" href="configure_8h-source.html">magick/configure.h</a>"</code><br> <code>#include "<a class="el" href="exception_8h-source.html">magick/exception.h</a>"</code><br> <code>#include "<a class="el" href="exception-private_8h-source.html">magick/exception-private.h</a>"</code><br> <code>#include "<a class="el" href="hashmap_8h-source.html">magick/hashmap.h</a>"</code><br> <code>#include "<a class="el" href="magic_8h-source.html">magick/magic.h</a>"</code><br> <code>#include "<a class="el" href="memory___8h-source.html">magick/memory_.h</a>"</code><br> <code>#include "<a class="el" href="semaphore_8h-source.html">magick/semaphore.h</a>"</code><br> <code>#include "<a class="el" href="string___8h-source.html">magick/string_.h</a>"</code><br> <code>#include "<a class="el" href="token_8h-source.html">magick/token.h</a>"</code><br> <code>#include "<a class="el" href="utility_8h-source.html">magick/utility.h</a>"</code><br> <code>#include "<a class="el" href="xml-tree_8h-source.html">magick/xml-tree.h</a>"</code><br> <table border="0" cellpadding="0" cellspacing="0"> <tr><td></td></tr> <tr><td colspan="2"><br><h2>Defines</h2></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="magic_8c.html#19432e347d87f7efeb2ccfdd59d9011b">MagicFilename</a> "magic.xml"</td></tr> <tr><td colspan="2"><br><h2>Functions</h2></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">static <a class="el" href="magick-type_8h.html#c740cbce6e8928a679ae3767b49428dd">MagickBooleanType</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="magic_8c.html#94076ea65464821b415c50f1df3317b7">InitializeMagicList</a> (<a class="el" href="struct__ExceptionInfo.html">ExceptionInfo</a> *)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">static <a class="el" href="magick-type_8h.html#c740cbce6e8928a679ae3767b49428dd">MagickBooleanType</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="magic_8c.html#4e793c72b6fb206f337cd914b84f0ae3">LoadMagicLists</a> (const char *, <a class="el" href="struct__ExceptionInfo.html">ExceptionInfo</a> *)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">static void * </td><td class="memItemRight" valign="bottom"><a class="el" href="magic_8c.html#05422797062d3ea193a15b2216d1740e">DestroyMagicElement</a> (void *magic_info)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">MagickExport void </td><td class="memItemRight" valign="bottom"><a class="el" href="magic_8c.html#aa87c73620a711c63bed398fd888cfc9">DestroyMagicList</a> (void)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">MagickExport const <a class="el" href="struct__MagicInfo.html">MagicInfo</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="magic_8c.html#f957b4d4f5590b00c949cf866b5b3c3b">GetMagicInfo</a> (const unsigned char *magic, const size_t length, <a class="el" href="struct__ExceptionInfo.html">ExceptionInfo</a> *exception)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">static int </td><td class="memItemRight" valign="bottom"><a class="el" href="magic_8c.html#3dcf85d850913ac8f843b8dc4677ef03">MagicInfoCompare</a> (const void *x, const void *y)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">MagickExport const <a class="el" href="struct__MagicInfo.html">MagicInfo</a> ** </td><td class="memItemRight" valign="bottom"><a class="el" href="magic_8c.html#1b9fbddff1b5e8b92bee5a4c41724500">GetMagicInfoList</a> (const char *pattern, unsigned long *number_aliases, <a class="el" href="struct__ExceptionInfo.html">ExceptionInfo</a> *exception)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">static int </td><td class="memItemRight" valign="bottom"><a class="el" href="magic_8c.html#81fb8389c69e1a915be1a57aef7ebd41">MagicCompare</a> (const void *x, const void *y)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">MagickExport char ** </td><td class="memItemRight" valign="bottom"><a class="el" href="magic_8c.html#b2f81d8484a7bbdc23781bf6b5b6bb1c">GetMagicList</a> (const char *pattern, unsigned long *number_aliases, <a class="el" href="struct__ExceptionInfo.html">ExceptionInfo</a> *exception)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">MagickExport const char * </td><td class="memItemRight" valign="bottom"><a class="el" href="magic_8c.html#43cbedba83373a8fed45183d4170cd4e">GetMagicName</a> (const <a class="el" href="struct__MagicInfo.html">MagicInfo</a> *magic_info)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">MagickExport <a class="el" href="magick-type_8h.html#c740cbce6e8928a679ae3767b49428dd">MagickBooleanType</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="magic_8c.html#f09c7bc577271b27b0cbf724ad59627d">ListMagicInfo</a> (FILE *file, <a class="el" href="struct__ExceptionInfo.html">ExceptionInfo</a> *exception)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">static <a class="el" href="magick-type_8h.html#c740cbce6e8928a679ae3767b49428dd">MagickBooleanType</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="magic_8c.html#0f461f5bfdb733ae057ceff0aa0ee309">LoadMagicList</a> (const char *xml, const char *filename, const unsigned long depth, <a class="el" href="struct__ExceptionInfo.html">ExceptionInfo</a> *exception)</td></tr> <tr><td colspan="2"><br><h2>Variables</h2></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">static const char * </td><td class="memItemRight" valign="bottom"><a class="el" href="magic_8c.html#c7a0d973ae52ec8a28b7407b3bff38d1">MagicMap</a></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">static <a class="el" href="struct__LinkedListInfo.html">LinkedListInfo</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="magic_8c.html#9f7ed35f89e18317cf7d172eba2406fa">magic_list</a> = (<a class="el" href="struct__LinkedListInfo.html">LinkedListInfo</a> *) NULL</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">static <a class="el" href="structSemaphoreInfo.html">SemaphoreInfo</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="magic_8c.html#ca4ade4c16bbfeb85cf1a194afb91f7d">magic_semaphore</a> = (<a class="el" href="structSemaphoreInfo.html">SemaphoreInfo</a> *) NULL</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">static volatile <a class="el" href="magick-type_8h.html#c740cbce6e8928a679ae3767b49428dd">MagickBooleanType</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="magic_8c.html#2768515abb44aee79613b342385e043a">instantiate_magic</a> = MagickFalse</td></tr> </table> <hr><h2>Define Documentation</h2> <a class="anchor" name="19432e347d87f7efeb2ccfdd59d9011b"></a><!-- doxytag: member="magic.c::MagicFilename" ref="19432e347d87f7efeb2ccfdd59d9011b" args="" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">#define MagicFilename "magic.xml" </td> </tr> </table> </div> <div class="memdoc"> <p> </div> </div><p> <hr><h2>Function Documentation</h2> <a class="anchor" name="05422797062d3ea193a15b2216d1740e"></a><!-- doxytag: member="magic.c::DestroyMagicElement" ref="05422797062d3ea193a15b2216d1740e" args="(void *magic_info)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">static void* DestroyMagicElement </td> <td>(</td> <td class="paramtype">void * </td> <td class="paramname"> <em>magic_info</em> </td> <td> ) </td> <td width="100%"><code> [static]</code></td> </tr> </table> </div> <div class="memdoc"> <p> </div> </div><p> <a class="anchor" name="aa87c73620a711c63bed398fd888cfc9"></a><!-- doxytag: member="magic.c::DestroyMagicList" ref="aa87c73620a711c63bed398fd888cfc9" args="(void)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">MagickExport void DestroyMagicList </td> <td>(</td> <td class="paramtype">void </td> <td class="paramname"> </td> <td> ) </td> <td width="100%"></td> </tr> </table> </div> <div class="memdoc"> <p> </div> </div><p> <a class="anchor" name="f957b4d4f5590b00c949cf866b5b3c3b"></a><!-- doxytag: member="magic.c::GetMagicInfo" ref="f957b4d4f5590b00c949cf866b5b3c3b" args="(const unsigned char *magic, const size_t length, ExceptionInfo *exception)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">MagickExport const <a class="el" href="struct__MagicInfo.html">MagicInfo</a>* GetMagicInfo </td> <td>(</td> <td class="paramtype">const unsigned char * </td> <td class="paramname"> <em>magic</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const size_t </td> <td class="paramname"> <em>length</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"><a class="el" href="struct__ExceptionInfo.html">ExceptionInfo</a> * </td> <td class="paramname"> <em>exception</em></td><td> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td><td width="100%"></td> </tr> </table> </div> <div class="memdoc"> <p> </div> </div><p> <a class="anchor" name="1b9fbddff1b5e8b92bee5a4c41724500"></a><!-- doxytag: member="magic.c::GetMagicInfoList" ref="1b9fbddff1b5e8b92bee5a4c41724500" args="(const char *pattern, unsigned long *number_aliases, ExceptionInfo *exception)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">MagickExport const <a class="el" href="struct__MagicInfo.html">MagicInfo</a>** GetMagicInfoList </td> <td>(</td> <td class="paramtype">const char * </td> <td class="paramname"> <em>pattern</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">unsigned long * </td> <td class="paramname"> <em>number_aliases</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"><a class="el" href="struct__ExceptionInfo.html">ExceptionInfo</a> * </td> <td class="paramname"> <em>exception</em></td><td> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td><td width="100%"></td> </tr> </table> </div> <div class="memdoc"> <p> </div> </div><p> <a class="anchor" name="b2f81d8484a7bbdc23781bf6b5b6bb1c"></a><!-- doxytag: member="magic.c::GetMagicList" ref="b2f81d8484a7bbdc23781bf6b5b6bb1c" args="(const char *pattern, unsigned long *number_aliases, ExceptionInfo *exception)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">MagickExport char** GetMagicList </td> <td>(</td> <td class="paramtype">const char * </td> <td class="paramname"> <em>pattern</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">unsigned long * </td> <td class="paramname"> <em>number_aliases</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"><a class="el" href="struct__ExceptionInfo.html">ExceptionInfo</a> * </td> <td class="paramname"> <em>exception</em></td><td> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td><td width="100%"></td> </tr> </table> </div> <div class="memdoc"> <p> </div> </div><p> <a class="anchor" name="43cbedba83373a8fed45183d4170cd4e"></a><!-- doxytag: member="magic.c::GetMagicName" ref="43cbedba83373a8fed45183d4170cd4e" args="(const MagicInfo *magic_info)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">MagickExport const char* GetMagicName </td> <td>(</td> <td class="paramtype">const <a class="el" href="struct__MagicInfo.html">MagicInfo</a> * </td> <td class="paramname"> <em>magic_info</em> </td> <td> ) </td> <td width="100%"></td> </tr> </table> </div> <div class="memdoc"> <p> </div> </div><p> <a class="anchor" name="94076ea65464821b415c50f1df3317b7"></a><!-- doxytag: member="magic.c::InitializeMagicList" ref="94076ea65464821b415c50f1df3317b7" args="(ExceptionInfo *)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">static <a class="el" href="magick-type_8h.html#c740cbce6e8928a679ae3767b49428dd">MagickBooleanType</a> InitializeMagicList </td> <td>(</td> <td class="paramtype"><a class="el" href="struct__ExceptionInfo.html">ExceptionInfo</a> * </td> <td class="paramname"> <em>exception</em> </td> <td> ) </td> <td width="100%"><code> [static]</code></td> </tr> </table> </div> <div class="memdoc"> <p> </div> </div><p> <a class="anchor" name="f09c7bc577271b27b0cbf724ad59627d"></a><!-- doxytag: member="magic.c::ListMagicInfo" ref="f09c7bc577271b27b0cbf724ad59627d" args="(FILE *file, ExceptionInfo *exception)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">MagickExport <a class="el" href="magick-type_8h.html#c740cbce6e8928a679ae3767b49428dd">MagickBooleanType</a> ListMagicInfo </td> <td>(</td> <td class="paramtype">FILE * </td> <td class="paramname"> <em>file</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"><a class="el" href="struct__ExceptionInfo.html">ExceptionInfo</a> * </td> <td class="paramname"> <em>exception</em></td><td> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td><td width="100%"></td> </tr> </table> </div> <div class="memdoc"> <p> </div> </div><p> <a class="anchor" name="0f461f5bfdb733ae057ceff0aa0ee309"></a><!-- doxytag: member="magic.c::LoadMagicList" ref="0f461f5bfdb733ae057ceff0aa0ee309" args="(const char *xml, const char *filename, const unsigned long depth, ExceptionInfo *exception)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">static <a class="el" href="magick-type_8h.html#c740cbce6e8928a679ae3767b49428dd">MagickBooleanType</a> LoadMagicList </td> <td>(</td> <td class="paramtype">const char * </td> <td class="paramname"> <em>xml</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const char * </td> <td class="paramname"> <em>filename</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const unsigned long </td> <td class="paramname"> <em>depth</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"><a class="el" href="struct__ExceptionInfo.html">ExceptionInfo</a> * </td> <td class="paramname"> <em>exception</em></td><td> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td><td width="100%"><code> [static]</code></td> </tr> </table> </div> <div class="memdoc"> <p> </div> </div><p> <a class="anchor" name="4e793c72b6fb206f337cd914b84f0ae3"></a><!-- doxytag: member="magic.c::LoadMagicLists" ref="4e793c72b6fb206f337cd914b84f0ae3" args="(const char *, ExceptionInfo *)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">static <a class="el" href="magick-type_8h.html#c740cbce6e8928a679ae3767b49428dd">MagickBooleanType</a> LoadMagicLists </td> <td>(</td> <td class="paramtype">const char * </td> <td class="paramname"> <em>filename</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"><a class="el" href="struct__ExceptionInfo.html">ExceptionInfo</a> * </td> <td class="paramname"> <em>exception</em></td><td> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td><td width="100%"></td> </tr> </table> </div> <div class="memdoc"> <p> </div> </div><p> <a class="anchor" name="81fb8389c69e1a915be1a57aef7ebd41"></a><!-- doxytag: member="magic.c::MagicCompare" ref="81fb8389c69e1a915be1a57aef7ebd41" args="(const void *x, const void *y)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">static int MagicCompare </td> <td>(</td> <td class="paramtype">const void * </td> <td class="paramname"> <em>x</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const void * </td> <td class="paramname"> <em>y</em></td><td> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td><td width="100%"><code> [static]</code></td> </tr> </table> </div> <div class="memdoc"> <p> </div> </div><p> <a class="anchor" name="3dcf85d850913ac8f843b8dc4677ef03"></a><!-- doxytag: member="magic.c::MagicInfoCompare" ref="3dcf85d850913ac8f843b8dc4677ef03" args="(const void *x, const void *y)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">static int MagicInfoCompare </td> <td>(</td> <td class="paramtype">const void * </td> <td class="paramname"> <em>x</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const void * </td> <td class="paramname"> <em>y</em></td><td> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td><td width="100%"><code> [static]</code></td> </tr> </table> </div> <div class="memdoc"> <p> </div> </div><p> <hr><h2>Variable Documentation</h2> <a class="anchor" name="2768515abb44aee79613b342385e043a"></a><!-- doxytag: member="magic.c::instantiate_magic" ref="2768515abb44aee79613b342385e043a" args="" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">volatile <a class="el" href="magick-type_8h.html#c740cbce6e8928a679ae3767b49428dd">MagickBooleanType</a> <a class="el" href="magic_8c.html#2768515abb44aee79613b342385e043a">instantiate_magic</a> = MagickFalse<code> [static]</code> </td> </tr> </table> </div> <div class="memdoc"> <p> </div> </div><p> <a class="anchor" name="9f7ed35f89e18317cf7d172eba2406fa"></a><!-- doxytag: member="magic.c::magic_list" ref="9f7ed35f89e18317cf7d172eba2406fa" args="" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="struct__LinkedListInfo.html">LinkedListInfo</a>* <a class="el" href="magic_8c.html#9f7ed35f89e18317cf7d172eba2406fa">magic_list</a> = (<a class="el" href="struct__LinkedListInfo.html">LinkedListInfo</a> *) NULL<code> [static]</code> </td> </tr> </table> </div> <div class="memdoc"> <p> </div> </div><p> <a class="anchor" name="ca4ade4c16bbfeb85cf1a194afb91f7d"></a><!-- doxytag: member="magic.c::magic_semaphore" ref="ca4ade4c16bbfeb85cf1a194afb91f7d" args="" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="structSemaphoreInfo.html">SemaphoreInfo</a>* <a class="el" href="magic_8c.html#ca4ade4c16bbfeb85cf1a194afb91f7d">magic_semaphore</a> = (<a class="el" href="structSemaphoreInfo.html">SemaphoreInfo</a> *) NULL<code> [static]</code> </td> </tr> </table> </div> <div class="memdoc"> <p> </div> </div><p> <a class="anchor" name="c7a0d973ae52ec8a28b7407b3bff38d1"></a><!-- doxytag: member="magic.c::MagicMap" ref="c7a0d973ae52ec8a28b7407b3bff38d1" args="" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">const char* <a class="el" href="magic_8c.html#c7a0d973ae52ec8a28b7407b3bff38d1">MagicMap</a><code> [static]</code> </td> </tr> </table> </div> <div class="memdoc"> <p> </div> </div><p> <hr size="1"><address style="text-align: right;"><small>Generated on Sat Jan 26 14:50:30 2008 for MagickCore by <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>