Commit 5f018616 authored by Christophe Mutricy's avatar Christophe Mutricy

oups, better put the prototype before using the function

parent bca8455c
...@@ -44,6 +44,12 @@ typedef struct ...@@ -44,6 +44,12 @@ typedef struct
char *psz_buffer; /* to be freed */ char *psz_buffer; /* to be freed */
} vlc_url_t; } vlc_url_t;
VLC_EXPORT( char *, unescape_URI_duplicate, ( const char *psz ) );
VLC_EXPORT( void, unescape_URI, ( char *psz ) );
VLC_EXPORT( char *, decode_URI_duplicate, ( const char *psz ) );
VLC_EXPORT( void, decode_URI, ( char *psz ) );
VLC_EXPORT( char *, encode_URI_component, ( const char *psz ) );
/***************************************************************************** /*****************************************************************************
* vlc_UrlParse: * vlc_UrlParse:
***************************************************************************** *****************************************************************************
...@@ -188,11 +194,6 @@ static inline void vlc_UrlClean( vlc_url_t *url ) ...@@ -188,11 +194,6 @@ static inline void vlc_UrlClean( vlc_url_t *url )
url->psz_buffer = NULL; url->psz_buffer = NULL;
} }
VLC_EXPORT( char *, unescape_URI_duplicate, ( const char *psz ) );
VLC_EXPORT( void, unescape_URI, ( char *psz ) );
VLC_EXPORT( char *, decode_URI_duplicate, ( const char *psz ) );
VLC_EXPORT( void, decode_URI, ( char *psz ) );
VLC_EXPORT( char *, encode_URI_component, ( const char *psz ) );
static inline char *vlc_UrlEncode( const char *psz_url ) static inline char *vlc_UrlEncode( const char *psz_url )
{ {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment