cddb.h   cddb.h 
/* /*
$Id: cddb.h,v 1.13 2006/10/15 11:48:39 airborne Exp $ $Id: cddb.h,v 1.14 2006/10/15 12:54:33 airborne Exp $
Copyright (C) 2003, 2004, 2005 Kris Verbeeck <airborne@advalvas.be> Copyright (C) 2003, 2004, 2005 Kris Verbeeck <airborne@advalvas.be>
This library is free software; you can redistribute it and/or This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Library General Public modify it under the terms of the GNU Library General Public
License as published by the Free Software Foundation; either License as published by the Free Software Foundation; either
version 2 of the License, or (at your option) any later version. version 2 of the License, or (at your option) any later version.
This library is distributed in the hope that it will be useful, This library is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of but WITHOUT ANY WARRANTY; without even the implied warranty of
skipping to change at line 48 skipping to change at line 48
#include <cddb/cddb_log.h> #include <cddb/cddb_log.h>
/** /**
* \mainpage libCDDB, a C API for CDDB server access * \mainpage libCDDB, a C API for CDDB server access
*/ */
#define BIT(n) (1 << n) #define BIT(n) (1 << n)
/** /**
* An enumeration of flags that influence the behaviour of the * An enumeration of flags that influence the behaviour of the
* library. You can set (enable) or reset (disable) these flags using * library. You can set or reset these flags using the
* the #libcddb_set_flags and #libcddb_reset_flags fucntions. * #libcddb_set_flags and #libcddb_reset_flags functions.
*/ */
typedef enum { typedef enum {
CDDB_F_EMPTY_STR = BIT(0), /**< never return NULL pointer strings CDDB_F_EMPTY_STR = BIT(0), /**< never return NULL pointer strings
(default), return an empty string (default), return an empty string
instead */ instead */
CDDB_F_NO_TRACK_ARTIST = BIT(1), /**< do not return the disc artist as the CDDB_F_NO_TRACK_ARTIST = BIT(1), /**< do not return the disc artist as the
track artist (default), return NULL track artist (default), return NULL
instead */ instead */
} cddb_flag_t; } cddb_flag_t;
skipping to change at line 78 skipping to change at line 78
/** /**
* Frees up any global (cross connection) resources. You should call * Frees up any global (cross connection) resources. You should call
* this function before terminating your program. Using any library * this function before terminating your program. Using any library
* calls after shutting down are bound to give problems. * calls after shutting down are bound to give problems.
*/ */
void libcddb_shutdown(void); void libcddb_shutdown(void);
/** /**
* Set one or more flags that influence the library behvaiour * Set one or more flags that influence the library behvaiour
* *
* @param flag A bitwise ORed set of values from #cddb_flag_t. * @param flags A bitwise ORed set of values from #cddb_flag_t.
*/ */
void libcddb_set_flags(unsigned int flags); void libcddb_set_flags(unsigned int flags);
/** /**
* Reset one or more flags that influence the library behvaiour * Reset one or more flags that influence the library behvaiour
* *
* @param flag A bitwise ORed set of values from #cddb_flag_t. * @param flags A bitwise ORed set of values from #cddb_flag_t.
*/ */
void libcddb_reset_flags(unsigned int flags); void libcddb_reset_flags(unsigned int flags);
#ifdef __cplusplus #ifdef __cplusplus
} }
#endif #endif
#endif /* CDDB_H */ #endif /* CDDB_H */
 End of changes. 4 change blocks. 
5 lines changed or deleted 5 lines changed or added


 cddb_conn.h   cddb_conn.h 
/* /*
$Id: cddb_conn.h,v 1.30 2005/08/03 18:25:01 airborne Exp $ $Id: cddb_conn.h,v 1.31 2009/03/01 03:28:07 jcaratzas Exp $
Copyright (C) 2003, 2004, 2005 Kris Verbeeck <airborne@advalvas.be> Copyright (C) 2003, 2004, 2005 Kris Verbeeck <airborne@advalvas.be>
This library is free software; you can redistribute it and/or This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Library General Public modify it under the terms of the GNU Library General Public
License as published by the Free Software Foundation; either License as published by the Free Software Foundation; either
version 2 of the License, or (at your option) any later version. version 2 of the License, or (at your option) any later version.
This library is distributed in the hope that it will be useful, This library is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of but WITHOUT ANY WARRANTY; without even the implied warranty of
skipping to change at line 30 skipping to change at line 30
*/ */
#ifndef CDDB_CONN_H #ifndef CDDB_CONN_H
#define CDDB_CONN_H 1 #define CDDB_CONN_H 1
#ifdef __cplusplus #ifdef __cplusplus
extern "C" { extern "C" {
#endif #endif
#include <stdio.h> #include <stdio.h>
#ifdef HAVE_NETINET_IN_H
#include <netinet/in.h> #include <netinet/in.h>
#endif
#include "cddb/cddb_site.h" #include "cddb/cddb_site.h"
typedef enum { typedef enum {
CACHE_OFF = 0, /**< do not use local CDDB cache, network CACHE_OFF = 0, /**< do not use local CDDB cache, network
only */ only */
CACHE_ON, /**< use local CDDB cache, if possible */ CACHE_ON, /**< use local CDDB cache, if possible */
CACHE_ONLY /**< only use local CDDB cache, no network CACHE_ONLY /**< only use local CDDB cache, no network
access */ access */
} cddb_cache_mode_t; } cddb_cache_mode_t;
 End of changes. 3 change blocks. 
1 lines changed or deleted 3 lines changed or added


 cddb_disc.h   cddb_disc.h 
/* /*
$Id: cddb_disc.h,v 1.21 2005/07/09 08:32:48 airborne Exp $ $Id: cddb_disc.h,v 1.22 2007/08/07 03:12:53 jcaratzas Exp $
Copyright (C) 2003, 2004, 2005 Kris Verbeeck <airborne@advalvas.be> Copyright (C) 2003, 2004, 2005 Kris Verbeeck <airborne@advalvas.be>
This library is free software; you can redistribute it and/or This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Library General Public modify it under the terms of the GNU Library General Public
License as published by the Free Software Foundation; either License as published by the Free Software Foundation; either
version 2 of the License, or (at your option) any later version. version 2 of the License, or (at your option) any later version.
This library is distributed in the hope that it will be useful, This library is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of but WITHOUT ANY WARRANTY; without even the implied warranty of
skipping to change at line 269 skipping to change at line 269
/** /**
* Set the disc length. * Set the disc length.
* *
* @param disc The CDDB disc structure. * @param disc The CDDB disc structure.
* @param l The disc length in seconds. * @param l The disc length in seconds.
*/ */
void cddb_disc_set_length(cddb_disc_t *disc, unsigned int l); void cddb_disc_set_length(cddb_disc_t *disc, unsigned int l);
/** /**
* Get the revision number of the disc.
*
* @param disc The CDDB disc structure.
*/
unsigned int cddb_disc_get_revision(const cddb_disc_t *disc);
/**
* Set the revision number of the disc.
*
* @param disc The CDDB disc structure.
* @param rev The revision number.
*/
void cddb_disc_set_revision(cddb_disc_t *disc, unsigned int rev);
/**
* Get the year of publication for this disc. If no year is defined 0 * Get the year of publication for this disc. If no year is defined 0
* is returned. * is returned.
* *
* @param disc The CDDB disc structure. * @param disc The CDDB disc structure.
* @return The disc year. * @return The disc year.
*/ */
unsigned int cddb_disc_get_year(const cddb_disc_t *disc); unsigned int cddb_disc_get_year(const cddb_disc_t *disc);
/** /**
* Set the year of publication for this disc. * Set the year of publication for this disc.
 End of changes. 2 change blocks. 
1 lines changed or deleted 16 lines changed or added


 version.h   version.h 
/* $Id: version.h.in,v 1.1 2005/04/08 01:49:35 rockyb Exp $ */ /* $Id: version.h.in,v 1.1 2005/04/08 01:49:35 rockyb Exp $ */
/** \file version.h /** \file version.h
* *
* \brief A file containing the libcdio package version * \brief A file containing the libcdio package version
* number (130) and OS build name. * number (131) and OS build name.
*/ */
/*! CDDB_VERSION can as a string in programs to show what version is used. */ /*! CDDB_VERSION can as a string in programs to show what version is used. */
#define CDDB_VERSION "1.3.0 i686-pc-linux-gnu" #define CDDB_VERSION "1.3.1 i686-pc-linux-gnu"
/*! LIBCDDB_VERSION_NUM can be used for testing in the C preprocessor */ /*! LIBCDDB_VERSION_NUM can be used for testing in the C preprocessor */
#define LIBCDDB_VERSION_NUM 130 #define LIBCDDB_VERSION_NUM 131
 End of changes. 3 change blocks. 
2 lines changed or deleted 2 lines changed or added

This html diff was produced by rfcdiff 1.41. The latest version is available from http://tools.ietf.org/tools/rfcdiff/