Sophie

Sophie

distrib > CentOS > 5 > x86_64 > by-pkgid > 67e32647b06c0323bf90c6b54a6438d1 > files > 660

rpm-apidocs-4.4.2.3-34.el5.x86_64.rpm

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
<title>rpm: rpmio/rpmurl.h Source File</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
<link href="tabs.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Generated by Doxygen 1.4.7 -->
<div class="tabs">
  <ul>
    <li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
    <li><a href="modules.html"><span>Modules</span></a></li>
    <li><a href="annotated.html"><span>Data&nbsp;Structures</span></a></li>
    <li id="current"><a href="files.html"><span>Files</span></a></li>
    <li><a href="pages.html"><span>Related&nbsp;Pages</span></a></li>
  </ul></div>
<div class="tabs">
  <ul>
    <li><a href="files.html"><span>File&nbsp;List</span></a></li>
    <li><a href="globals.html"><span>Globals</span></a></li>
  </ul></div>
<h1>rpmio/rpmurl.h</h1><a href="rpmurl_8h.html">Go to the documentation of this file.</a><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="preprocessor">#ifndef H_RPMURL</span>
<a name="l00002"></a>00002 <span class="preprocessor"></span><span class="preprocessor">#define H_RPMURL</span>
<a name="l00003"></a>00003 <span class="preprocessor"></span>
<a name="l00008"></a>00008 <span class="preprocessor">#include &lt;assert.h&gt;</span>
<a name="l00009"></a>00009 
<a name="l00013"></a><a class="code" href="rpmurl_8h.html#3c0dd3c42784390f1b3102ededcf5f56">00013</a> <span class="keyword">typedef</span> <span class="keyword">enum</span> <a class="code" href="rpmurl_8h.html#3c0dd3c42784390f1b3102ededcf5f56">urltype_e</a> {
<a name="l00014"></a>00014     <a class="code" href="rpmurl_8h.html#3c0dd3c42784390f1b3102ededcf5f56adafeb790bb74bf766bea5fdde6e0e1c">URL_IS_UNKNOWN</a>      = 0,    
<a name="l00015"></a>00015     <a class="code" href="rpmurl_8h.html#3c0dd3c42784390f1b3102ededcf5f5665ce47b498e38dfe851d350107b86cb0">URL_IS_DASH</a>         = 1,    
<a name="l00016"></a>00016     <a class="code" href="rpmurl_8h.html#3c0dd3c42784390f1b3102ededcf5f56b83b361a4814f376a40035d5b837d66f">URL_IS_PATH</a>         = 2,    
<a name="l00017"></a>00017     <a class="code" href="rpmurl_8h.html#3c0dd3c42784390f1b3102ededcf5f5673c9c198188c069b467ce593d9413475">URL_IS_FTP</a>          = 3,    
<a name="l00018"></a>00018     <a class="code" href="rpmurl_8h.html#3c0dd3c42784390f1b3102ededcf5f569cec1f8f01bd18cbe16cef81830fd95f">URL_IS_HTTP</a>         = 4,    
<a name="l00019"></a>00019     <a class="code" href="rpmurl_8h.html#3c0dd3c42784390f1b3102ededcf5f5654350c4a233015b91be84a91e51bbb49">URL_IS_HTTPS</a>        = 5,    
<a name="l00020"></a><a class="code" href="rpmurl_8h.html#3c0dd3c42784390f1b3102ededcf5f56e3410c399bbd830783bb877d1a55eaad">00020</a>     <a class="code" href="rpmurl_8h.html#3c0dd3c42784390f1b3102ededcf5f56e3410c399bbd830783bb877d1a55eaad">URL_IS_HKP</a>          = 6     
<a name="l00021"></a>00021 } <a class="code" href="rpmurl_8h.html#f753e186e255690310ecbf9cf1aa0ddd">urltype</a>;
<a name="l00022"></a>00022 
<a name="l00023"></a><a class="code" href="rpmurl_8h.html#523ae3824bad3c2ed4dc94a15fbceef2">00023</a> <span class="preprocessor">#define URLMAGIC        0xd00b1ed0</span>
<a name="l00024"></a><a class="code" href="rpmurl_8h.html#32527eae11c63874e12a56bd43a0749a">00024</a> <span class="preprocessor"></span><span class="preprocessor">#define URLSANE(u)      assert(u &amp;&amp; u-&gt;magic == URLMAGIC)</span>
<a name="l00025"></a>00025 <span class="preprocessor"></span>
<a name="l00026"></a><a class="code" href="rpmurl_8h.html#3270686440edc57319ce52e4cc79a50c">00026</a> <span class="keyword">typedef</span> <span class="comment">/*@abstract@*/</span> <span class="comment">/*@refcounted@*/</span> <span class="keyword">struct </span><a class="code" href="structurlinfo__s.html">urlinfo_s</a> * <a class="code" href="structurlinfo__s.html">urlinfo</a>;
<a name="l00027"></a>00027 
<a name="l00031"></a><a class="code" href="structurlinfo__s.html">00031</a> <span class="keyword">struct </span><a class="code" href="structurlinfo__s.html">urlinfo_s</a> {
<a name="l00032"></a><a class="code" href="structurlinfo__s.html#e018ca08dde7501f43dbcf7d761943a0">00032</a> <span class="comment">/*@refs@*/</span> <span class="keywordtype">int</span> <a class="code" href="structurlinfo__s.html#e018ca08dde7501f43dbcf7d761943a0">nrefs</a>;           
<a name="l00033"></a>00033 <span class="comment">/*@owned@*/</span> <span class="comment">/*@relnull@*/</span>
<a name="l00034"></a><a class="code" href="structurlinfo__s.html#f287763cb2d30db7769e2296d427baf3">00034</a>     <span class="keyword">const</span> <span class="keywordtype">char</span> * <a class="code" href="structurlinfo__s.html#f287763cb2d30db7769e2296d427baf3">url</a>;           
<a name="l00035"></a>00035 <span class="comment">/*@owned@*/</span> <span class="comment">/*@relnull@*/</span>
<a name="l00036"></a><a class="code" href="structurlinfo__s.html#8a59524af4b7c9da89a59fa7ddc53a18">00036</a>     <span class="keyword">const</span> <span class="keywordtype">char</span> * <a class="code" href="structurlinfo__s.html#8a59524af4b7c9da89a59fa7ddc53a18">scheme</a>;        
<a name="l00037"></a>00037 <span class="comment">/*@owned@*/</span> <span class="comment">/*@null@*/</span>
<a name="l00038"></a><a class="code" href="structurlinfo__s.html#89177e07beab823d7a384429aa918db3">00038</a>     <span class="keyword">const</span> <span class="keywordtype">char</span> * <a class="code" href="structurlinfo__s.html#89177e07beab823d7a384429aa918db3">user</a>;          
<a name="l00039"></a>00039 <span class="comment">/*@owned@*/</span> <span class="comment">/*@null@*/</span>
<a name="l00040"></a><a class="code" href="structurlinfo__s.html#a51aaff5ba6d139cab3145691e765dcc">00040</a>     <span class="keyword">const</span> <span class="keywordtype">char</span> * <a class="code" href="structurlinfo__s.html#a51aaff5ba6d139cab3145691e765dcc">password</a>;      
<a name="l00041"></a>00041 <span class="comment">/*@owned@*/</span> <span class="comment">/*@relnull@*/</span>
<a name="l00042"></a><a class="code" href="structurlinfo__s.html#b0e076dcb82d0df6f05b41895200205b">00042</a>     <span class="keyword">const</span> <span class="keywordtype">char</span> * <a class="code" href="structurlinfo__s.html#b0e076dcb82d0df6f05b41895200205b">host</a>;          
<a name="l00043"></a>00043 <span class="comment">/*@owned@*/</span> <span class="comment">/*@null@*/</span>
<a name="l00044"></a><a class="code" href="structurlinfo__s.html#9b7afae90555d07e5450be9b96fd95ae">00044</a>     <span class="keyword">const</span> <span class="keywordtype">char</span> * <a class="code" href="structurlinfo__s.html#9b7afae90555d07e5450be9b96fd95ae">portstr</a>;       
<a name="l00045"></a>00045 <span class="comment">/*@owned@*/</span> <span class="comment">/*@null@*/</span>
<a name="l00046"></a><a class="code" href="structurlinfo__s.html#7ce776712cd7b96ee39dbb2a8252dfe9">00046</a>     <span class="keyword">const</span> <span class="keywordtype">char</span> * <a class="code" href="structurlinfo__s.html#7ce776712cd7b96ee39dbb2a8252dfe9">proxyu</a>;        
<a name="l00047"></a>00047 <span class="comment">/*@owned@*/</span> <span class="comment">/*@null@*/</span>
<a name="l00048"></a><a class="code" href="structurlinfo__s.html#82e8c455c9f28f221759e9e69e14a74a">00048</a>     <span class="keyword">const</span> <span class="keywordtype">char</span> * <a class="code" href="structurlinfo__s.html#82e8c455c9f28f221759e9e69e14a74a">proxyh</a>;        
<a name="l00049"></a><a class="code" href="structurlinfo__s.html#667b471245379f69d16d59b867e4d586">00049</a>     <span class="keywordtype">int</span> <a class="code" href="structurlinfo__s.html#667b471245379f69d16d59b867e4d586">proxyp</a>;                 
<a name="l00050"></a><a class="code" href="structurlinfo__s.html#db6967bc3da37b24721ee88eae229dc6">00050</a>     <span class="keywordtype">int</span> <a class="code" href="structurlinfo__s.html#db6967bc3da37b24721ee88eae229dc6">port</a>;                   
<a name="l00051"></a><a class="code" href="structurlinfo__s.html#89ae3670e5d6ac7de9f3bd2e9c59e6a8">00051</a>     <span class="keywordtype">int</span> <a class="code" href="structurlinfo__s.html#89ae3670e5d6ac7de9f3bd2e9c59e6a8">urltype</a>;                
<a name="l00052"></a><a class="code" href="structurlinfo__s.html#152a2cfe0ecf6fe7ea69d2df82d09e70">00052</a>     <a class="code" href="struct__FD__s.html">FD_t</a> <a class="code" href="structurlinfo__s.html#152a2cfe0ecf6fe7ea69d2df82d09e70">ctrl</a>;                  
<a name="l00053"></a><a class="code" href="structurlinfo__s.html#68aad81ee19b308ff43831e5779fbb02">00053</a>     <a class="code" href="struct__FD__s.html">FD_t</a> <a class="code" href="structurlinfo__s.html#68aad81ee19b308ff43831e5779fbb02">data</a>;                  
<a name="l00055"></a>00055 <span class="comment">/*@relnull@*/</span>
<a name="l00056"></a><a class="code" href="structurlinfo__s.html#317c2df1aab9a428ecd42c91b5b4e25f">00056</a>     <span class="keywordtype">void</span> * <a class="code" href="structurlinfo__s.html#317c2df1aab9a428ecd42c91b5b4e25f">capabilities</a>;        
<a name="l00057"></a>00057 <span class="comment">/*@relnull@*/</span>
<a name="l00058"></a><a class="code" href="structurlinfo__s.html#e007b9202bcf8a744b2f564614d43bd8">00058</a>     <span class="keywordtype">void</span> * <a class="code" href="structurlinfo__s.html#e007b9202bcf8a744b2f564614d43bd8">lockstore</a>;           
<a name="l00059"></a>00059 <span class="comment">/*@relnull@*/</span>
<a name="l00060"></a><a class="code" href="structurlinfo__s.html#eefdec75da8348c7b9fa81d4e8e6e3db">00060</a>     <span class="keywordtype">void</span> * <a class="code" href="structurlinfo__s.html#eefdec75da8348c7b9fa81d4e8e6e3db">sess</a>;                
<a name="l00061"></a><a class="code" href="structurlinfo__s.html#deeef35ff687d9ae2ba3e44567d9e5ca">00061</a>     off_t <a class="code" href="structurlinfo__s.html#deeef35ff687d9ae2ba3e44567d9e5ca">current</a>;              
<a name="l00062"></a><a class="code" href="structurlinfo__s.html#3df534295111c3a51710739effbd4460">00062</a>     off_t <a class="code" href="structurlinfo__s.html#3df534295111c3a51710739effbd4460">total</a>;                
<a name="l00063"></a><a class="code" href="structurlinfo__s.html#e56561460df2db2531b02968d7ec4f6b">00063</a>     <span class="keywordtype">int</span> <a class="code" href="structurlinfo__s.html#e56561460df2db2531b02968d7ec4f6b">connstatus</a>;             
<a name="l00064"></a>00064 <span class="preprocessor">#ifdef  REFERENCE</span>
<a name="l00065"></a>00065 <span class="preprocessor"></span><span class="keyword">typedef</span> <span class="keyword">enum</span> {
<a name="l00066"></a>00066     ne_conn_namelookup, <span class="comment">/* lookup up hostname (info = hostname) */</span>
<a name="l00067"></a>00067     ne_conn_connecting, <span class="comment">/* connecting to host (info = hostname) */</span>
<a name="l00068"></a>00068     ne_conn_connected,  <span class="comment">/* connected to host (info = hostname) */</span>
<a name="l00069"></a>00069     ne_conn_secure      <span class="comment">/* connection now secure (info = crypto level) */</span>
<a name="l00070"></a>00070 } ne_conn_status;
<a name="l00071"></a>00071 <span class="preprocessor">#endif</span>
<a name="l00072"></a>00072 <span class="preprocessor"></span>
<a name="l00073"></a><a class="code" href="structurlinfo__s.html#8c29ae4f49237a984a9eec70985f262d">00073</a>     <span class="keywordtype">int</span> <a class="code" href="structurlinfo__s.html#8c29ae4f49237a984a9eec70985f262d">bufAlloced</a>;             
<a name="l00074"></a>00074 <span class="comment">/*@owned@*/</span>
<a name="l00075"></a><a class="code" href="structurlinfo__s.html#eda4c8e518d1ecd33a018756ca2586fb">00075</a>     <span class="keywordtype">char</span> * <a class="code" href="structurlinfo__s.html#eda4c8e518d1ecd33a018756ca2586fb">buf</a>;                 
<a name="l00076"></a><a class="code" href="structurlinfo__s.html#0a106d7ee9535ed95fdc398123cf0506">00076</a>     <span class="keywordtype">int</span> <a class="code" href="structurlinfo__s.html#0a106d7ee9535ed95fdc398123cf0506">openError</a>;              
<a name="l00077"></a><a class="code" href="structurlinfo__s.html#28117a0c0de1f180fe1e1e4c1f6ae9ce">00077</a>     <span class="keywordtype">int</span> <a class="code" href="structurlinfo__s.html#28117a0c0de1f180fe1e1e4c1f6ae9ce">httpVersion</a>;
<a name="l00078"></a><a class="code" href="structurlinfo__s.html#91278da29c0455b705e3c497ee6dc098">00078</a>     <span class="keywordtype">int</span> <a class="code" href="structurlinfo__s.html#91278da29c0455b705e3c497ee6dc098">httpHasRange</a>;
<a name="l00079"></a><a class="code" href="structurlinfo__s.html#0e57226646a16f091f4d5d326e1e2877">00079</a>     <span class="keywordtype">int</span> <a class="code" href="structmagic.html">magic</a>;
<a name="l00080"></a>00080 };
<a name="l00081"></a>00081 
<a name="l00082"></a>00082 <span class="preprocessor">#ifdef __cplusplus</span>
<a name="l00083"></a>00083 <span class="preprocessor"></span><span class="keyword">extern</span> <span class="stringliteral">"C"</span> {
<a name="l00084"></a>00084 <span class="preprocessor">#endif</span>
<a name="l00085"></a>00085 <span class="preprocessor"></span>
<a name="l00086"></a>00086 <span class="comment">/*@unchecked@*/</span>
<a name="l00087"></a>00087 <span class="keyword">extern</span> <span class="keywordtype">int</span> <a class="code" href="rpmurl_8h.html#1dbb06af4ab8d8deca0bc966101d67ed">_url_count</a>;          
<a name="l00089"></a>00089 <span class="comment">/*@unchecked@*/</span>
<a name="l00090"></a>00090 <span class="comment">/*@only@*/</span> <span class="comment">/*@null@*/</span>
<a name="l00091"></a>00091 <span class="keyword">extern</span> <a class="code" href="rpmurl_8h.html#3270686440edc57319ce52e4cc79a50c">urlinfo</a> * <a class="code" href="rpmurl_8h.html#b408ccfcc8a6b128e6426a301862f1e3">_url_cache</a>;    
<a name="l00093"></a>00093 <span class="comment">/*@unchecked@*/</span>
<a name="l00094"></a>00094 <span class="keyword">extern</span> <span class="keywordtype">int</span> <a class="code" href="rpmurl_8h.html#7475fb0d3cbfd847d71234f8aff178a5">_url_iobuf_size</a>;     
<a name="l00095"></a><a class="code" href="rpmurl_8h.html#b45a95d022272c3f4ee1441d4334140a">00095</a> <span class="preprocessor">#define RPMURL_IOBUF_SIZE       4096</span>
<a name="l00096"></a>00096 <span class="preprocessor"></span>
<a name="l00097"></a>00097 <span class="comment">/*@unchecked@*/</span>
<a name="l00098"></a>00098 <span class="keyword">extern</span> <span class="keywordtype">int</span> <a class="code" href="rpmurl_8h.html#ec6b4b602f9910e0602ce221e20b40f7">_url_debug</a>;          
<a name="l00099"></a><a class="code" href="rpmurl_8h.html#138da64f542e953cea2e783d638b8e18">00099</a> <span class="preprocessor">#define RPMURL_DEBUG_IO         0x40000000</span>
<a name="l00100"></a><a class="code" href="rpmurl_8h.html#88ac7e7555928dc73d73f0136082fd4e">00100</a> <span class="preprocessor"></span><span class="preprocessor">#define RPMURL_DEBUG_REFS       0x20000000</span>
<a name="l00101"></a>00101 <span class="preprocessor"></span>
<a name="l00102"></a>00102 
<a name="l00108"></a>00108 <span class="comment">/*@unused@*/</span> <a class="code" href="rpmurl_8h.html#3270686440edc57319ce52e4cc79a50c">urlinfo</a>    <a class="code" href="rpmurl_8h.html#51095458c6a09144d806b67076b011c4">urlNew</a>(<span class="keyword">const</span> <span class="keywordtype">char</span> * msg)        <span class="comment">/*@*/</span>;
<a name="l00109"></a>00109 
<a name="l00111"></a>00111 <a class="code" href="rpmurl_8h.html#3270686440edc57319ce52e4cc79a50c">urlinfo</a> <a class="code" href="rpmurl_8h.html#a395a7a7c50777126d3e326d27991862">XurlNew</a>(<span class="keyword">const</span> <span class="keywordtype">char</span> * msg, <span class="keyword">const</span> <span class="keywordtype">char</span> * <a class="code" href="parseFiles_8c.html#f0baa3ccdd9d2a6adf03b72e2bea5789">file</a>, <span class="keywordtype">unsigned</span> line)     <span class="comment">/*@*/</span>;
<a name="l00112"></a><a class="code" href="rpmurl_8h.html#51095458c6a09144d806b67076b011c4">00112</a> <span class="preprocessor">#define urlNew(_msg) XurlNew(_msg, __FILE__, __LINE__)</span>
<a name="l00113"></a>00113 <span class="preprocessor"></span>
<a name="l00120"></a>00120 <span class="comment">/*@unused@*/</span> <a class="code" href="rpmurl_8h.html#3270686440edc57319ce52e4cc79a50c">urlinfo</a>    <a class="code" href="rpmurl_8h.html#758777dae745309c9515cbb9d57441f8">urlLink</a>(<a class="code" href="rpmurl_8h.html#3270686440edc57319ce52e4cc79a50c">urlinfo</a> u, <span class="keyword">const</span> <span class="keywordtype">char</span> * msg)
<a name="l00121"></a>00121         <span class="comment">/*@modifies u @*/</span>;
<a name="l00122"></a>00122 
<a name="l00124"></a>00124 <a class="code" href="rpmurl_8h.html#3270686440edc57319ce52e4cc79a50c">urlinfo</a> <a class="code" href="rpmurl_8h.html#8e74d75455c8eb3613f76dd70d3fee40">XurlLink</a>(<a class="code" href="rpmurl_8h.html#3270686440edc57319ce52e4cc79a50c">urlinfo</a> u, <span class="keyword">const</span> <span class="keywordtype">char</span> * msg, <span class="keyword">const</span> <span class="keywordtype">char</span> * <a class="code" href="parseFiles_8c.html#f0baa3ccdd9d2a6adf03b72e2bea5789">file</a>, <span class="keywordtype">unsigned</span> line)
<a name="l00125"></a>00125         <span class="comment">/*@modifies u @*/</span>;
<a name="l00126"></a><a class="code" href="rpmurl_8h.html#758777dae745309c9515cbb9d57441f8">00126</a> <span class="preprocessor">#define urlLink(_u, _msg) XurlLink(_u, _msg, __FILE__, __LINE__)</span>
<a name="l00127"></a>00127 <span class="preprocessor"></span>
<a name="l00134"></a>00134 <span class="comment">/*@unused@*/</span> <a class="code" href="rpmurl_8h.html#3270686440edc57319ce52e4cc79a50c">urlinfo</a>    <a class="code" href="rpmurl_8h.html#61b7cde9dbbadf55718dd3eb97e1b6d5">urlFree</a>( <span class="comment">/*@killref@*/</span> <a class="code" href="rpmurl_8h.html#3270686440edc57319ce52e4cc79a50c">urlinfo</a> u, <span class="keyword">const</span> <span class="keywordtype">char</span> * msg)
<a name="l00135"></a>00135         <span class="comment">/*@globals fileSystem, internalState @*/</span>
<a name="l00136"></a>00136         <span class="comment">/*@modifies u, fileSystem, internalState @*/</span>;
<a name="l00137"></a>00137 
<a name="l00139"></a>00139 <a class="code" href="rpmurl_8h.html#3270686440edc57319ce52e4cc79a50c">urlinfo</a> <a class="code" href="rpmurl_8h.html#1a24ee2a031326271d3af0bee74ed234">XurlFree</a>( <span class="comment">/*@killref@*/</span> <a class="code" href="rpmurl_8h.html#3270686440edc57319ce52e4cc79a50c">urlinfo</a> u, <span class="keyword">const</span> <span class="keywordtype">char</span> * msg,
<a name="l00140"></a>00140                 <span class="keyword">const</span> <span class="keywordtype">char</span> * <a class="code" href="parseFiles_8c.html#f0baa3ccdd9d2a6adf03b72e2bea5789">file</a>, <span class="keywordtype">unsigned</span> line)
<a name="l00141"></a>00141         <span class="comment">/*@globals fileSystem, internalState @*/</span>
<a name="l00142"></a>00142         <span class="comment">/*@modifies u, fileSystem, internalState @*/</span>;
<a name="l00143"></a><a class="code" href="rpmurl_8h.html#61b7cde9dbbadf55718dd3eb97e1b6d5">00143</a> <span class="preprocessor">#define urlFree(_u, _msg) XurlFree(_u, _msg, __FILE__, __LINE__)</span>
<a name="l00144"></a>00144 <span class="preprocessor"></span>
<a name="l00148"></a>00148 <span class="keywordtype">void</span> <a class="code" href="rpmurl_8h.html#cdf227d7274d7c6bae231c680dd877d5">urlFreeCache</a>(<span class="keywordtype">void</span>)
<a name="l00149"></a>00149         <span class="comment">/*@globals _url_cache, _url_count, fileSystem, internalState @*/</span>
<a name="l00150"></a>00150         <span class="comment">/*@modifies _url_cache, _url_count, fileSystem, internalState @*/</span>;
<a name="l00151"></a>00151 
<a name="l00157"></a>00157 <a class="code" href="rpmurl_8h.html#f753e186e255690310ecbf9cf1aa0ddd">urltype</a> <a class="code" href="rpmurl_8h.html#22b100d54b531488e82c40551e60a065">urlIsURL</a>(<span class="keyword">const</span> <span class="keywordtype">char</span> * url)
<a name="l00158"></a>00158         <span class="comment">/*@*/</span>;
<a name="l00159"></a>00159 
<a name="l00166"></a>00166 <span class="comment">/*@-incondefs@*/</span>
<a name="l00167"></a>00167 <a class="code" href="rpmurl_8h.html#f753e186e255690310ecbf9cf1aa0ddd">urltype</a> <a class="code" href="rpmurl_8h.html#a53d11202529a428d1211701c7693c7b">urlPath</a>(<span class="keyword">const</span> <span class="keywordtype">char</span> * url, <span class="comment">/*@out@*/</span> <span class="keyword">const</span> <span class="keywordtype">char</span> ** pathp)
<a name="l00168"></a>00168         <span class="comment">/*@ensures maxSet(*pathp) == 0 /\ maxRead(*pathp) == 0 @*/</span>
<a name="l00169"></a>00169         <span class="comment">/*@modifies *pathp @*/</span>;
<a name="l00170"></a>00170 <span class="comment">/*@=incondefs@*/</span>
<a name="l00171"></a>00171 
<a name="l00178"></a>00178 <span class="keywordtype">int</span> <a class="code" href="rpmurl_8h.html#eb7878da31b0cba7f4517b61f176425a">urlSplit</a>(<span class="keyword">const</span> <span class="keywordtype">char</span> * url, <span class="comment">/*@out@*/</span> <a class="code" href="rpmurl_8h.html#3270686440edc57319ce52e4cc79a50c">urlinfo</a> * uret)
<a name="l00179"></a>00179         <span class="comment">/*@globals h_errno, internalState @*/</span>
<a name="l00180"></a>00180         <span class="comment">/*@modifies *uret, internalState @*/</span>;
<a name="l00181"></a>00181 
<a name="l00188"></a>00188 <span class="keywordtype">int</span> <a class="code" href="rpmurl_8h.html#db6ec7dec93aed32774209a954cef0fe">urlGetFile</a>(<span class="keyword">const</span> <span class="keywordtype">char</span> * url, <span class="comment">/*@null@*/</span> <span class="keyword">const</span> <span class="keywordtype">char</span> * dest)
<a name="l00189"></a>00189         <span class="comment">/*@globals h_errno, fileSystem, internalState @*/</span>
<a name="l00190"></a>00190         <span class="comment">/*@modifies fileSystem, internalState @*/</span>;
<a name="l00191"></a>00191 
<a name="l00192"></a>00192 <span class="preprocessor">#ifdef __cplusplus</span>
<a name="l00193"></a>00193 <span class="preprocessor"></span>}
<a name="l00194"></a>00194 <span class="preprocessor">#endif</span>
<a name="l00195"></a>00195 <span class="preprocessor"></span>
<a name="l00196"></a>00196 <span class="preprocessor">#endif  </span><span class="comment">/* H_RPMURL */</span>
</pre></div><hr size="1"><address style="align: right;"><small>Generated on 1 Oct 2013 for rpm by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.7 </small></address>
</body>
</html>