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
4c7bfa51
Commit
4c7bfa51
authored
Nov 07, 2009
by
Max Kellermann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
uri: added function attributes
Let gcc optimize a little bit more.
parent
f9218423
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
0 deletions
+5
-0
uri.h
src/uri.h
+5
-0
No files found.
src/uri.h
View file @
4c7bfa51
...
...
@@ -20,14 +20,18 @@
#ifndef MPD_URI_H
#define MPD_URI_H
#include <glib.h>
#include <stdbool.h>
/**
* Checks whether the specified URI has a schema in the form
* "scheme://".
*/
G_GNUC_PURE
bool
uri_has_scheme
(
const
char
*
uri
);
G_GNUC_PURE
const
char
*
uri_get_suffix
(
const
char
*
uri
);
...
...
@@ -37,6 +41,7 @@ uri_get_suffix(const char *uri);
* NULL if nothing needs to be removed, or if the URI is not
* recognized.
*/
G_GNUC_MALLOC
char
*
uri_remove_auth
(
const
char
*
uri
);
...
...
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