cddb.h

Go to the documentation of this file.
00001 /*
00002     $Id: cddb.h,v 1.13 2006/10/15 11:48:39 airborne Exp $
00003 
00004     Copyright (C) 2003, 2004, 2005 Kris Verbeeck <airborne@advalvas.be>
00005 
00006     This library is free software; you can redistribute it and/or
00007     modify it under the terms of the GNU Library General Public
00008     License as published by the Free Software Foundation; either
00009     version 2 of the License, or (at your option) any later version.
00010 
00011     This library is distributed in the hope that it will be useful,
00012     but WITHOUT ANY WARRANTY; without even the implied warranty of
00013     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00014     Library General Public License for more details.
00015 
00016     You should have received a copy of the GNU Library General Public
00017     License along with this library; if not, write to the
00018     Free Software Foundation, Inc., 59 Temple Place - Suite 330,
00019     Boston, MA  02111-1307, USA.
00020 */
00021 
00022 #ifndef CDDB_H
00023 #define CDDB_H 1
00024 
00025 #include <cddb/version.h>
00026 
00027 #ifdef __cplusplus
00028     extern "C" {
00029 #endif
00030 
00031 
00032 #include <cddb/cddb_config.h>
00033 #include <cddb/cddb_error.h>
00034 #include <cddb/cddb_track.h>
00035 #include <cddb/cddb_disc.h>
00036 #include <cddb/cddb_site.h>
00037 #include <cddb/cddb_conn.h>
00038 #include <cddb/cddb_cmd.h>
00039 #include <cddb/cddb_log.h>
00040 
00041 
00047 #define BIT(n) (1 << n)
00048 
00054 typedef enum {
00055     CDDB_F_EMPTY_STR = BIT(0),    
00058     CDDB_F_NO_TRACK_ARTIST = BIT(1), 
00061 } cddb_flag_t;
00062 
00069 void libcddb_init(void);
00070 
00076 void libcddb_shutdown(void);
00077 
00083 void libcddb_set_flags(unsigned int flags);
00084 
00090 void libcddb_reset_flags(unsigned int flags);
00091 
00092 
00093 #ifdef __cplusplus
00094     }
00095 #endif
00096 
00097 #endif /* CDDB_H */

Generated on Sun Oct 15 14:49:14 2006 for libcddb by  doxygen 1.4.6