tests -> test
All public includes are included via #include <cdio/....h> rather than #include "....h" (removed -I $top_srcdir/include/cdio)
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
$Id: _cdio_bincue.c,v 1.17 2003/04/14 23:11:32 rocky Exp $
|
||||
$Id: _cdio_bincue.c,v 1.18 2003/04/22 12:09:08 rocky Exp $
|
||||
|
||||
Copyright (C) 2001 Herbert Valerio Riedel <hvr@gnu.org>
|
||||
Copyright (C) 2002,2003 Rocky Bernstein <rocky@panix.com>
|
||||
@@ -28,18 +28,18 @@
|
||||
# include "config.h"
|
||||
#endif
|
||||
|
||||
static const char _rcsid[] = "$Id: _cdio_bincue.c,v 1.17 2003/04/14 23:11:32 rocky Exp $";
|
||||
static const char _rcsid[] = "$Id: _cdio_bincue.c,v 1.18 2003/04/22 12:09:08 rocky Exp $";
|
||||
|
||||
#include <stdio.h>
|
||||
#include <ctype.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
|
||||
#include <cdio/logging.h>
|
||||
#include <cdio/sector.h>
|
||||
#include <cdio/util.h>
|
||||
#include "cdio_assert.h"
|
||||
#include "cdio_private.h"
|
||||
#include "logging.h"
|
||||
#include "sector.h"
|
||||
#include "util.h"
|
||||
#include "_cdio_stdio.h"
|
||||
|
||||
/* reader */
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
$Id: _cdio_bsdi.c,v 1.8 2003/04/10 04:13:41 rocky Exp $
|
||||
$Id: _cdio_bsdi.c,v 1.9 2003/04/22 12:09:08 rocky Exp $
|
||||
|
||||
Copyright (C) 2001 Herbert Valerio Riedel <hvr@gnu.org>
|
||||
Copyright (C) 2002,2003 Rocky Bernstein <rocky@panix.com>
|
||||
@@ -27,12 +27,12 @@
|
||||
# include "config.h"
|
||||
#endif
|
||||
|
||||
static const char _rcsid[] = "$Id: _cdio_bsdi.c,v 1.8 2003/04/10 04:13:41 rocky Exp $";
|
||||
static const char _rcsid[] = "$Id: _cdio_bsdi.c,v 1.9 2003/04/22 12:09:08 rocky Exp $";
|
||||
|
||||
#include <cdio/sector.h>
|
||||
#include <cdio/util.h>
|
||||
#include "cdio_assert.h"
|
||||
#include "cdio_private.h"
|
||||
#include "sector.h"
|
||||
#include "util.h"
|
||||
|
||||
#define DEFAULT_CDIO_DEVICE "/dev/rsr0c"
|
||||
#include <string.h>
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
$Id: _cdio_freebsd.c,v 1.8 2003/04/22 02:48:33 rocky Exp $
|
||||
$Id: _cdio_freebsd.c,v 1.9 2003/04/22 12:09:08 rocky Exp $
|
||||
|
||||
Copyright (C) 2003 Rocky Bernstein <rocky@panix.com>
|
||||
|
||||
@@ -26,12 +26,12 @@
|
||||
# include "config.h"
|
||||
#endif
|
||||
|
||||
static const char _rcsid[] = "$Id: _cdio_freebsd.c,v 1.8 2003/04/22 02:48:33 rocky Exp $";
|
||||
static const char _rcsid[] = "$Id: _cdio_freebsd.c,v 1.9 2003/04/22 12:09:08 rocky Exp $";
|
||||
|
||||
#include <cdio/sector.h>
|
||||
#include <cdio/util.h>
|
||||
#include "cdio_assert.h"
|
||||
#include "cdio_private.h"
|
||||
#include "sector.h"
|
||||
#include "util.h"
|
||||
|
||||
/* Is this the right default? */
|
||||
#define DEFAULT_CDIO_DEVICE "/dev/acd0c"
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
$Id: _cdio_generic.c,v 1.6 2003/04/10 04:13:41 rocky Exp $
|
||||
$Id: _cdio_generic.c,v 1.7 2003/04/22 12:09:09 rocky Exp $
|
||||
|
||||
Copyright (C) 2001 Herbert Valerio Riedel <hvr@gnu.org>
|
||||
Copyright (C) 2002,2003 Rocky Bernstein <rocky@panix.com>
|
||||
@@ -27,7 +27,7 @@
|
||||
# include "config.h"
|
||||
#endif
|
||||
|
||||
static const char _rcsid[] = "$Id: _cdio_generic.c,v 1.6 2003/04/10 04:13:41 rocky Exp $";
|
||||
static const char _rcsid[] = "$Id: _cdio_generic.c,v 1.7 2003/04/22 12:09:09 rocky Exp $";
|
||||
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
@@ -40,10 +40,10 @@ static const char _rcsid[] = "$Id: _cdio_generic.c,v 1.6 2003/04/10 04:13:41 roc
|
||||
#include <sys/types.h>
|
||||
#include <sys/ioctl.h>
|
||||
|
||||
#include <cdio/sector.h>
|
||||
#include <cdio/util.h>
|
||||
#include "cdio_assert.h"
|
||||
#include "cdio_private.h"
|
||||
#include "sector.h"
|
||||
#include "util.h"
|
||||
#include "_cdio_stdio.h"
|
||||
|
||||
/*!
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
$Id: _cdio_linux.c,v 1.10 2003/04/15 05:19:00 rocky Exp $
|
||||
$Id: _cdio_linux.c,v 1.11 2003/04/22 12:09:09 rocky Exp $
|
||||
|
||||
Copyright (C) 2001 Herbert Valerio Riedel <hvr@gnu.org>
|
||||
Copyright (C) 2002,2003 Rocky Bernstein <rocky@panix.com>
|
||||
@@ -27,14 +27,14 @@
|
||||
# include "config.h"
|
||||
#endif
|
||||
|
||||
static const char _rcsid[] = "$Id: _cdio_linux.c,v 1.10 2003/04/15 05:19:00 rocky Exp $";
|
||||
static const char _rcsid[] = "$Id: _cdio_linux.c,v 1.11 2003/04/22 12:09:09 rocky Exp $";
|
||||
|
||||
#include <string.h>
|
||||
|
||||
#include <cdio/sector.h>
|
||||
#include <cdio/util.h>
|
||||
#include "cdio_assert.h"
|
||||
#include "cdio_private.h"
|
||||
#include "sector.h"
|
||||
#include "util.h"
|
||||
|
||||
#define DEFAULT_CDIO_DEVICE "/dev/cdrom"
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
$Id: _cdio_nrg.c,v 1.12 2003/04/21 23:24:46 rocky Exp $
|
||||
$Id: _cdio_nrg.c,v 1.13 2003/04/22 12:09:09 rocky Exp $
|
||||
|
||||
Copyright (C) 2001,2003 Herbert Valerio Riedel <hvr@gnu.org>
|
||||
|
||||
@@ -29,16 +29,16 @@
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
|
||||
#include <cdio/logging.h>
|
||||
#include <cdio/sector.h>
|
||||
#include <cdio/util.h>
|
||||
#include "cdio_assert.h"
|
||||
#include "bytesex.h"
|
||||
#include "ds.h"
|
||||
#include "cdio_private.h"
|
||||
#include "logging.h"
|
||||
#include "sector.h"
|
||||
#include "util.h"
|
||||
#include "_cdio_stdio.h"
|
||||
|
||||
static const char _rcsid[] = "$Id: _cdio_nrg.c,v 1.12 2003/04/21 23:24:46 rocky Exp $";
|
||||
static const char _rcsid[] = "$Id: _cdio_nrg.c,v 1.13 2003/04/22 12:09:09 rocky Exp $";
|
||||
|
||||
/* structures used */
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
$Id: _cdio_stdio.c,v 1.3 2003/04/06 23:40:21 rocky Exp $
|
||||
$Id: _cdio_stdio.c,v 1.4 2003/04/22 12:09:09 rocky Exp $
|
||||
|
||||
Copyright (C) 2000 Herbert Valerio Riedel <hvr@gnu.org>
|
||||
Copyright (C) 2003 Rocky Bernstein <rocky@panix.com>
|
||||
@@ -30,12 +30,12 @@
|
||||
#include <sys/stat.h>
|
||||
#include <errno.h>
|
||||
|
||||
#include "logging.h"
|
||||
#include "util.h"
|
||||
#include <cdio/logging.h>
|
||||
#include <cdio/util.h>
|
||||
#include "_cdio_stream.h"
|
||||
#include "_cdio_stdio.h"
|
||||
|
||||
static const char _rcsid[] = "$Id: _cdio_stdio.c,v 1.3 2003/04/06 23:40:21 rocky Exp $";
|
||||
static const char _rcsid[] = "$Id: _cdio_stdio.c,v 1.4 2003/04/22 12:09:09 rocky Exp $";
|
||||
|
||||
#define CDIO_STDIO_BUFSIZE (128*1024)
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
$Id: _cdio_stream.c,v 1.5 2003/04/07 03:05:31 rocky Exp $
|
||||
$Id: _cdio_stream.c,v 1.6 2003/04/22 12:09:09 rocky Exp $
|
||||
|
||||
Copyright (C) 2000 Herbert Valerio Riedel <hvr@gnu.org>
|
||||
|
||||
@@ -30,11 +30,11 @@
|
||||
|
||||
/* #define STREAM_DEBUG */
|
||||
|
||||
#include "logging.h"
|
||||
#include "util.h"
|
||||
#include <cdio/logging.h>
|
||||
#include <cdio/util.h>
|
||||
#include "_cdio_stream.h"
|
||||
|
||||
static const char _rcsid[] = "$Id: _cdio_stream.c,v 1.5 2003/04/07 03:05:31 rocky Exp $";
|
||||
static const char _rcsid[] = "$Id: _cdio_stream.c,v 1.6 2003/04/22 12:09:09 rocky Exp $";
|
||||
|
||||
/*
|
||||
* DataSource implementations
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
$Id: _cdio_stream.h,v 1.5 2003/04/07 11:23:24 rocky Exp $
|
||||
$Id: _cdio_stream.h,v 1.6 2003/04/22 12:09:09 rocky Exp $
|
||||
|
||||
Copyright (C) 2000 Herbert Valerio Riedel <hvr@gnu.org>
|
||||
Copyright (C) 2003 Rocky Bernstein <rocky@panix.com>
|
||||
@@ -23,7 +23,7 @@
|
||||
#ifndef __CDIO_STREAM_H__
|
||||
#define __CDIO_STREAM_H__
|
||||
|
||||
#include "types.h"
|
||||
#include <cdio/types.h>
|
||||
#include "cdio_private.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
$Id: _cdio_sunos.c,v 1.11 2003/04/11 17:31:50 rocky Exp $
|
||||
$Id: _cdio_sunos.c,v 1.12 2003/04/22 12:09:09 rocky Exp $
|
||||
|
||||
Copyright (C) 2001 Herbert Valerio Riedel <hvr@gnu.org>
|
||||
Copyright (C) 2002,2003 Rocky Bernstein <rocky@panix.com>
|
||||
@@ -25,17 +25,17 @@
|
||||
|
||||
#include <string.h>
|
||||
|
||||
#include <cdio/logging.h>
|
||||
#include <cdio/sector.h>
|
||||
#include <cdio/util.h>
|
||||
#include "cdio_assert.h"
|
||||
#include "cdio_private.h"
|
||||
#include "logging.h"
|
||||
#include "sector.h"
|
||||
#include "util.h"
|
||||
|
||||
#define DEFAULT_CDIO_DEVICE "/vol/dev/aliases/cdrom0"
|
||||
|
||||
#ifdef HAVE_SOLARIS_CDROM
|
||||
|
||||
static const char _rcsid[] = "$Id: _cdio_sunos.c,v 1.11 2003/04/11 17:31:50 rocky Exp $";
|
||||
static const char _rcsid[] = "$Id: _cdio_sunos.c,v 1.12 2003/04/22 12:09:09 rocky Exp $";
|
||||
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
$Id: bytesex.h,v 1.2 2003/04/03 12:16:27 rocky Exp $
|
||||
$Id: bytesex.h,v 1.3 2003/04/22 12:09:09 rocky Exp $
|
||||
|
||||
Copyright (C) 2000 Herbert Valerio Riedel <hvr@gnu.org>
|
||||
|
||||
@@ -21,8 +21,8 @@
|
||||
#ifndef __CDIO_BYTESEX_H__
|
||||
#define __CDIO_BYTESEX_H__
|
||||
|
||||
#include "types.h"
|
||||
#include "logging.h"
|
||||
#include <cdio/logging.h>
|
||||
#include <cdio/types.h>
|
||||
#include "bytesex_asm.h"
|
||||
|
||||
/* generic byteswap routines */
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
$Id: bytesex_asm.h,v 1.2 2003/04/03 12:16:27 rocky Exp $
|
||||
$Id: bytesex_asm.h,v 1.3 2003/04/22 12:09:09 rocky Exp $
|
||||
|
||||
Copyright (C) 2001 Sven Ottemann <ac-logic@freenet.de>
|
||||
2001 Herbert Valerio Riedel <hvr@gnu.org>
|
||||
@@ -23,7 +23,7 @@
|
||||
#define __CDIO_BYTESEX_ASM_H__
|
||||
#if !defined(DISABLE_ASM_OPTIMIZE)
|
||||
|
||||
#include "types.h"
|
||||
#include <cdio/types.h>
|
||||
|
||||
#if defined(__powerpc__) && defined(__GNUC__)
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
$Id: cdio.c,v 1.10 2003/04/20 15:34:31 rocky Exp $
|
||||
$Id: cdio.c,v 1.11 2003/04/22 12:09:09 rocky Exp $
|
||||
|
||||
Copyright (C) 2003 Rocky Bernstein <rocky@panix.com>
|
||||
Copyright (C) 2001 Herbert Valerio Riedel <hvr@gnu.org>
|
||||
@@ -31,11 +31,11 @@
|
||||
#include <string.h>
|
||||
|
||||
#include "cdio_assert.h"
|
||||
#include "util.h"
|
||||
#include "logging.h"
|
||||
#include <cdio/util.h>
|
||||
#include <cdio/logging.h>
|
||||
#include "cdio_private.h"
|
||||
|
||||
static const char _rcsid[] = "$Id: cdio.c,v 1.10 2003/04/20 15:34:31 rocky Exp $";
|
||||
static const char _rcsid[] = "$Id: cdio.c,v 1.11 2003/04/22 12:09:09 rocky Exp $";
|
||||
|
||||
|
||||
const char *track_format2str[5] =
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
$Id: cdio_assert.h,v 1.2 2003/04/03 12:16:27 rocky Exp $
|
||||
$Id: cdio_assert.h,v 1.3 2003/04/22 12:09:09 rocky Exp $
|
||||
|
||||
Copyright (C) 2000 Herbert Valerio Riedel <hvr@gnu.org>
|
||||
|
||||
@@ -23,8 +23,8 @@
|
||||
|
||||
#if defined(__GNUC__)
|
||||
|
||||
#include "types.h"
|
||||
#include "logging.h"
|
||||
#include <cdio/types.h>
|
||||
#include <cdio/logging.h>
|
||||
|
||||
#define cdio_assert(expr) \
|
||||
{ \
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
$Id: cdio_private.h,v 1.6 2003/04/10 04:13:41 rocky Exp $
|
||||
$Id: cdio_private.h,v 1.7 2003/04/22 12:09:09 rocky Exp $
|
||||
|
||||
Copyright (C) 2003 Rocky Bernstein <rocky@panix.com>
|
||||
|
||||
@@ -31,7 +31,7 @@
|
||||
#include <unistd.h>
|
||||
#endif
|
||||
|
||||
#include <cdio.h>
|
||||
#include <cdio/cdio.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
|
||||
8
lib/ds.c
8
lib/ds.c
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
$Id: ds.c,v 1.2 2003/04/03 12:16:27 rocky Exp $
|
||||
$Id: ds.c,v 1.3 2003/04/22 12:09:09 rocky Exp $
|
||||
|
||||
Copyright (C) 2000 Herbert Valerio Riedel <hvr@gnu.org>
|
||||
|
||||
@@ -26,11 +26,11 @@
|
||||
#include <string.h>
|
||||
|
||||
#include "ds.h"
|
||||
#include "util.h"
|
||||
#include "types.h"
|
||||
#include <cdio/util.h>
|
||||
#include <cdio/types.h>
|
||||
#include "cdio_assert.h"
|
||||
|
||||
static const char _rcsid[] = "$Id: ds.c,v 1.2 2003/04/03 12:16:27 rocky Exp $";
|
||||
static const char _rcsid[] = "$Id: ds.c,v 1.3 2003/04/22 12:09:09 rocky Exp $";
|
||||
|
||||
struct _CdioList
|
||||
{
|
||||
|
||||
4
lib/ds.h
4
lib/ds.h
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
$Id: ds.h,v 1.2 2003/04/03 12:16:27 rocky Exp $
|
||||
$Id: ds.h,v 1.3 2003/04/22 12:09:09 rocky Exp $
|
||||
|
||||
Copyright (C) 2000 Herbert Valerio Riedel <hvr@gnu.org>
|
||||
|
||||
@@ -21,7 +21,7 @@
|
||||
#ifndef __CDIO_DS_H__
|
||||
#define __CDIO_DS_H__
|
||||
|
||||
#include "types.h"
|
||||
#include <cdio/types.h>
|
||||
|
||||
/* opaque... */
|
||||
typedef struct _CdioList CdioList;
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
$Id: logging.c,v 1.1 2003/03/24 19:01:09 rocky Exp $
|
||||
$Id: logging.c,v 1.2 2003/04/22 12:09:09 rocky Exp $
|
||||
|
||||
Copyright (C) 2000 Herbert Valerio Riedel <hvr@gnu.org>
|
||||
|
||||
@@ -25,11 +25,12 @@
|
||||
#include <stdlib.h>
|
||||
#include <stdarg.h>
|
||||
#include <stdio.h>
|
||||
|
||||
#include <cdio/logging.h>
|
||||
#include "cdio_assert.h"
|
||||
|
||||
#include "logging.h"
|
||||
|
||||
static const char _rcsid[] = "$Id: logging.c,v 1.1 2003/03/24 19:01:09 rocky Exp $";
|
||||
static const char _rcsid[] = "$Id: logging.c,v 1.2 2003/04/22 12:09:09 rocky Exp $";
|
||||
|
||||
static void
|
||||
default_cdio_log_handler (cdio_log_level_t level, const char message[])
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
$Id: sector.c,v 1.2 2003/04/11 17:33:03 rocky Exp $
|
||||
$Id: sector.c,v 1.3 2003/04/22 12:09:09 rocky Exp $
|
||||
|
||||
Copyright (C) 2000 Herbert Valerio Riedel <hvr@gnu.org>
|
||||
|
||||
@@ -22,11 +22,11 @@
|
||||
# include "config.h"
|
||||
#endif
|
||||
|
||||
#include <cdio/sector.h>
|
||||
#include <cdio/util.h>
|
||||
#include "cdio_assert.h"
|
||||
#include "sector.h"
|
||||
#include "util.h"
|
||||
|
||||
static const char _rcsid[] = "$Id: sector.c,v 1.2 2003/04/11 17:33:03 rocky Exp $";
|
||||
static const char _rcsid[] = "$Id: sector.c,v 1.3 2003/04/22 12:09:09 rocky Exp $";
|
||||
|
||||
void
|
||||
cdio_lba_to_msf (uint32_t lba, msf_t *msf)
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
$Id: util.c,v 1.1 2003/03/24 19:01:09 rocky Exp $
|
||||
$Id: util.c,v 1.2 2003/04/22 12:09:09 rocky Exp $
|
||||
|
||||
Copyright (C) 2000 Herbert Valerio Riedel <hvr@gnu.org>
|
||||
Copyright (C) 2003 Rocky Bernstein <rocky@panix.com>
|
||||
@@ -29,9 +29,9 @@
|
||||
#include <string.h>
|
||||
|
||||
#include "cdio_assert.h"
|
||||
#include "util.h"
|
||||
#include <cdio/util.h>
|
||||
|
||||
static const char _rcsid[] = "$Id: util.c,v 1.1 2003/03/24 19:01:09 rocky Exp $";
|
||||
static const char _rcsid[] = "$Id: util.c,v 1.2 2003/04/22 12:09:09 rocky Exp $";
|
||||
|
||||
size_t
|
||||
_cdio_strlenv(char **str_array)
|
||||
|
||||
Reference in New Issue
Block a user