00001 /* 00002 * This file is part of libbluray 00003 * Copyright (C) 2010 Joakim 00004 * 00005 * This library is free software; you can redistribute it and/or 00006 * modify it under the terms of the GNU Lesser General Public 00007 * License as published by the Free Software Foundation; either 00008 * version 2.1 of the License, or (at your option) any later version. 00009 * 00010 * This library is distributed in the hope that it will be useful, 00011 * but WITHOUT ANY WARRANTY; without even the implied warranty of 00012 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 00013 * Lesser General Public License for more details. 00014 * 00015 * You should have received a copy of the GNU Lesser General Public 00016 * License along with this library. If not, see 00017 * <http://www.gnu.org/licenses/>. 00018 */ 00019 00020 #if HAVE_CONFIG_H 00021 #include "config.h" 00022 #endif 00023 00024 #include "file.h" 00025 00026 00027 BD_FILE_OPEN bd_register_file(BD_FILE_OPEN p) 00028 { 00029 BD_FILE_OPEN old = file_open; 00030 file_open = p; 00031 return old; 00032 } 00033 00034 BD_DIR_OPEN bd_register_dir(BD_DIR_OPEN p) 00035 { 00036 BD_DIR_OPEN old = dir_open; 00037 dir_open = p; 00038 return old; 00039 }
1.6.3