vlc_strings.h

Go to the documentation of this file.
00001 /*****************************************************************************
00002  * vlc_strings.h: String functions
00003  *****************************************************************************
00004  * Copyright (C) 2006 the VideoLAN team
00005  * $Id: 42304257dd97a2a1e608691298e2396fceda7de2 $
00006  *
00007  * Authors: Antoine Cellerier <dionoea at videolan dot org>
00008  *
00009  * This program is free software; you can redistribute it and/or modify
00010  * it under the terms of the GNU General Public License as published by
00011  * the Free Software Foundation; either version 2 of the License, or
00012  * (at your option) any later version.
00013  *
00014  * This program is distributed in the hope that it will be useful,
00015  * but WITHOUT ANY WARRANTY; without even the implied warranty of
00016  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00017  * GNU General Public License for more details.
00018  *
00019  * You should have received a copy of the GNU General Public License
00020  * along with this program; if not, write to the Free Software
00021  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
00022  *****************************************************************************/
00023 
00024 #ifndef VLC_STRINGS_H
00025 #define VLC_STRINGS_H 1
00026 
00027 /**
00028  * \file
00029  * This file defines functions and structures handling misc strings
00030  */
00031 
00032 /**
00033  * \defgroup strings Strings
00034  * @{
00035  */
00036 
00037 VLC_EXPORT( void, resolve_xml_special_chars, ( char *psz_value ) );
00038 VLC_EXPORT( char *, convert_xml_special_chars, ( const char *psz_content ) );
00039 
00040 VLC_EXPORT( char *, vlc_b64_encode_binary, ( const uint8_t *, size_t ) );
00041 VLC_EXPORT( char *, vlc_b64_encode, ( const char * ) );
00042 
00043 VLC_EXPORT( size_t, vlc_b64_decode_binary_to_buffer, ( uint8_t *p_dst, size_t i_dst_max, const char *psz_src ) );
00044 VLC_EXPORT( size_t, vlc_b64_decode_binary, ( uint8_t **pp_dst, const char *psz_src ) );
00045 VLC_EXPORT( char *, vlc_b64_decode, ( const char *psz_src ) );
00046 
00047 VLC_EXPORT( char *, str_format_time, ( const char * ) );
00048 VLC_EXPORT( char *, str_format_meta, ( vlc_object_t *, const char * ) );
00049 #define str_format_meta( a, b ) str_format_meta( VLC_OBJECT( a ), b )
00050 VLC_EXPORT( char *, str_format, ( vlc_object_t *, const char * ) );
00051 #define str_format( a, b ) str_format( VLC_OBJECT( a ), b )
00052 
00053 VLC_EXPORT( void, filename_sanitize, ( char * ) );
00054 VLC_EXPORT( void, path_sanitize, ( char * ) );
00055 
00056 /**
00057  * @}
00058  */
00059 
00060 #endif

Generated on Mon Nov 22 07:55:20 2010 for VLC by  doxygen 1.5.6