Skip to content

Commit

Permalink
Oups
Browse files Browse the repository at this point in the history
  • Loading branch information
Rémi Denis-Courmont committed Apr 6, 2006
1 parent 73508dd commit 299ef0c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions include/vlc_symbols.h
Original file line number Diff line number Diff line change
Expand Up @@ -490,7 +490,7 @@ struct module_symbols_t
int (*utf8_scandir_inner) (const char *dirname, char ***namelist, int (*select)( const char * ), int (*compar)( const char **, const char ** ));
char * (*decode_URI_duplicate_inner) (const char *psz);
void (*decode_URI_inner) (char *psz);
char * (*encode_URI_inner) (const char *psz);
char * (*encode_URI_component_inner) (const char *psz);
};
# if defined (__PLUGIN__)
# define aout_FiltersCreatePipeline (p_symbols)->aout_FiltersCreatePipeline_inner
Expand Down Expand Up @@ -961,7 +961,7 @@ struct module_symbols_t
# define utf8_scandir (p_symbols)->utf8_scandir_inner
# define decode_URI_duplicate (p_symbols)->decode_URI_duplicate_inner
# define decode_URI (p_symbols)->decode_URI_inner
# define encode_URI (p_symbols)->encode_URI_inner
# define encode_URI_component (p_symbols)->encode_URI_component_inner
# elif defined (HAVE_DYNAMIC_PLUGINS) && !defined (__BUILTIN__)
/******************************************************************
* STORE_SYMBOLS: store VLC APIs into p_symbols for plugin access.
Expand Down Expand Up @@ -1435,7 +1435,7 @@ struct module_symbols_t
((p_symbols)->utf8_scandir_inner) = utf8_scandir; \
((p_symbols)->decode_URI_duplicate_inner) = decode_URI_duplicate; \
((p_symbols)->decode_URI_inner) = decode_URI; \
((p_symbols)->encode_URI_inner) = encode_URI; \
((p_symbols)->encode_URI_component_inner) = encode_URI_component; \
(p_symbols)->net_ConvertIPv4_deprecated = NULL; \
(p_symbols)->__stats_CounterGet_deprecated = NULL; \
(p_symbols)->__stats_TimerDumpAll_deprecated = NULL; \
Expand Down
4 changes: 2 additions & 2 deletions include/vlc_url.h
Original file line number Diff line number Diff line change
Expand Up @@ -173,12 +173,12 @@ 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, ( const char *psz ) );
VLC_EXPORT( char *, encode_URI_component, ( const char *psz ) );

static inline char *vlc_UrlEncode( const char *psz_url )
{
/* FIXME: do not encode / : ? and & _when_ not needed */
return encode_URI( psz_url );
return encode_URI_component( psz_url );
}

/*****************************************************************************
Expand Down

0 comments on commit 299ef0c

Please sign in to comment.