<!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"/> <meta http-equiv="X-UA-Compatible" content="IE=9"/> <meta name="generator" content="Doxygen 1.8.3.1"/> <title>log4c: priority.h Source File</title> <link href="tabs.css" rel="stylesheet" type="text/css"/> <script type="text/javascript" src="jquery.js"></script> <script type="text/javascript" src="dynsections.js"></script> <link href="doxygen.css" rel="stylesheet" type="text/css" /> </head> <body> <div id="top"><!-- do not remove this div, it is closed by doxygen! --> <div id="titlearea"> <table cellspacing="0" cellpadding="0"> <tbody> <tr style="height: 56px;"> <td style="padding-left: 0.5em;"> <div id="projectname">log4c  <span id="projectnumber">1.2.4</span> </div> </td> </tr> </tbody> </table> </div> <!-- end header part --> <!-- Generated by Doxygen 1.8.3.1 --> <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="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 id="nav-path" class="navpath"> <ul> <li class="navelem"><a class="el" href="dir_6ba53b81c010ccbbf4e80737d395d27b.html">log4c</a></li> </ul> </div> </div><!-- top --> <div class="header"> <div class="headertitle"> <div class="title">priority.h</div> </div> </div><!--header--> <div class="contents"> <a href="priority_8h.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span> <span class="comment">/* $Id: priority.h,v 1.5 2006/10/01 18:28:55 rbyrne Exp $</span></div> <div class="line"><a name="l00002"></a><span class="lineno"> 2</span> <span class="comment"> *</span></div> <div class="line"><a name="l00003"></a><span class="lineno"> 3</span> <span class="comment"> * priority.h</span></div> <div class="line"><a name="l00004"></a><span class="lineno"> 4</span> <span class="comment"> * </span></div> <div class="line"><a name="l00005"></a><span class="lineno"> 5</span> <span class="comment"> * Copyright 2001-2003, Meiosys (www.meiosys.com). All rights reserved.</span></div> <div class="line"><a name="l00006"></a><span class="lineno"> 6</span> <span class="comment"> *</span></div> <div class="line"><a name="l00007"></a><span class="lineno"> 7</span> <span class="comment"> * See the COPYING file for the terms of usage and distribution.</span></div> <div class="line"><a name="l00008"></a><span class="lineno"> 8</span> <span class="comment"> */</span></div> <div class="line"><a name="l00009"></a><span class="lineno"> 9</span> </div> <div class="line"><a name="l00010"></a><span class="lineno"> 10</span> <span class="preprocessor">#ifndef log4c_priority_h</span></div> <div class="line"><a name="l00011"></a><span class="lineno"> 11</span> <span class="preprocessor"></span><span class="preprocessor">#define log4c_priority_h</span></div> <div class="line"><a name="l00012"></a><span class="lineno"> 12</span> <span class="preprocessor"></span></div> <div class="line"><a name="l00020"></a><span class="lineno"> 20</span> <span class="preprocessor">#include <log4c/defs.h></span></div> <div class="line"><a name="l00021"></a><span class="lineno"> 21</span> </div> <div class="line"><a name="l00022"></a><span class="lineno"> 22</span> __LOG4C_BEGIN_DECLS</div> <div class="line"><a name="l00023"></a><span class="lineno"> 23</span> </div> <div class="line"><a name="l00028"></a><span class="lineno"><a class="code" href="priority_8h.html#a2efa50b9e3c75e5bb20867a4641c4217"> 28</a></span>  <span class="keyword">typedef</span> <span class="keyword">enum</span> { <a class="code" href="priority_8h.html#a2efa50b9e3c75e5bb20867a4641c4217a10f457ce84fdfc01b44430fba456bf2a">LOG4C_PRIORITY_FATAL</a> = 000, <a class="code" href="priority_8h.html#a2efa50b9e3c75e5bb20867a4641c4217ab9b55be3e083228073e281fe565c17e8">LOG4C_PRIORITY_ALERT</a> = 100, <a class="code" href="priority_8h.html#a2efa50b9e3c75e5bb20867a4641c4217a8d1529c8838ec999221ecad85f1a4a2d">LOG4C_PRIORITY_CRIT</a> = 200, <a class="code" href="priority_8h.html#a2efa50b9e3c75e5bb20867a4641c4217a69a26a9c633f45a9f5ee5be89e59590f">LOG4C_PRIORITY_ERROR</a> = 300, <a class="code" href="priority_8h.html#a2efa50b9e3c75e5bb20867a4641c4217a38567b92f1273ad16e30a7e47c834c2f">LOG4C_PRIORITY_WARN</a> = 400, <a class="code" href="priority_8h.html#a2efa50b9e3c75e5bb20867a4641c4217aa1680c09b84e444c25b81a6c87f658c6">LOG4C_PRIORITY_NOTICE</a> = 500, <a class="code" href="priority_8h.html#a2efa50b9e3c75e5bb20867a4641c4217a2cfd18cd18781e1988424b823ff4f170">LOG4C_PRIORITY_INFO</a> = 600, <a class="code" href="priority_8h.html#a2efa50b9e3c75e5bb20867a4641c4217a760104d64a4aa0a2e60aee66764b1c35">LOG4C_PRIORITY_DEBUG</a> = 700, <a class="code" href="priority_8h.html#a2efa50b9e3c75e5bb20867a4641c4217aacfb33711a411127fed8ad0b1029dbc5">LOG4C_PRIORITY_TRACE</a> = 800, <a class="code" href="priority_8h.html#a2efa50b9e3c75e5bb20867a4641c4217a692ee4b3f035edcb79359acaa3372ecc">LOG4C_PRIORITY_NOTSET</a> = 900, <a class="code" href="priority_8h.html#a2efa50b9e3c75e5bb20867a4641c4217a27cc81aee37c91f3699a0bcc5dbfb4bb">LOG4C_PRIORITY_UNKNOWN</a> = 1000</div> <div class="line"><a name="l00040"></a><span class="lineno"> 40</span> } <a class="code" href="priority_8h.html#a2efa50b9e3c75e5bb20867a4641c4217">log4c_priority_level_t</a>;</div> <div class="line"><a name="l00041"></a><span class="lineno"> 41</span> </div> <div class="line"><a name="l00046"></a><span class="lineno"> 46</span> LOG4C_API <span class="keyword">const</span> <span class="keywordtype">char</span>* log4c_priority_to_string(<span class="keywordtype">int</span> a_priority);</div> <div class="line"><a name="l00047"></a><span class="lineno"> 47</span> </div> <div class="line"><a name="l00052"></a><span class="lineno"> 52</span> LOG4C_API <span class="keywordtype">int</span> log4c_priority_to_int(<span class="keyword">const</span> <span class="keywordtype">char</span>* a_priority_name);</div> <div class="line"><a name="l00053"></a><span class="lineno"> 53</span> </div> <div class="line"><a name="l00054"></a><span class="lineno"> 54</span> __LOG4C_END_DECLS</div> <div class="line"><a name="l00055"></a><span class="lineno"> 55</span> </div> <div class="line"><a name="l00056"></a><span class="lineno"> 56</span> <span class="preprocessor">#endif</span></div> </div><!-- fragment --></div><!-- contents --> <!-- start footer part --> <hr class="footer"/><address class="footer"><small> Generated by  <a href="http://www.doxygen.org/index.html"> <img class="footer" src="doxygen.png" alt="doxygen"/> </a> 1.8.3.1 </small></address> </body> </html>