Sophie

Sophie

distrib > Mandriva > 2011.0 > i586 > by-pkgid > 5adb98d0f9708d9167ac31e639c3861f > files > 12

dvdbackup-debug-0.4.1-2mdv2011.0.i586.rpm

#ifndef DVDBACKUP_H_
#define DVDBACKUP_H_

/*
 * dvdbackup - tool to rip DVDs from the command line
 *
 * Copyright (C) 2002  Olaf Beck <olaf_sc@yahoo.com>
 * Copyright (C) 2008-2009  Benjamin Drung <benjamin.drung@gmail.com>
 *
 * 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 3 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, see <http://www.gnu.org/licenses/>.
 */

/* libdvdread */
#include <dvdread/dvd_reader.h>

/* Flag for verbose mode */
extern int verbose;
extern int aspect;

typedef enum {
	STRATEGY_ABORT,
	STRATEGY_SKIP_BLOCK,
	STRATEGY_SKIP_MULTIBLOCK
} read_error_strategy_t;

int DVDDisplayInfo(dvd_reader_t*, char*);
int DVDGetTitleName(const char*, char*);
int DVDMirror(dvd_reader_t*, char*, char*, read_error_strategy_t);
int DVDMirrorChapters(dvd_reader_t*, char*, char*, int, int, int);
int DVDMirrorMainFeature(dvd_reader_t*, char*, char*, read_error_strategy_t);
int DVDMirrorTitles(dvd_reader_t*, char*, char*, int);
int DVDMirrorTitleSet(dvd_reader_t*, char*, char*, int, read_error_strategy_t);

#endif /* DVDBACKUP_H_ */