root/modules/misc/playlist/xspf.h
| Revision 630076053112b47b2f6279b1e67a4031d2ca45b2, 1.4 kB (checked in by Rémi Denis-Courmont <rem@videolan.org>, 7 months ago) | |
|---|---|
| |
| Line | |
|---|---|
| 1 | /***************************************************************************** |
| 2 | * Copyright (C) 2006 Daniel Stränger <vlc at schmaller dot de> |
| 3 | * |
| 4 | * This program is free software; you can redistribute it and/or modify |
| 5 | * it under the terms of the GNU General Public License as published by |
| 6 | * the Free Software Foundation; either version 2 of the License, or |
| 7 | * (at your option) any later version. |
| 8 | * |
| 9 | * This program is distributed in the hope that it will be useful, |
| 10 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 11 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 12 | * GNU General Public License for more details. |
| 13 | * |
| 14 | * You should have received a copy of the GNU General Public License |
| 15 | * along with this program; if not, write to the Free Software |
| 16 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA. |
| 17 | *******************************************************************************/ |
| 18 | /** |
| 19 | * \file modules/misc/playlist/xspf.h |
| 20 | * \brief XSPF playlist export module header file |
| 21 | */ |
| 22 | |
| 23 | /* defs */ |
| 24 | #define B10000000 0x80 |
| 25 | #define B01000000 0x40 |
| 26 | #define B11000000 0xc0 |
| 27 | #define B00001111 0x0f |
| 28 | |
| 29 | #define XSPF_MAX_CONTENT 2000 |
| 30 | |
| 31 | /* constants */ |
| 32 | const char hexchars[16] = "0123456789ABCDEF"; |
| 33 | |
| 34 | /* prototypes */ |
| 35 | int xspf_export_playlist( vlc_object_t * ); |
| 36 | static void xspf_export_item( playlist_item_t *, FILE *, int * ); |
| 37 | static void xspf_extension_item( playlist_item_t *, FILE *, int * ); |
| 38 | static char *assertUTF8URI( char * ); |
Note: See TracBrowser for help on using the browser.
