Sophie

Sophie

distrib > * > cooker > x86_64 > by-pkgid > 8092ed20821fac5ed4b1a593fb4ef021 > files > 32

lib64cddb-devel-1.3.2-5.x86_64.rpm

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
<title>libcddb: cddb_error.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.4.6 -->
<div class="tabs">
  <ul>
    <li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
    <li id="current"><a href="files.html"><span>Files</span></a></li>
    <li><a href="dirs.html"><span>Directories</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>
<div class="nav">
<a class="el" href="dir_d95480e064f2cd25d4e283edd80a73aa.html">include</a>&nbsp;&raquo&nbsp;<a class="el" href="dir_847afe0584ab2be2f35afc524ae78865.html">cddb</a></div>
<h1>cddb_error.h</h1><a href="cddb__error_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">    $Id: cddb_error.h,v 1.12 2005/05/29 08:11:04 airborne Exp $</span>
<a name="l00003"></a>00003 <span class="comment"></span>
<a name="l00004"></a>00004 <span class="comment">    Copyright (C) 2003, 2004, 2005 Kris Verbeeck &lt;airborne@advalvas.be&gt;</span>
<a name="l00005"></a>00005 <span class="comment"></span>
<a name="l00006"></a>00006 <span class="comment">    This library is free software; you can redistribute it and/or</span>
<a name="l00007"></a>00007 <span class="comment">    modify it under the terms of the GNU Library General Public</span>
<a name="l00008"></a>00008 <span class="comment">    License as published by the Free Software Foundation; either</span>
<a name="l00009"></a>00009 <span class="comment">    version 2 of the License, or (at your option) any later version.</span>
<a name="l00010"></a>00010 <span class="comment"></span>
<a name="l00011"></a>00011 <span class="comment">    This library is distributed in the hope that it will be useful,</span>
<a name="l00012"></a>00012 <span class="comment">    but WITHOUT ANY WARRANTY; without even the implied warranty of</span>
<a name="l00013"></a>00013 <span class="comment">    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU</span>
<a name="l00014"></a>00014 <span class="comment">    Library General Public License for more details.</span>
<a name="l00015"></a>00015 <span class="comment"></span>
<a name="l00016"></a>00016 <span class="comment">    You should have received a copy of the GNU Library General Public</span>
<a name="l00017"></a>00017 <span class="comment">    License along with this library; if not, write to the</span>
<a name="l00018"></a>00018 <span class="comment">    Free Software Foundation, Inc., 59 Temple Place - Suite 330,</span>
<a name="l00019"></a>00019 <span class="comment">    Boston, MA  02111-1307, USA.</span>
<a name="l00020"></a>00020 <span class="comment">*/</span>
<a name="l00021"></a>00021 
<a name="l00022"></a>00022 <span class="preprocessor">#ifndef CDDB_ERROR_H</span>
<a name="l00023"></a><a class="code" href="cddb__error_8h.html#683e10d34850482d00dcebf6a84e9002">00023</a> <span class="preprocessor"></span><span class="preprocessor">#define CDDB_ERROR_H 1</span>
<a name="l00024"></a>00024 <span class="preprocessor"></span>
<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="l00030"></a>00030 <span class="preprocessor">#include &lt;stdio.h&gt;</span>
<a name="l00031"></a>00031 
<a name="l00032"></a>00032 
<a name="l00036"></a><a class="code" href="cddb__error_8h.html#b8f3141dff6945177d70de613eff6ddb">00036</a> <span class="keyword">typedef</span> <span class="keyword">enum</span> {
<a name="l00037"></a>00037 
<a name="l00038"></a>00038     <a class="code" href="cddb__error_8h.html#b8f3141dff6945177d70de613eff6ddbaa2cee0f4bdeea3a9149a09fe09505a4">CDDB_ERR_OK</a> = 0,            
<a name="l00040"></a>00040     <span class="comment">/* --- general errors --- */</span>
<a name="l00041"></a>00041 
<a name="l00042"></a>00042     <a class="code" href="cddb__error_8h.html#b8f3141dff6945177d70de613eff6ddbdcbf8e8948d5652e6ab52421b3dcd94a">CDDB_ERR_OUT_OF_MEMORY</a>,     
<a name="l00043"></a>00043     <a class="code" href="cddb__error_8h.html#b8f3141dff6945177d70de613eff6ddb43e83a9450cd9a8c13bed4e37805d97f">CDDB_ERR_LINE_SIZE</a>,         
<a name="l00044"></a>00044     <a class="code" href="cddb__error_8h.html#b8f3141dff6945177d70de613eff6ddb08ed50327d1182cbaf49e3289b9679a0">CDDB_ERR_NOT_IMPLEMENTED</a>,   
<a name="l00045"></a>00045     <a class="code" href="cddb__error_8h.html#b8f3141dff6945177d70de613eff6ddb9b44486ce39f7ab594390ccf0caf583f">CDDB_ERR_UNKNOWN</a>,           
<a name="l00047"></a>00047     <span class="comment">/* --- connection errors --- */</span>
<a name="l00048"></a>00048 
<a name="l00049"></a>00049     <a class="code" href="cddb__error_8h.html#b8f3141dff6945177d70de613eff6ddb3d8e15370b45caa58c30e72098dfa5b1">CDDB_ERR_SERVER_ERROR</a>,      
<a name="l00050"></a>00050     <a class="code" href="cddb__error_8h.html#b8f3141dff6945177d70de613eff6ddb75b90433f9528e8f0601c6fdccef45cd">CDDB_ERR_UNKNOWN_HOST_NAME</a>, 
<a name="l00051"></a>00051     <a class="code" href="cddb__error_8h.html#b8f3141dff6945177d70de613eff6ddb6a7a7203c0454b68972edd7392fb92d2">CDDB_ERR_CONNECT</a>,           
<a name="l00052"></a>00052     <a class="code" href="cddb__error_8h.html#b8f3141dff6945177d70de613eff6ddb1e84e2930827641ade88a04a3ba09e6d">CDDB_ERR_PERMISSION_DENIED</a>, 
<a name="l00053"></a>00053     <a class="code" href="cddb__error_8h.html#b8f3141dff6945177d70de613eff6ddb6c620418196319f2ac73f90b5c346cb5">CDDB_ERR_NOT_CONNECTED</a>,     
<a name="l00056"></a>00056     <span class="comment">/* --- response parsing errors --- */</span>
<a name="l00057"></a>00057 
<a name="l00058"></a>00058     <a class="code" href="cddb__error_8h.html#b8f3141dff6945177d70de613eff6ddb2b409c9267bdd0f556836029f553e016">CDDB_ERR_UNEXPECTED_EOF</a>,    
<a name="l00059"></a>00059     <a class="code" href="cddb__error_8h.html#b8f3141dff6945177d70de613eff6ddb4679bf2df2b55e0ce5c1c0ab5116a7a8">CDDB_ERR_INVALID_RESPONSE</a>,  
<a name="l00060"></a>00060     <a class="code" href="cddb__error_8h.html#b8f3141dff6945177d70de613eff6ddb7566874168706cdb256436c590112324">CDDB_ERR_DISC_NOT_FOUND</a>,    
<a name="l00062"></a>00062     <span class="comment">/* --- library errors --- */</span>
<a name="l00063"></a>00063 
<a name="l00064"></a>00064     <a class="code" href="cddb__error_8h.html#b8f3141dff6945177d70de613eff6ddbc2cf772f62dd7e76a5333005359d0f02">CDDB_ERR_DATA_MISSING</a>,      
<a name="l00066"></a>00066     <a class="code" href="cddb__error_8h.html#b8f3141dff6945177d70de613eff6ddb01679c6440167739e14db75fe10c2b15">CDDB_ERR_TRACK_NOT_FOUND</a>,   
<a name="l00067"></a>00067     <a class="code" href="cddb__error_8h.html#b8f3141dff6945177d70de613eff6ddb111a091baa870528a80f149dd7ad8576">CDDB_ERR_REJECTED</a>,          
<a name="l00068"></a>00068     <a class="code" href="cddb__error_8h.html#b8f3141dff6945177d70de613eff6ddb03f673755ac65dfb50296d45c5ad5d36">CDDB_ERR_EMAIL_INVALID</a>,     
<a name="l00071"></a>00071     <a class="code" href="cddb__error_8h.html#b8f3141dff6945177d70de613eff6ddb4ee4af82e6c9d69a0f6d72ae7f54a428">CDDB_ERR_INVALID_CHARSET</a>,   
<a name="l00073"></a>00073     <a class="code" href="cddb__error_8h.html#b8f3141dff6945177d70de613eff6ddb2375630e556ef2da2373d6a50f15ff27">CDDB_ERR_ICONV_FAIL</a>,        
<a name="l00075"></a>00075     <span class="comment">/* --- new errors added to back of list for backward compatibility --- */</span>
<a name="l00076"></a>00076 
<a name="l00077"></a>00077     <a class="code" href="cddb__error_8h.html#b8f3141dff6945177d70de613eff6ddbf13e8292dbfbf4401ab02a5215bffd99">CDDB_ERR_PROXY_AUTH</a>,        
<a name="l00078"></a>00078     <a class="code" href="cddb__error_8h.html#b8f3141dff6945177d70de613eff6ddb908f4927e345509535404630afd8b77c">CDDB_ERR_INVALID</a>,           
<a name="l00080"></a>00080     <span class="comment">/* --- terminator --- */</span>
<a name="l00081"></a>00081 
<a name="l00082"></a>00082     <a class="code" href="cddb__error_8h.html#b8f3141dff6945177d70de613eff6ddb5a9cdb39099dc0b3c83b01ed9e14283f">CDDB_ERR_LAST</a>
<a name="l00083"></a>00083 } <a class="code" href="cddb__error_8h.html#b8f3141dff6945177d70de613eff6ddb">cddb_error_t</a>;
<a name="l00084"></a>00084 
<a name="l00085"></a>00085 
<a name="l00086"></a>00086 <span class="comment">/* --- error handling --- */</span>
<a name="l00087"></a>00087 
<a name="l00088"></a>00088 
<a name="l00094"></a>00094 <span class="keyword">const</span> <span class="keywordtype">char</span> *<a class="code" href="cddb__error_8h.html#4a5070a84e46c80a551dcc1a2eef765a">cddb_error_str</a>(cddb_error_t errnum);
<a name="l00095"></a>00095 
<a name="l00103"></a>00103 <span class="keywordtype">void</span> <a class="code" href="cddb__error_8h.html#b60ff8f6eb65d64edd2fb0356fd5e0f3">cddb_error_stream_print</a>(FILE *stream, cddb_error_t errnum);
<a name="l00104"></a>00104 
<a name="l00111"></a>00111 <span class="keywordtype">void</span> <a class="code" href="cddb__error_8h.html#7c1307f124ccc494bf9def45985c0225">cddb_error_print</a>(cddb_error_t errnum);
<a name="l00112"></a>00112 
<a name="l00113"></a>00113 
<a name="l00114"></a>00114 <span class="preprocessor">#ifdef __cplusplus</span>
<a name="l00115"></a>00115 <span class="preprocessor"></span>    }
<a name="l00116"></a>00116 <span class="preprocessor">#endif</span>
<a name="l00117"></a>00117 <span class="preprocessor"></span>
<a name="l00118"></a>00118 <span class="preprocessor">#endif </span><span class="comment">/* CDDB_ERROR_H */</span>
</pre></div><hr size="1"><address style="align: right;"><small>Generated on Sun Oct 15 14:49:14 2006 for libcddb by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.6 </small></address>
</body>
</html>