Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
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
Commits
ed9a75a9
Commit
ed9a75a9
authored
Aug 24, 2007
by
Pierre d'Herbemont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
playlist/services_discovery.c: Implement and expose GetServicesNames.
parent
dcfc9361
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
3 deletions
+12
-3
include/vlc_playlist.h
include/vlc_playlist.h
+4
-3
src/playlist/services_discovery.c
src/playlist/services_discovery.c
+8
-0
No files found.
include/vlc_playlist.h
View file @
ed9a75a9
...
...
@@ -415,9 +415,10 @@ VLC_EXPORT( playlist_item_t *, playlist_GetLastLeaf, ( playlist_t *p_playlist, p
/***********************************************************************
* Service Discovery
***********************************************************************/
/* XXX: no need to inline */
/* XXX: no need to inline */
/* Return the number of services_discovery available */
/* Get the services discovery modules names to use in Create(), in a null
* terminated string array. Array and string must be freed after use. */
VLC_EXPORT
(
char
**
,
services_discovery_GetServicesNames
,
(
vlc_object_t
*
p_super
)
);
/* Creation of a service_discovery object */
VLC_EXPORT
(
services_discovery_t
*
,
services_discovery_Create
,
(
vlc_object_t
*
p_super
,
const
char
*
psz_service_name
)
);
...
...
src/playlist/services_discovery.c
View file @
ed9a75a9
...
...
@@ -34,6 +34,14 @@ static void RunSD( services_discovery_t *p_sd );
* That's how the playlist get's Service Discovery information
*/
/***********************************************************************
* GetServicesNames
***********************************************************************/
char
**
services_discovery_GetServicesNames
(
vlc_object_t
*
p_super
)
{
return
module_GetModulesNamesForCapability
(
p_super
,
"services_discovery"
);
}
/***********************************************************************
* Create
***********************************************************************/
...
...
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