Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-1.1
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc-1.1
Commits
8d5ae441
Commit
8d5ae441
authored
Oct 05, 2008
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Another useless parameter
parent
fefeb5ea
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
12 additions
and
16 deletions
+12
-16
include/vlc_modules.h
include/vlc_modules.h
+0
-9
src/libvlc.h
src/libvlc.h
+9
-1
src/libvlccore.sym
src/libvlccore.sym
+0
-1
src/modules/modules.c
src/modules/modules.c
+2
-4
src/playlist/services_discovery.c
src/playlist/services_discovery.c
+1
-1
No files found.
include/vlc_modules.h
View file @
8d5ae441
...
...
@@ -45,15 +45,6 @@ VLC_EXPORT( void, module_release, (module_t *module) );
VLC_EXPORT
(
void
,
module_list_free
,
(
module_t
**
)
);
VLC_EXPORT
(
module_t
**
,
module_list_get
,
(
size_t
*
n
)
);
/* Return a NULL terminated array with the names of the modules that have a
* certain capability.
* Free after uses both the string and the table. */
#define module_GetModulesNamesForCapability(a,b,c) \
__module_GetModulesNamesForCapability(VLC_OBJECT(a),b,c)
VLC_EXPORT
(
char
**
,
__module_GetModulesNamesForCapability
,
(
vlc_object_t
*
p_this
,
const
char
*
psz_capability
,
char
***
psz_longname
)
);
VLC_EXPORT
(
bool
,
module_provides
,
(
const
module_t
*
m
,
const
char
*
cap
)
);
VLC_EXPORT
(
const
char
*
,
module_get_object
,
(
const
module_t
*
m
)
);
VLC_EXPORT
(
const
char
*
,
module_get_name
,
(
const
module_t
*
m
,
bool
long_name
)
);
...
...
src/libvlc.h
View file @
8d5ae441
...
...
@@ -140,9 +140,17 @@ __vlc_custom_create (vlc_object_t *p_this, size_t i_size, int i_type,
#define vlc_custom_create(o, s, t, n) \
__vlc_custom_create(VLC_OBJECT(o), s, t, n)
/*
* To be cleaned-up module stuff:
*/
extern
char
*
psz_vlcpath
;
/* Return a NULL terminated array with the names of the modules that have a
* certain capability.
* Free after uses both the string and the table. */
VLC_EXPORT
(
char
**
,
module_GetModulesNamesForCapability
,
(
const
char
*
psz_capability
,
char
***
psz_longname
)
);
#ifdef LIBVLC_USE_PTHREAD
# include <semaphore.h>
/* TODO: get rid of vlc_thread_ready and this */
#endif
...
...
src/libvlccore.sym
View file @
8d5ae441
...
...
@@ -210,7 +210,6 @@ module_config_get
module_exists
module_find
module_get_help
__module_GetModulesNamesForCapability
module_get_name
module_get_object
module_hold
...
...
src/modules/modules.c
View file @
8d5ae441
...
...
@@ -706,15 +706,13 @@ bool module_exists (const char * psz_name)
* Return a NULL terminated array with the names of the modules
* that have a certain capability.
* Free after uses both the string and the table.
* \param p_this vlc object structure
* \param psz_capability the capability asked
* \param pppsz_longname an pointer to an array of string to contain
the long names of the modules. If set to NULL the function don't use it.
* \return the NULL terminated array
*/
char
**
__module_GetModulesNamesForCapability
(
vlc_object_t
*
p_this
,
const
char
*
psz_capability
,
char
***
pppsz_longname
)
char
**
module_GetModulesNamesForCapability
(
const
char
*
psz_capability
,
char
***
pppsz_longname
)
{
size_t
count
=
0
;
char
**
psz_ret
;
...
...
src/playlist/services_discovery.c
View file @
8d5ae441
...
...
@@ -47,7 +47,7 @@ static void services_discovery_Destructor ( services_discovery_t * p_sd );
char
**
__services_discovery_GetServicesNames
(
vlc_object_t
*
p_super
,
char
***
pppsz_longnames
)
{
return
module_GetModulesNamesForCapability
(
p_super
,
"services_discovery"
,
return
module_GetModulesNamesForCapability
(
"services_discovery"
,
pppsz_longnames
);
}
...
...
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