Merge branch 'master' of rocky@git.sv.gnu.org:/srv/git/libcdio
This commit is contained in:
@@ -217,7 +217,7 @@ AC_MSG_RESULT($ISOC99_PRAGMA)
|
|||||||
## Check for S_ISSOCK() and S_ISLNK() macros
|
## Check for S_ISSOCK() and S_ISLNK() macros
|
||||||
##
|
##
|
||||||
AC_MSG_CHECKING(for S_ISLNK() macro)
|
AC_MSG_CHECKING(for S_ISLNK() macro)
|
||||||
AC_COMPILE_IFELSE([AC_LANG_PROGRAM([
|
AC_LINK_IFELSE([AC_LANG_PROGRAM([
|
||||||
#ifdef HAVE_SYS_STAT_H
|
#ifdef HAVE_SYS_STAT_H
|
||||||
# include <sys/stat.h>
|
# include <sys/stat.h>
|
||||||
#endif
|
#endif
|
||||||
@@ -226,7 +226,7 @@ AC_COMPILE_IFELSE([AC_LANG_PROGRAM([
|
|||||||
[ AC_MSG_RESULT(no) ])
|
[ AC_MSG_RESULT(no) ])
|
||||||
|
|
||||||
AC_MSG_CHECKING([for S_ISSOCK() macro])
|
AC_MSG_CHECKING([for S_ISSOCK() macro])
|
||||||
AC_COMPILE_IFELSE([AC_LANG_PROGRAM([
|
AC_LINK_IFELSE([AC_LANG_PROGRAM([
|
||||||
#ifdef HAVE_SYS_STAT_H
|
#ifdef HAVE_SYS_STAT_H
|
||||||
# include <sys/stat.h>
|
# include <sys/stat.h>
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
@@ -1,6 +1,4 @@
|
|||||||
# $Id: Makefile.am,v 1.13 2008/08/31 13:38:21 flameeyes Exp $
|
# Copyright (C) 2005, 2006, 2008, 2009 Rocky Bernstein <rocky@gnu.org>
|
||||||
#
|
|
||||||
# Copyright (C) 2005, 2006, 2008 Rocky Bernstein <rocky@gnu.org>
|
|
||||||
#
|
#
|
||||||
# This program is free software: you can redistribute it and/or modify
|
# 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
|
# it under the terms of the GNU General Public License as published by
|
||||||
@@ -63,5 +61,9 @@ mmc2_SOURCES = mmc2.cpp
|
|||||||
mmc2_DEPENDENCIES = $(LIBCDIO_DEPS)
|
mmc2_DEPENDENCIES = $(LIBCDIO_DEPS)
|
||||||
mmc2_LDADD = $(LIBCDIO_LIBS)
|
mmc2_LDADD = $(LIBCDIO_LIBS)
|
||||||
|
|
||||||
|
check_PROGRAMS = $(noinst_PROGRAMS)
|
||||||
|
|
||||||
|
TESTS = $(check_PROGRAMS)
|
||||||
|
|
||||||
# iso programs create file "copying"
|
# iso programs create file "copying"
|
||||||
MOSTLYCLEANFILES = copying *.wav
|
MOSTLYCLEANFILES = copying *.wav
|
||||||
|
|||||||
@@ -1,6 +1,4 @@
|
|||||||
# $Id: Makefile.am,v 1.13 2008/08/31 13:38:21 flameeyes Exp $
|
# Copyright (C) 2005, 2006, 2008, 2009 Rocky Bernstein <rocky@gnu.org>
|
||||||
#
|
|
||||||
# Copyright (C) 2005, 2006, 2008 Rocky Bernstein <rocky@gnu.org>
|
|
||||||
#
|
#
|
||||||
# This program is free software: you can redistribute it and/or modify
|
# 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
|
# it under the terms of the GNU General Public License as published by
|
||||||
@@ -67,3 +65,6 @@ mmc2_LDADD = $(LIBCDIOPP_LIBS) $(LIBCDIO_LIBS)
|
|||||||
tracks_SOURCES = tracks.cpp
|
tracks_SOURCES = tracks.cpp
|
||||||
tracks_LDADD = $(LIBCDIOPP_LIBS) $(LIBCDIO_LIBS)
|
tracks_LDADD = $(LIBCDIOPP_LIBS) $(LIBCDIO_LIBS)
|
||||||
|
|
||||||
|
check_PROGRAMS = $(noinst_PROGRAMS)
|
||||||
|
|
||||||
|
TESTS = $(check_PROGRAMS)
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
/*
|
/*
|
||||||
$Id: cdtext.cpp,v 1.4 2008/03/24 15:30:57 karl Exp $
|
$Id: cdtext.cpp,v 1.4 2008/03/24 15:30:57 karl Exp $
|
||||||
|
|
||||||
Copyright (C) 2005, 2008 Rocky Bernstein <rocky@panix.com>
|
Copyright (C) 2005, 2008, 2009 Rocky Bernstein <rocky@gnu.org>
|
||||||
|
|
||||||
This program is free software: you can redistribute it and/or modify
|
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
|
it under the terms of the GNU General Public License as published by
|
||||||
@@ -22,6 +22,7 @@
|
|||||||
See also corresponding C program of a similar name.
|
See also corresponding C program of a similar name.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#include <cdio++/cdio.hpp>
|
||||||
#ifdef HAVE_CONFIG_H
|
#ifdef HAVE_CONFIG_H
|
||||||
# include "config.h"
|
# include "config.h"
|
||||||
#endif
|
#endif
|
||||||
@@ -34,7 +35,6 @@
|
|||||||
#include <sys/types.h>
|
#include <sys/types.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include <cdio++/cdio.hpp>
|
|
||||||
|
|
||||||
/* Set up a CD-DA image to test on which is in the libcdio distribution. */
|
/* Set up a CD-DA image to test on which is in the libcdio distribution. */
|
||||||
#define CDDA_IMAGE_PATH "../../../test/"
|
#define CDDA_IMAGE_PATH "../../../test/"
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
/*
|
/*
|
||||||
$Id: device.cpp,v 1.4 2008/03/24 15:30:57 karl Exp $
|
$Id: device.cpp,v 1.4 2008/03/24 15:30:57 karl Exp $
|
||||||
|
|
||||||
Copyright (C) 2005, 2008 Rocky Bernstein <rocky@gnu.org>
|
Copyright (C) 2005, 2008, 2009 Rocky Bernstein <rocky@gnu.org>
|
||||||
|
|
||||||
This program is free software: you can redistribute it and/or modify
|
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
|
it under the terms of the GNU General Public License as published by
|
||||||
@@ -21,9 +21,8 @@
|
|||||||
CD-ROM drive is. See also corresponding C program of a similar
|
CD-ROM drive is. See also corresponding C program of a similar
|
||||||
name. */
|
name. */
|
||||||
|
|
||||||
#ifdef HAVE_CONFIG_H
|
#include <cdio++/cdio.hpp>
|
||||||
# include "config.h"
|
|
||||||
#endif
|
|
||||||
#ifdef HAVE_STDIO_H
|
#ifdef HAVE_STDIO_H
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#endif
|
#endif
|
||||||
@@ -34,8 +33,6 @@
|
|||||||
#include <sys/types.h>
|
#include <sys/types.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include <cdio++/cdio.hpp>
|
|
||||||
|
|
||||||
#define _(x) x
|
#define _(x) x
|
||||||
|
|
||||||
/* Prints out drive capabilities */
|
/* Prints out drive capabilities */
|
||||||
|
|||||||
@@ -1,7 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
$Id: drives.cpp,v 1.6 2008/03/24 15:30:57 karl Exp $
|
Copyright (C) 2003, 2004, 2006, 2008, 2009 Rocky Bernstein <rocky@gnu.org>
|
||||||
|
|
||||||
Copyright (C) 2003, 2004, 2006, 2008 Rocky Bernstein <rocky@gnu.org>
|
|
||||||
|
|
||||||
This program is free software: you can redistribute it and/or modify
|
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
|
it under the terms of the GNU General Public License as published by
|
||||||
@@ -19,9 +17,10 @@
|
|||||||
|
|
||||||
/* Simple program to show drivers installed and what the default
|
/* Simple program to show drivers installed and what the default
|
||||||
CD-ROM drive is and what CD drives are available. */
|
CD-ROM drive is and what CD drives are available. */
|
||||||
#ifdef HAVE_CONFIG_H
|
#include <cdio++/cdio.hpp>
|
||||||
# include "config.h"
|
#include <cdio/cd_types.h>
|
||||||
#endif
|
#include <cdio/logging.h>
|
||||||
|
|
||||||
#ifdef HAVE_STDIO_H
|
#ifdef HAVE_STDIO_H
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#endif
|
#endif
|
||||||
@@ -31,9 +30,6 @@
|
|||||||
#ifdef HAVE_SYS_TYPES_H
|
#ifdef HAVE_SYS_TYPES_H
|
||||||
#include <sys/types.h>
|
#include <sys/types.h>
|
||||||
#endif
|
#endif
|
||||||
#include <cdio++/cdio.hpp>
|
|
||||||
#include <cdio/cd_types.h>
|
|
||||||
#include <cdio/logging.h>
|
|
||||||
|
|
||||||
static void
|
static void
|
||||||
log_handler (cdio_log_level_t level, const char message[])
|
log_handler (cdio_log_level_t level, const char message[])
|
||||||
|
|||||||
@@ -24,10 +24,6 @@
|
|||||||
|
|
||||||
See also corresponding C program of a similar name.
|
See also corresponding C program of a similar name.
|
||||||
*/
|
*/
|
||||||
#ifdef HAVE_CONFIG_H
|
|
||||||
# include "config.h"
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#include <cdio++/cdio.hpp>
|
#include <cdio++/cdio.hpp>
|
||||||
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
|||||||
@@ -1,7 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
$Id: iso4.cpp,v 1.2 2008/03/24 15:30:57 karl Exp $
|
Copyright (C) 2006, 2008, 2009 Rocky Bernstein <rocky@gnu.org>
|
||||||
|
|
||||||
Copyright (C) 2006, 2008 Rocky Bernstein <rocky@gnu.org>
|
|
||||||
|
|
||||||
This program is free software: you can redistribute it and/or modify
|
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
|
it under the terms of the GNU General Public License as published by
|
||||||
@@ -34,9 +32,6 @@
|
|||||||
#define ISO9660_IMAGE_PATH "../../../"
|
#define ISO9660_IMAGE_PATH "../../../"
|
||||||
#define ISO9660_IMAGE ISO9660_IMAGE_PATH "test/isofs-m1.cue"
|
#define ISO9660_IMAGE ISO9660_IMAGE_PATH "test/isofs-m1.cue"
|
||||||
|
|
||||||
#ifdef HAVE_CONFIG_H
|
|
||||||
# include "config.h"
|
|
||||||
#endif
|
|
||||||
#include <sys/types.h>
|
#include <sys/types.h>
|
||||||
#include <cdio++/iso9660.hpp>
|
#include <cdio++/iso9660.hpp>
|
||||||
|
|
||||||
|
|||||||
@@ -1,7 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
$Id: isofile.cpp,v 1.2 2008/03/24 15:30:57 karl Exp $
|
Copyright (C) 2006, 2008, 2009 Rocky Bernstein <rocky@gnu.org>
|
||||||
|
|
||||||
Copyright (C) 2006, 2008 Rocky Bernstein <rocky@gnu.org>
|
|
||||||
|
|
||||||
This program is free software: you can redistribute it and/or modify
|
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
|
it under the terms of the GNU General Public License as published by
|
||||||
@@ -31,15 +29,10 @@
|
|||||||
|
|
||||||
#define LOCAL_FILENAME "copying"
|
#define LOCAL_FILENAME "copying"
|
||||||
|
|
||||||
#ifdef HAVE_CONFIG_H
|
|
||||||
# include "config.h"
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#include "portable.h"
|
|
||||||
|
|
||||||
#include <sys/types.h>
|
#include <sys/types.h>
|
||||||
#include <cdio++/iso9660.hpp>
|
#include <cdio++/iso9660.hpp>
|
||||||
|
|
||||||
|
#include "portable.h"
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
|
||||||
#ifdef HAVE_ERRNO_H
|
#ifdef HAVE_ERRNO_H
|
||||||
|
|||||||
@@ -1,7 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
$Id: isofile2.cpp,v 1.2 2008/03/24 15:30:57 karl Exp $
|
Copyright (C) 2006, 2008, 2009 Rocky Bernstein <rocky@gnu.org>
|
||||||
|
|
||||||
Copyright (C) 2006, 2008 Rocky Bernstein <rocky@gnu.org>
|
|
||||||
|
|
||||||
This program is free software: you can redistribute it and/or modify
|
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
|
it under the terms of the GNU General Public License as published by
|
||||||
@@ -37,14 +35,9 @@
|
|||||||
#define ISO9660_FILENAME "COPYING"
|
#define ISO9660_FILENAME "COPYING"
|
||||||
#define LOCAL_FILENAME "copying"
|
#define LOCAL_FILENAME "copying"
|
||||||
|
|
||||||
#ifdef HAVE_CONFIG_H
|
|
||||||
# include "config.h"
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#include "portable.h"
|
|
||||||
|
|
||||||
#include <cdio++/cdio.hpp>
|
#include <cdio++/cdio.hpp>
|
||||||
#include <cdio++/iso9660.hpp>
|
#include <cdio++/iso9660.hpp>
|
||||||
|
#include "portable.h"
|
||||||
|
|
||||||
#ifdef HAVE_SYS_TYPES_H
|
#ifdef HAVE_SYS_TYPES_H
|
||||||
#include <sys/types.h>
|
#include <sys/types.h>
|
||||||
|
|||||||
@@ -34,9 +34,6 @@
|
|||||||
#define ISO9660_IMAGE_PATH "../../../"
|
#define ISO9660_IMAGE_PATH "../../../"
|
||||||
#define ISO9660_IMAGE ISO9660_IMAGE_PATH "test/copying.iso"
|
#define ISO9660_IMAGE ISO9660_IMAGE_PATH "test/copying.iso"
|
||||||
|
|
||||||
#ifdef HAVE_CONFIG_H
|
|
||||||
# include "config.h"
|
|
||||||
#endif
|
|
||||||
#include <sys/types.h>
|
#include <sys/types.h>
|
||||||
#include <cdio++/iso9660.hpp>
|
#include <cdio++/iso9660.hpp>
|
||||||
|
|
||||||
|
|||||||
@@ -1,7 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
$Id: mmc1.cpp,v 1.2 2008/03/24 15:30:57 karl Exp $
|
Copyright (C) 2005, 2008, 2009 Rocky Bernstein <rocky@gnu.org>
|
||||||
|
|
||||||
Copyright (C) 2005, 2008 Rocky Bernstein <rocky@gnu.org>
|
|
||||||
|
|
||||||
This program is free software: you can redistribute it and/or modify
|
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
|
it under the terms of the GNU General Public License as published by
|
||||||
@@ -22,9 +20,7 @@
|
|||||||
This basically the libdio mmc_get_hwinfo() routine.
|
This basically the libdio mmc_get_hwinfo() routine.
|
||||||
See also corresponding C and non OO C++ program.
|
See also corresponding C and non OO C++ program.
|
||||||
*/
|
*/
|
||||||
#ifdef HAVE_CONFIG_H
|
#include <cdio++/cdio.hpp>
|
||||||
# include "config.h"
|
|
||||||
#endif
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#ifdef HAVE_SYS_TYPES_H
|
#ifdef HAVE_SYS_TYPES_H
|
||||||
#include <sys/types.h>
|
#include <sys/types.h>
|
||||||
@@ -32,7 +28,6 @@
|
|||||||
#ifdef HAVE_STRING_H
|
#ifdef HAVE_STRING_H
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#endif
|
#endif
|
||||||
#include <cdio++/cdio.hpp>
|
|
||||||
|
|
||||||
/* Set how long to wait for MMC commands to complete */
|
/* Set how long to wait for MMC commands to complete */
|
||||||
#define DEFAULT_TIMEOUT_MS 10000
|
#define DEFAULT_TIMEOUT_MS 10000
|
||||||
|
|||||||
@@ -1,7 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
$Id: mmc2.cpp,v 1.2 2008/03/24 15:30:57 karl Exp $
|
Copyright (C) 2005, 2008, 2009 Rocky Bernstein <rocky@gnu.org>
|
||||||
|
|
||||||
Copyright (C) 2005, 2008 Rocky Bernstein <rocky@gnu.org>
|
|
||||||
|
|
||||||
This program is free software: you can redistribute it and/or modify
|
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
|
it under the terms of the GNU General Public License as published by
|
||||||
|
|||||||
@@ -1,7 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
$Id: tracks.cpp,v 1.2 2008/03/24 15:30:57 karl Exp $
|
Copyright (C) 2005, 2008, 2009 Rocky Bernstein <rocky@gnu.org>
|
||||||
|
|
||||||
Copyright (C) 2005, 2008 Rocky Bernstein <rocky@gnu.org>
|
|
||||||
|
|
||||||
This program is free software: you can redistribute it and/or modify
|
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
|
it under the terms of the GNU General Public License as published by
|
||||||
@@ -19,14 +17,11 @@
|
|||||||
|
|
||||||
/* Simple program to list track numbers and logical sector numbers of
|
/* Simple program to list track numbers and logical sector numbers of
|
||||||
a Compact Disc using libcdio. */
|
a Compact Disc using libcdio. */
|
||||||
#ifdef HAVE_CONFIG_H
|
|
||||||
# include "config.h"
|
|
||||||
#endif
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
#include <cdio++/cdio.hpp>
|
||||||
#ifdef HAVE_SYS_TYPES_H
|
#ifdef HAVE_SYS_TYPES_H
|
||||||
#include <sys/types.h>
|
#include <sys/types.h>
|
||||||
#endif
|
#endif
|
||||||
#include <cdio++/cdio.hpp>
|
|
||||||
int
|
int
|
||||||
main(int argc, const char *argv[])
|
main(int argc, const char *argv[])
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -1,7 +1,6 @@
|
|||||||
/*
|
/*
|
||||||
$Id: device.cpp,v 1.3 2008/03/24 15:30:56 karl Exp $
|
Copyright (C) 2003, 2004, 2005, 2006, 2008, 2009
|
||||||
|
Rocky Bernstein <rocky@gnu.org>
|
||||||
Copyright (C) 2003, 2004, 2005, 2006, 2008 Rocky Bernstein <rocky@gnu.org>
|
|
||||||
|
|
||||||
This program is free software: you can redistribute it and/or modify
|
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
|
it under the terms of the GNU General Public License as published by
|
||||||
@@ -21,9 +20,7 @@
|
|||||||
CD-ROM drive is. See also corresponding C program of a similar
|
CD-ROM drive is. See also corresponding C program of a similar
|
||||||
name. */
|
name. */
|
||||||
|
|
||||||
#ifdef HAVE_CONFIG_H
|
#include <cdio/cdio.h>
|
||||||
# include "config.h"
|
|
||||||
#endif
|
|
||||||
#ifdef HAVE_STDIO_H
|
#ifdef HAVE_STDIO_H
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#endif
|
#endif
|
||||||
@@ -33,7 +30,6 @@
|
|||||||
#ifdef HAVE_SYS_TYPES_H
|
#ifdef HAVE_SYS_TYPES_H
|
||||||
#include <sys/types.h>
|
#include <sys/types.h>
|
||||||
#endif
|
#endif
|
||||||
#include <cdio/cdio.h>
|
|
||||||
|
|
||||||
#define _(x) x
|
#define _(x) x
|
||||||
|
|
||||||
|
|||||||
@@ -1,7 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
$Id: eject.cpp,v 1.4 2008/03/24 15:30:56 karl Exp $
|
Copyright (C) 2005, 2006, 2008, 209 Rocky Bernstein <rocky@gnu.org>
|
||||||
|
|
||||||
Copyright (C) 2005, 2006, 2008 Rocky Bernstein <rocky@gnu.org>
|
|
||||||
|
|
||||||
This program is free software: you can redistribute it and/or modify
|
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
|
it under the terms of the GNU General Public License as published by
|
||||||
@@ -22,16 +20,13 @@
|
|||||||
If a single argument is given, it is used as the CD-ROM device to
|
If a single argument is given, it is used as the CD-ROM device to
|
||||||
eject/close. Otherwise a CD-ROM drive will be scanned for.
|
eject/close. Otherwise a CD-ROM drive will be scanned for.
|
||||||
*/
|
*/
|
||||||
#ifdef HAVE_CONFIG_H
|
#include <cdio/cdio.h>
|
||||||
# include "config.h"
|
|
||||||
#endif
|
|
||||||
#ifdef HAVE_STDIO_H
|
#ifdef HAVE_STDIO_H
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#endif
|
#endif
|
||||||
#ifdef HAVE_STDLIB_H
|
#ifdef HAVE_STDLIB_H
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#endif
|
#endif
|
||||||
#include <cdio/cdio.h>
|
|
||||||
#ifdef HAVE_STRING_H
|
#ifdef HAVE_STRING_H
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
@@ -1,6 +1,4 @@
|
|||||||
/*
|
/*
|
||||||
$Id: isofile.cpp,v 1.2 2008/03/24 15:30:56 karl Exp $
|
|
||||||
|
|
||||||
Copyright (C) 2004, 2006, 2008 Rocky Bernstein <rocky@gnu.org>
|
Copyright (C) 2004, 2006, 2008 Rocky Bernstein <rocky@gnu.org>
|
||||||
|
|
||||||
This program is free software: you can redistribute it and/or modify
|
This program is free software: you can redistribute it and/or modify
|
||||||
@@ -31,16 +29,12 @@
|
|||||||
|
|
||||||
#define LOCAL_FILENAME "copying"
|
#define LOCAL_FILENAME "copying"
|
||||||
|
|
||||||
#ifdef HAVE_CONFIG_H
|
|
||||||
# include "config.h"
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#include "portable.h"
|
|
||||||
|
|
||||||
#include <sys/types.h>
|
#include <sys/types.h>
|
||||||
#include <cdio/cdio.h>
|
#include <cdio/cdio.h>
|
||||||
#include <cdio/iso9660.h>
|
#include <cdio/iso9660.h>
|
||||||
|
|
||||||
|
#include "portable.h"
|
||||||
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
|
||||||
#ifdef HAVE_ERRNO_H
|
#ifdef HAVE_ERRNO_H
|
||||||
|
|||||||
@@ -1,7 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
$Id: isofile2.cpp,v 1.2 2008/03/24 15:30:56 karl Exp $
|
Copyright (C) 2004, 2006, 2008, 2009 Rocky Bernstein <rocky@gnu.org>
|
||||||
|
|
||||||
Copyright (C) 2004, 2006, 2008 Rocky Bernstein <rocky@gnu.org>
|
|
||||||
|
|
||||||
This program is free software: you can redistribute it and/or modify
|
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
|
it under the terms of the GNU General Public License as published by
|
||||||
@@ -31,16 +29,11 @@
|
|||||||
|
|
||||||
#define LOCAL_FILENAME "copying"
|
#define LOCAL_FILENAME "copying"
|
||||||
|
|
||||||
#ifdef HAVE_CONFIG_H
|
|
||||||
# include "config.h"
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#include "portable.h"
|
|
||||||
|
|
||||||
#include <sys/types.h>
|
#include <sys/types.h>
|
||||||
#include <cdio/cdio.h>
|
#include <cdio/cdio.h>
|
||||||
#include <cdio/iso9660.h>
|
#include <cdio/iso9660.h>
|
||||||
|
|
||||||
|
#include "portable.h"
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
|
||||||
#ifdef HAVE_ERRNO_H
|
#ifdef HAVE_ERRNO_H
|
||||||
|
|||||||
@@ -1,7 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
$Id: isolist.cpp,v 1.2 2008/03/24 15:30:56 karl Exp $
|
Copyright (C) 2004, 2006, 2008, 2009 Rocky Bernstein <rocky@gnu.org>
|
||||||
|
|
||||||
Copyright (C) 2004, 2006, 2008 Rocky Bernstein <rocky@gnu.org>
|
|
||||||
|
|
||||||
This program is free software: you can redistribute it and/or modify
|
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
|
it under the terms of the GNU General Public License as published by
|
||||||
|
|||||||
@@ -1,7 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
$Id: mmc1.cpp,v 1.4 2008/03/24 15:30:56 karl Exp $
|
Copyright (C) 2004, 2005, 2008, 2009 Rocky Bernstein <rocky@gnu.org>
|
||||||
|
|
||||||
Copyright (C) 2004, 2005, 2008 Rocky Bernstein <rocky@gnu.org>
|
|
||||||
|
|
||||||
This program is free software: you can redistribute it and/or modify
|
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
|
it under the terms of the GNU General Public License as published by
|
||||||
@@ -22,9 +20,6 @@
|
|||||||
This basically the libdio mmc_get_hwinfo() routine.
|
This basically the libdio mmc_get_hwinfo() routine.
|
||||||
See also corresponding C and OO C++ program.
|
See also corresponding C and OO C++ program.
|
||||||
*/
|
*/
|
||||||
#ifdef HAVE_CONFIG_H
|
|
||||||
# include "config.h"
|
|
||||||
#endif
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <sys/types.h>
|
#include <sys/types.h>
|
||||||
#include <cdio/cdio.h>
|
#include <cdio/cdio.h>
|
||||||
|
|||||||
@@ -1,7 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
$Id: mmc2.cpp,v 1.3 2008/03/24 15:30:56 karl Exp $
|
Copyright (C) 2004, 2005, 2008, 2009 Rocky Bernstein <rocky@gnu.org>
|
||||||
|
|
||||||
Copyright (C) 2004, 2005, 2008 Rocky Bernstein <rocky@gnu.org>
|
|
||||||
|
|
||||||
This program is free software: you can redistribute it and/or modify
|
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
|
it under the terms of the GNU General Public License as published by
|
||||||
@@ -19,9 +17,6 @@
|
|||||||
|
|
||||||
/* A program to using the MMC interface to list CD and drive features
|
/* A program to using the MMC interface to list CD and drive features
|
||||||
from the MMC GET_CONFIGURATION command . */
|
from the MMC GET_CONFIGURATION command . */
|
||||||
#ifdef HAVE_CONFIG_H
|
|
||||||
# include "config.h"
|
|
||||||
#endif
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <sys/types.h>
|
#include <sys/types.h>
|
||||||
#include <cdio/cdio.h>
|
#include <cdio/cdio.h>
|
||||||
|
|||||||
@@ -20,10 +20,6 @@
|
|||||||
/* Simple program to show using libcdio's version of the CD-DA paranoia.
|
/* Simple program to show using libcdio's version of the CD-DA paranoia.
|
||||||
library. */
|
library. */
|
||||||
|
|
||||||
#ifdef HAVE_CONFIG_H
|
|
||||||
# include "config.h"
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#include <iostream>
|
#include <iostream>
|
||||||
#include <cstdlib>
|
#include <cstdlib>
|
||||||
#include <fstream>
|
#include <fstream>
|
||||||
|
|||||||
@@ -1,7 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
$Id: paranoia2.cpp,v 1.2 2008/03/24 15:30:57 karl Exp $
|
Copyright (C) 2005, 2008, 2009 Rocky Bernstein <rocky@gnu.org>
|
||||||
|
|
||||||
Copyright (C) 2005, 2008 Rocky Bernstein <rocky@gnu.org>
|
|
||||||
|
|
||||||
This program is free software: you can redistribute it and/or modify
|
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
|
it under the terms of the GNU General Public License as published by
|
||||||
@@ -23,10 +21,6 @@
|
|||||||
players this may be what will be done since, one may want to get
|
players this may be what will be done since, one may want to get
|
||||||
CDDB/CD-Text info beforehand. */
|
CDDB/CD-Text info beforehand. */
|
||||||
|
|
||||||
#ifdef HAVE_CONFIG_H
|
|
||||||
# include "config.h"
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#include <cdio/cdda.h>
|
#include <cdio/cdda.h>
|
||||||
#include <cdio/cd_types.h>
|
#include <cdio/cd_types.h>
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
|||||||
@@ -1,6 +1,5 @@
|
|||||||
# $Id: Makefile.am,v 1.44 2008/08/31 13:38:21 flameeyes Exp $
|
# Copyright (C) 2003, 2004, 2005, 2006, 2008, 2009
|
||||||
#
|
# Rocky Bernstein <rocky@gnu.org>
|
||||||
# Copyright (C) 2003, 2004, 2005, 2006, 2008 Rocky Bernstein <rocky@gnu.org>
|
|
||||||
#
|
#
|
||||||
# This program is free software: you can redistribute it and/or modify
|
# 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
|
# it under the terms of the GNU General Public License as published by
|
||||||
@@ -92,6 +91,10 @@ udf1_LDADD = $(LIBUDF_LIBS) $(LIBCDIO_LIBS) $(LTLIBICONV)
|
|||||||
udffile_DEPENDENCIES = $(LIBUDF_LIBS) $(LIBCDIO_DEPS)
|
udffile_DEPENDENCIES = $(LIBUDF_LIBS) $(LIBCDIO_DEPS)
|
||||||
udffile_LDADD = $(LIBUDF_LIBS) $(LIBCDIO_LIBS) $(LTLIBICONV)
|
udffile_LDADD = $(LIBUDF_LIBS) $(LIBCDIO_LIBS) $(LTLIBICONV)
|
||||||
|
|
||||||
|
check_PROGRAMS = cdtext device drives \
|
||||||
|
mmc1 mmc2 mmc2a mmc3 $(paranoia_progs) sample4
|
||||||
|
|
||||||
|
TESTS = $(check_PROGRAMS)
|
||||||
|
|
||||||
# iso programs create file "copying"
|
# iso programs create file "copying"
|
||||||
MOSTLYCLEANFILES = copying *.wav
|
MOSTLYCLEANFILES = copying *.wav
|
||||||
|
|||||||
@@ -1,7 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
$Id: audio.c,v 1.10 2008/06/19 15:44:10 flameeyes Exp $
|
Copyright (C) 2005, 2008, 2009 Rocky Bernstein <rocky@gnu.org>
|
||||||
|
|
||||||
Copyright (C) 2005, 2008 Rocky Bernstein <rocky@gnu.org>
|
|
||||||
|
|
||||||
Adapted from Gerd Knorr's player.c program <kraxel@bytesex.org>
|
Adapted from Gerd Knorr's player.c program <kraxel@bytesex.org>
|
||||||
Copyright (C) 1997, 1998
|
Copyright (C) 1997, 1998
|
||||||
@@ -24,9 +22,7 @@
|
|||||||
CDDA player program using curses display see cdda-player in this
|
CDDA player program using curses display see cdda-player in this
|
||||||
distribution.
|
distribution.
|
||||||
*/
|
*/
|
||||||
#ifdef HAVE_CONFIG_H
|
#include <cdio/cdio.h>
|
||||||
#include "config.h"
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#ifdef HAVE_STDIO_H
|
#ifdef HAVE_STDIO_H
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
@@ -56,7 +52,6 @@
|
|||||||
#include <errno.h>
|
#include <errno.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include <cdio/cdio.h>
|
|
||||||
#include <cdio/mmc.h>
|
#include <cdio/mmc.h>
|
||||||
#include <cdio/util.h>
|
#include <cdio/util.h>
|
||||||
#include <cdio/cd_types.h>
|
#include <cdio/cd_types.h>
|
||||||
|
|||||||
@@ -1,7 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
$Id: cdchange.c,v 1.9 2008/06/25 08:01:53 rocky Exp $
|
Copyright (C) 2005, 2006, 2007, 2008, 2009 Rocky Bernstein <rocky@gnu.org>
|
||||||
|
|
||||||
Copyright (C) 2005, 2006, 2007, 2008 Rocky Bernstein <rocky@gnu.org>
|
|
||||||
|
|
||||||
This program is free software: you can redistribute it and/or modify
|
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
|
it under the terms of the GNU General Public License as published by
|
||||||
@@ -17,10 +15,9 @@
|
|||||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#include <cdio/cdio.h>
|
||||||
|
|
||||||
/* Test media changed */
|
/* Test media changed */
|
||||||
#ifdef HAVE_CONFIG_H
|
|
||||||
# include "config.h"
|
|
||||||
#endif
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
|
||||||
#ifdef HAVE_LIMITS_H
|
#ifdef HAVE_LIMITS_H
|
||||||
@@ -55,7 +52,6 @@ sleep(unsigned int ms)
|
|||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include <cdio/cdio.h>
|
|
||||||
int
|
int
|
||||||
main(int argc, const char *argv[])
|
main(int argc, const char *argv[])
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -1,7 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
$Id: cdio-eject.c,v 1.4 2008/03/24 15:30:55 karl Exp $
|
Copyright (C) 2007, 2008, 2009 Rocky Bernstein <rocky@gnu.org>
|
||||||
|
|
||||||
Copyright (C) 2007, 2008 Rocky Bernstein <rocky@gnu.org>
|
|
||||||
|
|
||||||
This program is free software: you can redistribute it and/or modify
|
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
|
it under the terms of the GNU General Public License as published by
|
||||||
@@ -17,10 +15,6 @@
|
|||||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifdef HAVE_CONFIG_H
|
|
||||||
# include "config.h"
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#include <cdio/cdio.h>
|
#include <cdio/cdio.h>
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
|||||||
@@ -1,7 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
$Id: cdtext.c,v 1.5 2008/03/24 15:30:55 karl Exp $
|
Copyright (C) 2004, 2005, 2006, 2008, 2009 Rocky Bernstein <rocky@gnu.org>
|
||||||
|
|
||||||
Copyright (C) 2004, 2005, 2006, 2008 Rocky Bernstein <rocky@gnu.org>
|
|
||||||
|
|
||||||
This program is free software: you can redistribute it and/or modify
|
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
|
it under the terms of the GNU General Public License as published by
|
||||||
@@ -20,10 +18,7 @@
|
|||||||
/* Simple program to list CD-Text info of a Compact Disc using
|
/* Simple program to list CD-Text info of a Compact Disc using
|
||||||
libcdio. See also corresponding C++ programs of similar names. */
|
libcdio. See also corresponding C++ programs of similar names. */
|
||||||
|
|
||||||
#ifdef HAVE_CONFIG_H
|
#include <cdio/cdio.h>
|
||||||
# include "config.h"
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#ifdef HAVE_STDIO_H
|
#ifdef HAVE_STDIO_H
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#endif
|
#endif
|
||||||
@@ -31,7 +26,6 @@
|
|||||||
#ifdef HAVE_SYS_TYPES_H
|
#ifdef HAVE_SYS_TYPES_H
|
||||||
#include <sys/types.h>
|
#include <sys/types.h>
|
||||||
#endif
|
#endif
|
||||||
#include <cdio/cdio.h>
|
|
||||||
#include <cdio/cdtext.h>
|
#include <cdio/cdtext.h>
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -1,7 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
$Id: device.c,v 1.3 2008/03/24 15:30:55 karl Exp $
|
Copyright (C) 2003, 2004, 2005, 2008, 2009 Rocky Bernstein <rocky@gnu.org>
|
||||||
|
|
||||||
Copyright (C) 2003, 2004, 2005, 2008 Rocky Bernstein <rocky@gnu.org>
|
|
||||||
|
|
||||||
This program is free software: you can redistribute it and/or modify
|
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
|
it under the terms of the GNU General Public License as published by
|
||||||
@@ -20,9 +18,7 @@
|
|||||||
/* Simple program to show drivers installed and what the default
|
/* Simple program to show drivers installed and what the default
|
||||||
CD-ROM drive is. See also corresponding C++ programs of similar
|
CD-ROM drive is. See also corresponding C++ programs of similar
|
||||||
names .*/
|
names .*/
|
||||||
#ifdef HAVE_CONFIG_H
|
#include <cdio/cdio.h>
|
||||||
# include "config.h"
|
|
||||||
#endif
|
|
||||||
#ifdef HAVE_STDIO_H
|
#ifdef HAVE_STDIO_H
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#endif
|
#endif
|
||||||
@@ -32,7 +28,6 @@
|
|||||||
#ifdef HAVE_SYS_TYPES_H
|
#ifdef HAVE_SYS_TYPES_H
|
||||||
#include <sys/types.h>
|
#include <sys/types.h>
|
||||||
#endif
|
#endif
|
||||||
#include <cdio/cdio.h>
|
|
||||||
|
|
||||||
#define _(x) x
|
#define _(x) x
|
||||||
|
|
||||||
|
|||||||
@@ -1,7 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
$Id: drives.c,v 1.6 2008/03/24 15:30:55 karl Exp $
|
Copyright (C) 2003, 2004, 2006, 2008, 2009 Rocky Bernstein <rocky@gnu.org>
|
||||||
|
|
||||||
Copyright (C) 2003, 2004, 2006, 2008 Rocky Bernstein <rocky@gnu.org>
|
|
||||||
|
|
||||||
This program is free software: you can redistribute it and/or modify
|
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
|
it under the terms of the GNU General Public License as published by
|
||||||
@@ -19,9 +17,7 @@
|
|||||||
|
|
||||||
/* Simple program to show drivers installed and what the default
|
/* Simple program to show drivers installed and what the default
|
||||||
CD-ROM drive is and what CD drives are available. */
|
CD-ROM drive is and what CD drives are available. */
|
||||||
#ifdef HAVE_CONFIG_H
|
#include <cdio/cdio.h>
|
||||||
# include "config.h"
|
|
||||||
#endif
|
|
||||||
#ifdef HAVE_STDIO_H
|
#ifdef HAVE_STDIO_H
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#endif
|
#endif
|
||||||
@@ -31,7 +27,6 @@
|
|||||||
#ifdef HAVE_SYS_TYPES_H
|
#ifdef HAVE_SYS_TYPES_H
|
||||||
#include <sys/types.h>
|
#include <sys/types.h>
|
||||||
#endif
|
#endif
|
||||||
#include <cdio/cdio.h>
|
|
||||||
#include <cdio/cd_types.h>
|
#include <cdio/cd_types.h>
|
||||||
#include <cdio/logging.h>
|
#include <cdio/logging.h>
|
||||||
|
|
||||||
|
|||||||
@@ -24,16 +24,13 @@
|
|||||||
|
|
||||||
See also corresponding C++ program of a similar name.
|
See also corresponding C++ program of a similar name.
|
||||||
*/
|
*/
|
||||||
#ifdef HAVE_CONFIG_H
|
#include <cdio/cdio.h>
|
||||||
# include "config.h"
|
|
||||||
#endif
|
|
||||||
#ifdef HAVE_STDIO_H
|
#ifdef HAVE_STDIO_H
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#endif
|
#endif
|
||||||
#ifdef HAVE_STDLIB_H
|
#ifdef HAVE_STDLIB_H
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#endif
|
#endif
|
||||||
#include <cdio/cdio.h>
|
|
||||||
#ifdef HAVE_STRING_H
|
#ifdef HAVE_STRING_H
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
/*
|
/*
|
||||||
$Id: isofile.c,v 1.2 2008/03/24 15:30:55 karl Exp $
|
$Id: isofile.c,v 1.2 2008/03/24 15:30:55 karl Exp $
|
||||||
|
|
||||||
Copyright (C) 2004, 2005, 2006, 2008 Rocky Bernstein <rocky@gnu.org>
|
Copyright (C) 2004, 2005, 2006, 2008, 2009 Rocky Bernstein <rocky@gnu.org>
|
||||||
|
|
||||||
This program is free software: you can redistribute it and/or modify
|
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
|
it under the terms of the GNU General Public License as published by
|
||||||
@@ -31,15 +31,10 @@
|
|||||||
|
|
||||||
#define LOCAL_FILENAME "copying"
|
#define LOCAL_FILENAME "copying"
|
||||||
|
|
||||||
#ifdef HAVE_CONFIG_H
|
|
||||||
# include "config.h"
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#include "portable.h"
|
|
||||||
|
|
||||||
#include <sys/types.h>
|
#include <sys/types.h>
|
||||||
#include <cdio/cdio.h>
|
#include <cdio/cdio.h>
|
||||||
#include <cdio/iso9660.h>
|
#include <cdio/iso9660.h>
|
||||||
|
#include "portable.h"
|
||||||
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
|
||||||
|
|||||||
@@ -1,7 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
$Id: isofile2.c,v 1.2 2008/03/24 15:30:55 karl Exp $
|
Copyright (C) 2003, 2004, 2005, 2006, 2009 Rocky Bernstein <rocky@gnu.org>
|
||||||
|
|
||||||
Copyright (C) 2003, 2004, 2005, 2006 Rocky Bernstein <rocky@gnu.org>
|
|
||||||
|
|
||||||
This program is free software: you can redistribute it and/or modify
|
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
|
it under the terms of the GNU General Public License as published by
|
||||||
@@ -37,15 +35,11 @@
|
|||||||
#define ISO9660_FILENAME "COPYING"
|
#define ISO9660_FILENAME "COPYING"
|
||||||
#define LOCAL_FILENAME "copying"
|
#define LOCAL_FILENAME "copying"
|
||||||
|
|
||||||
#ifdef HAVE_CONFIG_H
|
|
||||||
# include "config.h"
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#include "portable.h"
|
|
||||||
|
|
||||||
#include <cdio/cdio.h>
|
#include <cdio/cdio.h>
|
||||||
#include <cdio/iso9660.h>
|
#include <cdio/iso9660.h>
|
||||||
|
|
||||||
|
#include "portable.h"
|
||||||
|
|
||||||
#ifdef HAVE_SYS_TYPES_H
|
#ifdef HAVE_SYS_TYPES_H
|
||||||
#include <sys/types.h>
|
#include <sys/types.h>
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
@@ -1,7 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
$Id: isofuzzy.c,v 1.3 2008/03/24 15:30:56 karl Exp $
|
Copyright (C) 2005, 2008, 2009 Rocky Bernstein <rocky@gnu.org>
|
||||||
|
|
||||||
Copyright (C) 2005, 2008 Rocky Bernstein <rocky@gnu.org>
|
|
||||||
|
|
||||||
This program is free software: you can redistribute it and/or modify
|
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
|
it under the terms of the GNU General Public License as published by
|
||||||
@@ -28,16 +26,11 @@
|
|||||||
#define ISO9660_IMAGE_PATH "/tmp/"
|
#define ISO9660_IMAGE_PATH "/tmp/"
|
||||||
#define ISO9660_IMAGE ISO9660_IMAGE_PATH "vcd_demo.bin"
|
#define ISO9660_IMAGE ISO9660_IMAGE_PATH "vcd_demo.bin"
|
||||||
|
|
||||||
#ifdef HAVE_CONFIG_H
|
|
||||||
# include "config.h"
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#include "portable.h"
|
|
||||||
|
|
||||||
#include <sys/types.h>
|
#include <sys/types.h>
|
||||||
#include <cdio/cdio.h>
|
#include <cdio/cdio.h>
|
||||||
#include <cdio/iso9660.h>
|
#include <cdio/iso9660.h>
|
||||||
|
|
||||||
|
#include "portable.h"
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
|
||||||
#ifdef HAVE_ERRNO_H
|
#ifdef HAVE_ERRNO_H
|
||||||
|
|||||||
@@ -20,10 +20,6 @@
|
|||||||
/* Simple program to show using libcdio's version of the CD-DA paranoia.
|
/* Simple program to show using libcdio's version of the CD-DA paranoia.
|
||||||
library. */
|
library. */
|
||||||
|
|
||||||
#ifdef HAVE_CONFIG_H
|
|
||||||
# include "config.h"
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#include <cdio/paranoia.h>
|
#include <cdio/paranoia.h>
|
||||||
#include <cdio/cd_types.h>
|
#include <cdio/cd_types.h>
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
|||||||
@@ -1,7 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
$Id: paranoia2.c,v 1.8 2008/03/24 15:30:56 karl Exp $
|
Copyright (C) 2005, 2006, 2008, 2009 Rocky Bernstein <rocky@gnu.org>
|
||||||
|
|
||||||
Copyright (C) 2005, 2006, 2008 Rocky Bernstein <rocky@gnu.org>
|
|
||||||
|
|
||||||
This program is free software: you can redistribute it and/or modify
|
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
|
it under the terms of the GNU General Public License as published by
|
||||||
@@ -24,10 +22,6 @@
|
|||||||
CDDB/CD-Text info beforehand.
|
CDDB/CD-Text info beforehand.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifdef HAVE_CONFIG_H
|
|
||||||
# include "config.h"
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#include <cdio/cdda.h>
|
#include <cdio/cdda.h>
|
||||||
#include <cdio/cd_types.h>
|
#include <cdio/cd_types.h>
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
|||||||
@@ -21,9 +21,6 @@
|
|||||||
A somewhat simplified program to show the use of cdio_guess_cd_type().
|
A somewhat simplified program to show the use of cdio_guess_cd_type().
|
||||||
Figure out the kind of CD image we've got.
|
Figure out the kind of CD image we've got.
|
||||||
*/
|
*/
|
||||||
#ifdef HAVE_CONFIG_H
|
|
||||||
# include "config.h"
|
|
||||||
#endif
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <sys/types.h>
|
#include <sys/types.h>
|
||||||
|
|||||||
@@ -1,7 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
$Id: sample4.c,v 1.8 2008/03/24 15:30:56 karl Exp $
|
Copyright (C) 2003, 2004, 2008, 2009 Rocky Bernstein <rocky@gnu.org>
|
||||||
|
|
||||||
Copyright (C) 2003, 2004 2008 Rocky Bernstein <rocky@gnu.org>
|
|
||||||
|
|
||||||
This program is free software: you can redistribute it and/or modify
|
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
|
it under the terms of the GNU General Public License as published by
|
||||||
@@ -21,9 +19,6 @@
|
|||||||
A slightly improved sample3 program: we handle cdio logging and
|
A slightly improved sample3 program: we handle cdio logging and
|
||||||
take an optional CD-location.
|
take an optional CD-location.
|
||||||
*/
|
*/
|
||||||
#ifdef HAVE_CONFIG_H
|
|
||||||
# include "config.h"
|
|
||||||
#endif
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <sys/types.h>
|
#include <sys/types.h>
|
||||||
|
|||||||
@@ -1,7 +1,6 @@
|
|||||||
/*
|
/*
|
||||||
$Id: tracks.c,v 1.7 2008/03/24 15:30:56 karl Exp $
|
Copyright (C) 2003, 2004, 2005, 2006, 2008, 2009
|
||||||
|
Rocky Bernstein <rocky@gnu.org>
|
||||||
Copyright (C) 2003, 2004, 2005, 2006, 2008 Rocky Bernstein <rocky@gnu.org>
|
|
||||||
|
|
||||||
This program is free software: you can redistribute it and/or modify
|
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
|
it under the terms of the GNU General Public License as published by
|
||||||
@@ -19,9 +18,6 @@
|
|||||||
|
|
||||||
/* Simple program to list track numbers and logical sector numbers of
|
/* Simple program to list track numbers and logical sector numbers of
|
||||||
a Compact Disc using libcdio. */
|
a Compact Disc using libcdio. */
|
||||||
#ifdef HAVE_CONFIG_H
|
|
||||||
# include "config.h"
|
|
||||||
#endif
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#ifdef HAVE_SYS_TYPES_H
|
#ifdef HAVE_SYS_TYPES_H
|
||||||
#include <sys/types.h>
|
#include <sys/types.h>
|
||||||
|
|||||||
@@ -25,9 +25,6 @@
|
|||||||
#define UDF_IMAGE_PATH "../"
|
#define UDF_IMAGE_PATH "../"
|
||||||
#define UDF_IMAGE "/src2/cd-images/udf/UDF102ISO.iso"
|
#define UDF_IMAGE "/src2/cd-images/udf/UDF102ISO.iso"
|
||||||
|
|
||||||
#ifdef HAVE_CONFIG_H
|
|
||||||
# include "config.h"
|
|
||||||
#endif
|
|
||||||
#include <sys/types.h>
|
#include <sys/types.h>
|
||||||
#include <cdio/cdio.h>
|
#include <cdio/cdio.h>
|
||||||
#include <cdio/udf.h>
|
#include <cdio/udf.h>
|
||||||
|
|||||||
@@ -1,7 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
$Id: udf2.c,v 1.6 2008/03/24 15:30:56 karl Exp $
|
Copyright (C) 2005, 2006, 2008, 2009 Rocky Bernstein <rocky@gnu.org>
|
||||||
|
|
||||||
Copyright (C) 2005, 2006,2008 Rocky Bernstein <rocky@gnu.org>
|
|
||||||
|
|
||||||
This program is free software: you can redistribute it and/or modify
|
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
|
it under the terms of the GNU General Public License as published by
|
||||||
@@ -29,9 +27,6 @@
|
|||||||
#define UDF_IMAGE "/src2/cd-images/udf/test2.iso"
|
#define UDF_IMAGE "/src2/cd-images/udf/test2.iso"
|
||||||
#define UDF_FILENAME "/parse/cue.L"
|
#define UDF_FILENAME "/parse/cue.L"
|
||||||
|
|
||||||
#ifdef HAVE_CONFIG_H
|
|
||||||
# include "config.h"
|
|
||||||
#endif
|
|
||||||
#include <sys/types.h>
|
#include <sys/types.h>
|
||||||
#include <cdio/cdio.h>
|
#include <cdio/cdio.h>
|
||||||
#include <cdio/udf.h>
|
#include <cdio/udf.h>
|
||||||
|
|||||||
@@ -1,7 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
$Id: udffile.c,v 1.3 2008/03/24 15:30:56 karl Exp $
|
Copyright (C) 2005, 2006, 2008, 2009 Rocky Bernstein <rocky@gnu.org>
|
||||||
|
|
||||||
Copyright (C) 2005, 2006, 2008 Rocky Bernstein <rocky@gnu.org>
|
|
||||||
|
|
||||||
This program is free software: you can redistribute it and/or modify
|
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
|
it under the terms of the GNU General Public License as published by
|
||||||
@@ -30,9 +28,6 @@
|
|||||||
#define UDF_FILENAME "/COPYING"
|
#define UDF_FILENAME "/COPYING"
|
||||||
#define LOCAL_FILENAME "copying"
|
#define LOCAL_FILENAME "copying"
|
||||||
|
|
||||||
#ifdef HAVE_CONFIG_H
|
|
||||||
# include "config.h"
|
|
||||||
#endif
|
|
||||||
#include <sys/types.h>
|
#include <sys/types.h>
|
||||||
#include <cdio/cdio.h>
|
#include <cdio/cdio.h>
|
||||||
#include <cdio/udf.h>
|
#include <cdio/udf.h>
|
||||||
|
|||||||
@@ -1,7 +1,5 @@
|
|||||||
/* -*- c -*-
|
/* -*- c -*-
|
||||||
$Id: cdio.h,v 1.82 2008/03/25 15:59:08 karl Exp $
|
Copyright (C) 2003, 2004, 2005, 2008, 2009 Rocky Bernstein <rocky@gnu.org>
|
||||||
|
|
||||||
Copyright (C) 2003, 2004, 2005, 2008 Rocky Bernstein <rocky@gnu.org>
|
|
||||||
Copyright (C) 2001 Herbert Valerio Riedel <hvr@gnu.org>
|
Copyright (C) 2001 Herbert Valerio Riedel <hvr@gnu.org>
|
||||||
|
|
||||||
This program is free software: you can redistribute it and/or modify
|
This program is free software: you can redistribute it and/or modify
|
||||||
@@ -34,7 +32,7 @@
|
|||||||
#define CDIO_API_VERSION 5
|
#define CDIO_API_VERSION 5
|
||||||
|
|
||||||
#include <cdio/version.h>
|
#include <cdio/version.h>
|
||||||
|
#include <cdio/types.h>
|
||||||
#ifdef HAVE_SYS_TYPES_H
|
#ifdef HAVE_SYS_TYPES_H
|
||||||
#include <sys/types.h>
|
#include <sys/types.h>
|
||||||
#endif
|
#endif
|
||||||
@@ -42,7 +40,6 @@
|
|||||||
#include <unistd.h>
|
#include <unistd.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include <cdio/types.h>
|
|
||||||
#include <cdio/sector.h>
|
#include <cdio/sector.h>
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
|
|||||||
Reference in New Issue
Block a user