SLV2 0.6.6

- Main Page
- Modules
- Files

- File List

util.h
1 /* SLV2
2 * Copyright (C) 2007-2009 Dave Robillard <http://drobilla.net>
3 *
4 * This library is free software; you can redistribute it and/or modify it
5 * under the terms of the GNU General Public License as published by the Free
6 * Software Foundation; either version 2 of the License, or (at your option)
7 * any later version.
8 *
9 * This library is distributed in the hope that it will be useful, but WITHOUT
10 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
11 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
12 * for more details.
13 *
14 * You should have received a copy of the GNU General Public License along
15 * with this program; if not, write to the Free Software Foundation, Inc.,
16 * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
17 */
18
19 #ifndef __SLV2_UTIL_H__
20 #define __SLV2_UTIL_H__
21
22 #ifdef __cplusplus
23 extern "C" {
24 #endif
25
26 #include <stdarg.h>
27
28
40 const char* slv2_uri_to_path(const char* uri);
41
42
45 #ifdef __cplusplus
46 } /* extern "C" */
47 #endif
48
49 #endif /* __SLV2_UTIL_H__ */
50
slv2_uri_to_path
const char * slv2_uri_to_path(const char *uri)
Convert a full URI (eg file://foo/bar/baz.ttl) to a local path (e.g.