<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> <title>SLV2: Utility functions</title> <link href="tabs.css" rel="stylesheet" type="text/css"/> <link href="doxygen.css" rel="stylesheet" type="text/css"/> </head> <body> <!-- Generated by Doxygen 1.7.1 --> <div class="navigation" id="top"> <div class="tabs"> <ul class="tablist"> <li><a href="index.html"><span>Main Page</span></a></li> <li><a href="modules.html"><span>Modules</span></a></li> <li><a href="files.html"><span>Files</span></a></li> </ul> </div> </div> <div class="header"> <div class="summary"> <a href="#func-members">Functions</a> </div> <div class="headertitle"> <h1>Utility functions</h1> </div> </div> <div class="contents"> <table class="memberdecls"> <tr><td colspan="2"><h2><a name="func-members"></a> Functions</h2></td></tr> <tr><td class="memItemLeft" align="right" valign="top">const char * </td><td class="memItemRight" valign="bottom"><a class="el" href="group__slv2__util.html#ga64d4bf4b768b9cdaf42d0820be5683e1">slv2_uri_to_path</a> (const char *uri)</td></tr> </table> <hr/><h2>Function Documentation</h2> <a class="anchor" id="ga64d4bf4b768b9cdaf42d0820be5683e1"></a><!-- doxytag: member="util.h::slv2_uri_to_path" ref="ga64d4bf4b768b9cdaf42d0820be5683e1" args="(const char *uri)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">const char* slv2_uri_to_path </td> <td>(</td> <td class="paramtype">const char * </td> <td class="paramname"> <em>uri</em></td> <td> ) </td> <td></td> </tr> </table> </div> <div class="memdoc"> <p>Convert a full URI (eg <a href="file://foo/bar/baz.ttl">file://foo/bar/baz.ttl</a>) to a local path (e.g. </p> <p>/foo/bar/baz.ttl).</p> <p>Return value is shared and must not be deleted by caller. </p> <dl class="return"><dt><b>Returns:</b></dt><dd><em>uri</em> converted to a path, or NULL on failure (URI is not local). </dd></dl> </div> </div> </div> <hr size="1"><address style="text-align: right;"><small> Generated for SLV2 by <a href="http://www.doxygen.org/ index.html"><img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.7.1</small></address> </body> </html>