~ubuntu-branches/debian/squeeze/fluidsynth/squeeze

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
<title>libfluidsynth: include/fluidsynth/log.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.3 -->
<div class="tabs">
  <ul>
    <li><a href="index.html"><span>Main&nbsp;Page</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>
<h1>include/fluidsynth/log.h</h1><a href="log_8h.html">Go to the documentation of this file.</a><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="comment">/* FluidSynth - A Software Synthesizer</span>
<a name="l00002"></a>00002 <span class="comment"> *</span>
<a name="l00003"></a>00003 <span class="comment"> * Copyright (C) 2003  Peter Hanappe and others.</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 Library General Public License</span>
<a name="l00007"></a>00007 <span class="comment"> * as published by the Free Software Foundation; either version 2 of</span>
<a name="l00008"></a>00008 <span class="comment"> * 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, but</span>
<a name="l00011"></a>00011 <span class="comment"> * 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"> * Library 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 Library General Public</span>
<a name="l00016"></a>00016 <span class="comment"> * License along with this library; if not, write to the Free</span>
<a name="l00017"></a>00017 <span class="comment"> * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA</span>
<a name="l00018"></a>00018 <span class="comment"> * 02111-1307, USA</span>
<a name="l00019"></a>00019 <span class="comment"> */</span>
<a name="l00020"></a>00020 
<a name="l00021"></a>00021 <span class="preprocessor">#ifndef _FLUIDSYNTH_LOG_H</span>
<a name="l00022"></a>00022 <span class="preprocessor"></span><span class="preprocessor">#define _FLUIDSYNTH_LOG_H</span>
<a name="l00023"></a>00023 <span class="preprocessor"></span>
<a name="l00024"></a>00024 
<a name="l00025"></a>00025 <span class="preprocessor">#ifdef __cplusplus</span>
<a name="l00026"></a>00026 <span class="preprocessor"></span><span class="keyword">extern</span> <span class="stringliteral">"C"</span> {
<a name="l00027"></a>00027 <span class="preprocessor">#endif</span>
<a name="l00028"></a>00028 <span class="preprocessor"></span>
<a name="l00029"></a>00029 
<a name="l00054"></a><a class="code" href="log_8h.html#a341232c15addd9c336131984840ed9e">00054</a> <span class="keyword">enum</span> <a class="code" href="log_8h.html#a341232c15addd9c336131984840ed9e" title="FluidSynth log levels.">fluid_log_level</a> { 
<a name="l00055"></a><a class="code" href="log_8h.html#a341232c15addd9c336131984840ed9e62d9ddd89d0a853606ce38d195daa99a">00055</a>   <a class="code" href="log_8h.html#a341232c15addd9c336131984840ed9e62d9ddd89d0a853606ce38d195daa99a" title="The synth can&amp;#39;t function correctly any more.">FLUID_PANIC</a>,   
<a name="l00056"></a><a class="code" href="log_8h.html#a341232c15addd9c336131984840ed9ebc0ff48d192b3b0fc721946ccf095d25">00056</a>   <a class="code" href="log_8h.html#a341232c15addd9c336131984840ed9ebc0ff48d192b3b0fc721946ccf095d25" title="Serious error occurred.">FLUID_ERR</a>,     
<a name="l00057"></a><a class="code" href="log_8h.html#a341232c15addd9c336131984840ed9e394460be1ec74fce15e1ff683606df0f">00057</a>   <a class="code" href="log_8h.html#a341232c15addd9c336131984840ed9e394460be1ec74fce15e1ff683606df0f" title="Warning.">FLUID_WARN</a>,    
<a name="l00058"></a><a class="code" href="log_8h.html#a341232c15addd9c336131984840ed9edfa902517702f2dd8ae849b810175ac4">00058</a>   <a class="code" href="log_8h.html#a341232c15addd9c336131984840ed9edfa902517702f2dd8ae849b810175ac4" title="Verbose informational messages.">FLUID_INFO</a>,    
<a name="l00059"></a><a class="code" href="log_8h.html#a341232c15addd9c336131984840ed9e5542b67c606598020b832c31729175fc">00059</a>   <a class="code" href="log_8h.html#a341232c15addd9c336131984840ed9e5542b67c606598020b832c31729175fc" title="Debugging messages.">FLUID_DBG</a>,     
<a name="l00060"></a><a class="code" href="log_8h.html#a341232c15addd9c336131984840ed9ee556bea4357140f1b3f639fd450b88d4">00060</a>   <a class="code" href="log_8h.html#a341232c15addd9c336131984840ed9ee556bea4357140f1b3f639fd450b88d4">LAST_LOG_LEVEL</a>
<a name="l00061"></a>00061 };
<a name="l00062"></a>00062 
<a name="l00069"></a><a class="code" href="log_8h.html#94e275985c3b3a179967d8c7fb2f23cb">00069</a> <span class="keyword">typedef</span> void (*<a class="code" href="log_8h.html#94e275985c3b3a179967d8c7fb2f23cb" title="Log function handler callback type used by fluid_set_log_function().">fluid_log_function_t</a>)(<span class="keywordtype">int</span> level, <span class="keywordtype">char</span>* message, <span class="keywordtype">void</span>* data);
<a name="l00070"></a>00070 
<a name="l00071"></a>00071 <a class="code" href="fluidsynth_8h.html#03b7b5cb479f864e15e30db75ff5fac3">FLUIDSYNTH_API</a> 
<a name="l00072"></a>00072 <a class="code" href="log_8h.html#94e275985c3b3a179967d8c7fb2f23cb" title="Log function handler callback type used by fluid_set_log_function().">fluid_log_function_t</a> <a class="code" href="log_8h.html#73045ac6812fb708625d1ea25e4e5224" title="Installs a new log function for a specified log level.">fluid_set_log_function</a>(<span class="keywordtype">int</span> level, <a class="code" href="log_8h.html#94e275985c3b3a179967d8c7fb2f23cb" title="Log function handler callback type used by fluid_set_log_function().">fluid_log_function_t</a> fun, <span class="keywordtype">void</span>* data);
<a name="l00073"></a>00073 
<a name="l00074"></a>00074 <a class="code" href="fluidsynth_8h.html#03b7b5cb479f864e15e30db75ff5fac3">FLUIDSYNTH_API</a> <span class="keywordtype">void</span> <a class="code" href="log_8h.html#f9512c62588841dc6f797abc202c2541" title="Default log function which prints to the stderr.">fluid_default_log_function</a>(<span class="keywordtype">int</span> level, <span class="keywordtype">char</span>* message, <span class="keywordtype">void</span>* data);
<a name="l00075"></a>00075 
<a name="l00076"></a>00076 <a class="code" href="fluidsynth_8h.html#03b7b5cb479f864e15e30db75ff5fac3">FLUIDSYNTH_API</a> <span class="keywordtype">int</span> <a class="code" href="log_8h.html#3daee03b354d1f66f4ee180ca97ccfc6" title="Print a message to the log.">fluid_log</a>(<span class="keywordtype">int</span> level, <span class="keywordtype">char</span> * fmt, ...);
<a name="l00077"></a>00077 
<a name="l00078"></a>00078 
<a name="l00079"></a>00079 <span class="preprocessor">#ifdef __cplusplus</span>
<a name="l00080"></a>00080 <span class="preprocessor"></span>}
<a name="l00081"></a>00081 <span class="preprocessor">#endif</span>
<a name="l00082"></a>00082 <span class="preprocessor"></span>
<a name="l00083"></a>00083 <span class="preprocessor">#endif </span><span class="comment">/* _FLUIDSYNTH_LOG_H */</span>
</pre></div><hr size="1"><address style="text-align: right;"><small>Generated on Sat Nov 17 13:40:23 2007 for libfluidsynth by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.3 </small></address>
</body>
</html>