Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Open sidebar
Gautam Chitnis
web-ui-redesign
Commits
299ef0c0
Commit
299ef0c0
authored
Apr 06, 2006
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Oups
parent
73508ddd
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
5 deletions
+5
-5
include/vlc_symbols.h
include/vlc_symbols.h
+3
-3
include/vlc_url.h
include/vlc_url.h
+2
-2
No files found.
include/vlc_symbols.h
View file @
299ef0c0
...
...
@@ -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
...
...
@@ -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.
...
...
@@ -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; \
...
...
include/vlc_url.h
View file @
299ef0c0
...
...
@@ -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
);
}
/*****************************************************************************
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment