00001 /* 00002 * This file is part of libdvdread. 00003 * 00004 * libdvdread is free software; you can redistribute it and/or modify 00005 * it under the terms of the GNU General Public License as published by 00006 * the Free Software Foundation; either version 2 of the License, or 00007 * (at your option) any later version. 00008 * 00009 * libdvdread is distributed in the hope that it will be useful, 00010 * but WITHOUT ANY WARRANTY; without even the implied warranty of 00011 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00012 * GNU General Public License for more details. 00013 * 00014 * You should have received a copy of the GNU General Public License along 00015 * with libdvdread; if not, write to the Free Software Foundation, Inc., 00016 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. 00017 */ 00018 00019 #ifndef LIBDVDREAD_DVDREAD_INTERNAL_H 00020 #define LIBDVDREAD_DVDREAD_INTERNAL_H 00021 00022 #include <stdint.h> 00023 #include <sys/types.h> 00024 00025 #ifdef _WIN32 00026 #include <unistd.h> 00027 #endif /* _WIN32 */ 00028 00029 #include "dvdread/dvd_reader.h" 00030 00031 #define CHECK_VALUE(arg) \ 00032 if(!(arg)) { \ 00033 fprintf(stderr, "\n*** libdvdread: CHECK_VALUE failed in %s:%i ***" \ 00034 "\n*** for %s ***\n\n", \ 00035 __FILE__, __LINE__, # arg ); \ 00036 } 00037 00038 int UDFReadBlocksRaw(dvd_reader_t *device, uint32_t lb_number, 00039 size_t block_count, unsigned char *data, int encrypted); 00040 00041 #endif /* LIBDVDREAD_DVDREAD_INTERNAL_H */
1.6.3