00001 /***************************************************************************** 00002 * Copyright (C) 2006 Daniel Stränger <vlc at schmaller dot de> 00003 * 00004 * This program 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 * This program 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 00015 * along with this program; if not, write to the Free Software 00016 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA. 00017 *******************************************************************************/ 00018 /** 00019 * \file modules/misc/playlist/xspf.h 00020 * \brief XSPF playlist export module header file 00021 */ 00022 00023 /* defs */ 00024 #define B10000000 0x80 00025 #define B01000000 0x40 00026 #define B11000000 0xc0 00027 #define B00001111 0x0f 00028 00029 #define XSPF_MAX_CONTENT 2000 00030 00031 /* constants */ 00032 const char hexchars[16] = "0123456789ABCDEF"; 00033 00034 /* prototypes */ 00035 int xspf_export_playlist( vlc_object_t * ); 00036 static void xspf_export_item( playlist_item_t *, FILE *, int * ); 00037 static void xspf_extension_item( playlist_item_t *, FILE *, int * ); 00038 static char *assertUTF8URI( char * );
1.5.1