view src/cdaudio/cddb.h @ 1259:690659633ec5

- Fix endless looping on certain unparseable streams
author Ralf Ertzinger <ralf@skytale.net>
date Fri, 13 Jul 2007 16:34:54 +0200
parents 3da1b8942b8b
children
line wrap: on
line source

/*
 *  cddb.h  Copyright 1999 Håvard Kvålen <havardk@sol.no>
 *
 *
 *  This program is free software; you can redistribute it and/or modify
 *  it under the terms of the GNU General Public License as published by
 *  the Free Software Foundation; either version 2 of the License, or
 *  (at your option) any later version.
 *
 *  This program is distributed in the hope that it will be useful,
 *  but WITHOUT ANY WARRANTY; without even the implied warranty of
 *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 *  GNU General Public License for more details.
 *
 *  You should have received a copy of the GNU General Public License
 *  along with this program; if not, write to the Free Software
 *  Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
 */


#ifndef CDDB_H
#define CDDB_H

#include <glib.h>

typedef struct {
    gchar *category;
    guint32 discid;
} cddb_disc_header_t;

#define CDDB_MAX_PROTOCOL_LEVEL 6
#define CDDB_HOSTNAME_LEN 100
#define CDDB_LOG_MAX 100

#endif