Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
mpd
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Иван Мажукин
mpd
Commits
6f28eb4c
Commit
6f28eb4c
authored
May 31, 2010
by
Max Kellermann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
playlist_list: export playlist_suffix_supported()
parent
caf93d9a
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
1 deletion
+10
-1
playlist_list.c
src/playlist_list.c
+1
-1
playlist_list.h
src/playlist_list.h
+9
-0
No files found.
src/playlist_list.c
View file @
6f28eb4c
...
...
@@ -267,7 +267,7 @@ playlist_list_open_stream(struct input_stream *is, const char *uri)
return
NULL
;
}
static
bool
bool
playlist_suffix_supported
(
const
char
*
suffix
)
{
assert
(
suffix
!=
NULL
);
...
...
src/playlist_list.h
View file @
6f28eb4c
...
...
@@ -20,6 +20,8 @@
#ifndef MPD_PLAYLIST_LIST_H
#define MPD_PLAYLIST_LIST_H
#include <stdbool.h>
struct
playlist_provider
;
struct
input_stream
;
...
...
@@ -52,6 +54,13 @@ struct playlist_provider *
playlist_list_open_stream
(
struct
input_stream
*
is
,
const
char
*
uri
);
/**
* Determines if there is a playlist plugin which can handle the
* specified file name suffix.
*/
bool
playlist_suffix_supported
(
const
char
*
suffix
);
/**
* Opens a playlist from a local file.
*
* @param path_fs the path of the playlist file
...
...
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