httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From j...@apache.org
Subject svn commit: r168155 [3/27] - in /httpd/site/trunk: docs/apreq/docs/libapreq2/ xdocs/apreq/docs/libapreq2/
Date Wed, 04 May 2005 17:40:16 GMT
Modified: httpd/site/trunk/docs/apreq/docs/libapreq2/apreq__cookie_8h-source.html
URL: http://svn.apache.org/viewcvs/httpd/site/trunk/docs/apreq/docs/libapreq2/apreq__cookie_8h-source.html?rev=168155&r1=168154&r2=168155&view=diff
==============================================================================
--- httpd/site/trunk/docs/apreq/docs/libapreq2/apreq__cookie_8h-source.html (original)
+++ httpd/site/trunk/docs/apreq/docs/libapreq2/apreq__cookie_8h-source.html Wed May  4 10:40:10
2005
@@ -1,7 +1,7 @@
 <html>
 <head>
   <link rel="stylesheet" type="text/css" href="dox.css" />
-  <title>libapreq2-2.04-dev: libapreq2: src/apreq_cookie.h Source File</title>

+  <title>libapreq2-2.05-dev: libapreq2: include/apreq_cookie.h Source File</title>

 </head>
 <body>
 <div id="page-header">
@@ -10,10 +10,12 @@
 <a href="http://httpd.apache.org/apreq/">Request Library Subproject</a></p>
 <p class="apache">Apache HTTP Server Request Library</p>
 <img alt="" src="feather.gif" /></div>
-<!-- Generated by Doxygen 1.3.8 -->
-<div class="qindex"><a class="qindex" href="index.html">Main&nbsp;Page</a>
| <a class="qindex" href="modules.html">Modules</a> | <a class="qindex" href="annotated.html">Data&nbsp;Structures</a>
| <a class="qindex" href="files.html">File&nbsp;List</a> | <a class="qindex"
href="functions.html">Data&nbsp;Fields</a> | <a class="qindex" href="globals.html">Globals</a>
| <a class="qindex" href="pages.html">Related&nbsp;Pages</a></div>
-<h1>src/apreq_cookie.h</h1><a href="apreq__cookie_8h.html">Go to the documentation
of this file.</a><pre class="fragment"><div>00001 <span class="comment">/*</span>
-00002 <span class="comment">**  Copyright 2003-2004  The Apache Software Foundation</span>
+<!-- Generated by Doxygen 1.4.2 -->
+<div class="qindex"><a class="qindex" href="index.html">Main&nbsp;Page</a>
| <a class="qindex" href="modules.html">Modules</a> | <a class="qindex" href="annotated.html">Data&nbsp;Structures</a>
| <a class="qindex" href="dirs.html">Directories</a> | <a class="qindex" href="files.html">File&nbsp;List</a>
| <a class="qindex" href="functions.html">Data&nbsp;Fields</a> | <a class="qindex"
href="globals.html">Globals</a> | <a class="qindex" href="pages.html">Related&nbsp;Pages</a></div>
+<div class="nav">
+<a class="el" href="dir_000000.html">include</a></div>
+<h1>apreq_cookie.h</h1><a href="apreq__cookie_8h.html">Go to the documentation
of this file.</a><div class="fragment"><pre class="fragment">00001 <span
class="comment">/*</span>
+00002 <span class="comment">**  Copyright 2003-2005  The Apache Software Foundation</span>
 00003 <span class="comment">**</span>
 00004 <span class="comment">**  Licensed under the Apache License, Version 2.0 (the
"License");</span>
 00005 <span class="comment">**  you may not use this file except in compliance with
the License.</span>
@@ -32,105 +34,112 @@
 00018 <span class="preprocessor"></span><span class="preprocessor">#define
APREQ_COOKIE_H</span>
 00019 <span class="preprocessor"></span>
 00020 <span class="preprocessor">#include "<a class="code" href="apreq_8h.html">apreq.h</a>"</span>
-00021 <span class="preprocessor">#include "<a class="codeRef" doxygen="apr.tag:http://apr.apache.org/docs/apr/"
href="http://apr.apache.org/docs/apr/apr__tables_8h.html">apr_tables.h</a>"</span>
+00021 <span class="preprocessor">#include "<a class="codeRef" doxygen="apr.tag:http://apr.apache.org/docs/apr/"
href="http://apr.apache.org/docs/apr/apr__time_8h.html">apr_time.h</a>"</span>
 00022 
 00023 <span class="preprocessor">#ifdef  __cplusplus</span>
 00024 <span class="preprocessor"></span><span class="keyword">extern</span>
<span class="stringliteral">"C"</span> {
 00025 <span class="preprocessor">#endif </span>
 00026 <span class="preprocessor"></span>
-<a name="l00044"></a><a class="code" href="structapreq__jar__t.html">00044</a>
<span class="keyword">typedef</span> <span class="keyword">struct </span><a
class="code" href="structapreq__jar__t.html">apreq_jar_t</a> {
-<a name="l00045"></a><a class="code" href="structapreq__jar__t.html#o0">00045</a>
    <a class="codeRef" doxygen="apr.tag:http://apr.apache.org/docs/apr/" href="http://apr.apache.org/docs/apr/apr__tables_8h.html#ga0">apr_table_t</a>
  *<a class="code" href="structapreq__jar__t.html#o0">cookies</a>;   
-<a name="l00046"></a><a class="code" href="structapreq__jar__t.html#o1">00046</a>
    <span class="keywordtype">void</span>          *<a class="code" href="structapreq__jar__t.html#o1">env</a>;
      
-<a name="l00047"></a><a class="code" href="structapreq__jar__t.html#o2">00047</a>
    <a class="codeRef" doxygen="apr.tag:http://apr.apache.org/docs/apr/" href="http://apr.apache.org/docs/apr/apr__errno_8h.html#ga0">apr_status_t</a>
 <a class="code" href="structapreq__jar__t.html#o2">status</a>;     
-00048 } <a class="code" href="structapreq__jar__t.html">apreq_jar_t</a>;
-00049 
-00050 
-<a name="l00061"></a><a class="code" href="apreq__cookie_8h.html#a25">00061</a>
<span class="keyword">typedef</span> <span class="keyword">enum</span>
{ APREQ_COOKIE_VERSION_NETSCAPE, 
-00062                APREQ_COOKIE_VERSION_RFC } <a class="code" href="apreq__cookie_8h.html#a25">apreq_cookie_version_t</a>;
-00063 
+<a name="l00047"></a><a class="code" href="apreq__cookie_8h.html#a0">00047</a>
<span class="preprocessor">#define APREQ_COOKIE_MAX_LENGTH            4096</span>
+00048 <span class="preprocessor"></span>
+<a name="l00052"></a><a class="code" href="structapreq__cookie__t.html">00052</a>
<span class="keyword">typedef</span> <span class="keyword">struct </span><a
class="code" href="structapreq__cookie__t.html">apreq_cookie_t</a> {
+00053 
+<a name="l00054"></a><a class="code" href="structapreq__cookie__t.html#o0">00054</a>
    <span class="keywordtype">char</span>           *<a class="code" href="structapreq__cookie__t.html#o0">path</a>;
       
+<a name="l00055"></a><a class="code" href="structapreq__cookie__t.html#o1">00055</a>
    <span class="keywordtype">char</span>           *<a class="code" href="structapreq__cookie__t.html#o1">domain</a>;
     
+<a name="l00056"></a><a class="code" href="structapreq__cookie__t.html#o2">00056</a>
    <span class="keywordtype">char</span>           *<a class="code" href="structapreq__cookie__t.html#o2">port</a>;
       
+<a name="l00057"></a><a class="code" href="structapreq__cookie__t.html#o3">00057</a>
    <span class="keywordtype">char</span>           *<a class="code" href="structapreq__cookie__t.html#o3">comment</a>;
    
+<a name="l00058"></a><a class="code" href="structapreq__cookie__t.html#o4">00058</a>
    <span class="keywordtype">char</span>           *<a class="code" href="structapreq__cookie__t.html#o4">commentURL</a>;
 
+<a name="l00059"></a><a class="code" href="structapreq__cookie__t.html#o5">00059</a>
    <a class="codeRef" doxygen="apr.tag:http://apr.apache.org/docs/apr/" href="http://apr.apache.org/docs/apr/group__apr__time.html#ga2">apr_time_t</a>
     <a class="code" href="structapreq__cookie__t.html#o5">max_age</a>;     
+<a name="l00060"></a><a class="code" href="structapreq__cookie__t.html#o6">00060</a>
    <span class="keywordtype">unsigned</span>        <a class="code" href="structapreq__cookie__t.html#o6">flags</a>;
      
+<a name="l00061"></a><a class="code" href="structapreq__cookie__t.html#o7">00061</a>
    <span class="keyword">const</span> <a class="code" href="structapreq__value__t.html">apreq_value_t</a>
  <a class="code" href="structapreq__cookie__t.html#o7">v</a>;     
+00063 } <a class="code" href="structapreq__cookie__t.html">apreq_cookie_t</a>;
 00064 
-<a name="l00066"></a><a class="code" href="apreq__cookie_8h.html#a0">00066</a>
<span class="preprocessor">#define APREQ_COOKIE_VERSION_DEFAULT       APREQ_COOKIE_VERSION_NETSCAPE</span>
-00067 <span class="preprocessor"></span>
-<a name="l00069"></a><a class="code" href="apreq__cookie_8h.html#a1">00069</a>
<span class="preprocessor">#define APREQ_COOKIE_MAX_LENGTH            4096</span>
-00070 <span class="preprocessor"></span>
-<a name="l00073"></a><a class="code" href="structapreq__cookie__t.html">00073</a>
<span class="keyword">typedef</span> <span class="keyword">struct </span><a
class="code" href="structapreq__cookie__t.html">apreq_cookie_t</a> {
-00074 
-<a name="l00075"></a><a class="code" href="structapreq__cookie__t.html#o0">00075</a>
    <a class="code" href="apreq__cookie_8h.html#a25">apreq_cookie_version_t</a>
<a class="code" href="structapreq__cookie__t.html#o0">version</a>; 
-<a name="l00077"></a><a class="code" href="structapreq__cookie__t.html#o1">00077</a>
    <span class="keywordtype">char</span>           *<a class="code" href="structapreq__cookie__t.html#o1">path</a>;
       
-<a name="l00078"></a><a class="code" href="structapreq__cookie__t.html#o2">00078</a>
    <span class="keywordtype">char</span>           *<a class="code" href="structapreq__cookie__t.html#o2">domain</a>;
     
-<a name="l00079"></a><a class="code" href="structapreq__cookie__t.html#o3">00079</a>
    <span class="keywordtype">char</span>           *<a class="code" href="structapreq__cookie__t.html#o3">port</a>;
       
-<a name="l00080"></a><a class="code" href="structapreq__cookie__t.html#o4">00080</a>
    <span class="keywordtype">unsigned</span>        <a class="code" href="structapreq__cookie__t.html#o4">secure</a>;
     
-<a name="l00081"></a><a class="code" href="structapreq__cookie__t.html#o5">00081</a>
    <span class="keywordtype">char</span>           *<a class="code" href="structapreq__cookie__t.html#o5">comment</a>;
    
-<a name="l00082"></a><a class="code" href="structapreq__cookie__t.html#o6">00082</a>
    <span class="keywordtype">char</span>           *<a class="code" href="structapreq__cookie__t.html#o6">commentURL</a>;
 
-<a name="l00083"></a><a class="code" href="structapreq__cookie__t.html#o7">00083</a>
    <a class="codeRef" doxygen="apr.tag:http://apr.apache.org/docs/apr/" href="http://apr.apache.org/docs/apr/apr__time_8h.html#ga2">apr_time_t</a>
     <a class="code" href="structapreq__cookie__t.html#o7">max_age</a>;     
-<a name="l00084"></a><a class="code" href="structapreq__cookie__t.html#o8">00084</a>
    <a class="code" href="structapreq__value__t.html">apreq_value_t</a>   <a
class="code" href="structapreq__cookie__t.html#o8">v</a>;           
-00086 } <a class="code" href="structapreq__cookie__t.html">apreq_cookie_t</a>;
-00087 
+00065 
+00067 <span class="keyword">static</span> <a class="codeRef" doxygen="apr.tag:http://apr.apache.org/docs/apr/"
href="http://apr.apache.org/docs/apr/group__apr__platform.html#ga11">APR_INLINE</a>
+<a name="l00068"></a><a class="code" href="apreq__cookie_8h.html#a2">00068</a>
<a class="code" href="structapreq__cookie__t.html">apreq_cookie_t</a> *<a class="code"
href="apreq__cookie_8h.html#a2">apreq_value_to_cookie</a>(<span class="keyword">const</span>
<span class="keywordtype">char</span> *val)
+00069 {
+00070     <span class="keyword">union </span>{ <span class="keyword">const</span>
<span class="keywordtype">char</span> *in; <span class="keywordtype">char</span>
*out; } deconst;
+00071 
+00072     deconst.in = val;
+00073     <span class="keywordflow">return</span> apreq_attr_to_type(<a class="code"
href="structapreq__cookie__t.html">apreq_cookie_t</a>, v,
+00074            apreq_attr_to_type(<a class="code" href="structapreq__value__t.html">apreq_value_t</a>,
data, deconst.out));
+00075 }
+00076 
+00078 <span class="keyword">static</span> <a class="codeRef" doxygen="apr.tag:http://apr.apache.org/docs/apr/"
href="http://apr.apache.org/docs/apr/group__apr__platform.html#ga11">APR_INLINE</a>
+<a name="l00079"></a><a class="code" href="apreq__cookie_8h.html#a3">00079</a>
<span class="keywordtype">unsigned</span> <a class="code" href="apreq__cookie_8h.html#a3">apreq_cookie_version</a>(<span
class="keyword">const</span> <a class="code" href="structapreq__cookie__t.html">apreq_cookie_t</a>
*c) {
+00080     <span class="keywordflow">return</span> APREQ_FLAGS_GET(c-&gt;<a
class="code" href="structapreq__cookie__t.html#o6">flags</a>, APREQ_COOKIE_VERSION);
+00081 }
+00082 
+00084 <span class="keyword">static</span> <a class="codeRef" doxygen="apr.tag:http://apr.apache.org/docs/apr/"
href="http://apr.apache.org/docs/apr/group__apr__platform.html#ga11">APR_INLINE</a>
+<a name="l00085"></a><a class="code" href="apreq__cookie_8h.html#a4">00085</a>
<span class="keywordtype">void</span> <a class="code" href="apreq__cookie_8h.html#a4">apreq_cookie_version_set</a>(<a
class="code" href="structapreq__cookie__t.html">apreq_cookie_t</a> *c, <span class="keywordtype">unsigned</span>
v) {
+00086     APREQ_FLAGS_SET(c-&gt;<a class="code" href="structapreq__cookie__t.html#o6">flags</a>,
APREQ_COOKIE_VERSION, v);
+00087 }
 00088 
-00089 <span class="preprocessor">#define apreq_value_to_cookie(ptr) apreq_attr_to_type(apreq_cookie_t,
\</span>
-00090 <span class="preprocessor">                                                 
    v, ptr)</span>
-00091 <span class="preprocessor"></span><span class="preprocessor">#define
apreq_cookie_name(c)  ((c)-&gt;v.name)</span>
-00092 <span class="preprocessor"></span><span class="preprocessor">#define
apreq_cookie_value(c) ((c)-&gt;v.data)</span>
-00093 <span class="preprocessor"></span>
-00094 <span class="preprocessor">#define apreq_jar_items(j) apr_table_elts(j-&gt;cookies)-&gt;nelts</span>
-00095 <span class="preprocessor"></span><span class="preprocessor">#define
apreq_jar_nelts(j) apr_table_elts(j-&gt;cookies)-&gt;nelts</span>
-00096 <span class="preprocessor"></span>
-00104 APREQ_DECLARE(<a class="code" href="structapreq__cookie__t.html">apreq_cookie_t</a>
*)apreq_cookie(const <a class="code" href="structapreq__jar__t.html">apreq_jar_t</a>
*jar,
-00105                                             const <span class="keywordtype">char</span>
*name);
-00106 
-00114 APREQ_DECLARE(<span class="keywordtype">void</span>) apreq_jar_add(<a
class="code" href="structapreq__jar__t.html">apreq_jar_t</a> *jar, 
-00115                                      const <a class="code" href="structapreq__cookie__t.html">apreq_cookie_t</a>
*c);
-00116 
-00117 #define apreq_add_cookie(j,c) apreq_jar_add(j,c)
-00118 
-00135 APREQ_DECLARE(<a class="code" href="structapreq__jar__t.html">apreq_jar_t</a>
*) apreq_jar(<span class="keywordtype">void</span> *env, const <span class="keywordtype">char</span>
*hdr);
-00136 
-00146 APREQ_DECLARE(<a class="code" href="structapreq__cookie__t.html">apreq_cookie_t</a>
*) apreq_cookie_make(<a class="codeRef" doxygen="apr.tag:http://apr.apache.org/docs/apr/"
href="http://apr.apache.org/docs/apr/apr__pools_8h.html#ga0">apr_pool_t</a> *pool,

-00147                                   const <span class="keywordtype">char</span>
*name, const <a class="codeRef" doxygen="apr.tag:http://apr.apache.org/docs/apr/" href="http://apr.apache.org/docs/apr/apr_8h.html#ga7">apr_size_t</a>
nlen, 
-00148                                   const <span class="keywordtype">char</span>
*value, const <a class="codeRef" doxygen="apr.tag:http://apr.apache.org/docs/apr/" href="http://apr.apache.org/docs/apr/apr_8h.html#ga7">apr_size_t</a>
vlen);
-00149 
-00150 #define apreq_make_cookie(p,n,nl,v,vl) apreq_cookie_make(p,n,nl,v,vl)
-00151 
-00163 APREQ_DECLARE(<a class="codeRef" doxygen="apr.tag:http://apr.apache.org/docs/apr/"
href="http://apr.apache.org/docs/apr/apr__errno_8h.html#ga0">apr_status_t</a>) 
-00164     apreq_cookie_attr(<a class="codeRef" doxygen="apr.tag:http://apr.apache.org/docs/apr/"
href="http://apr.apache.org/docs/apr/apr__pools_8h.html#ga0">apr_pool_t</a> *p, <a
class="code" href="structapreq__cookie__t.html">apreq_cookie_t</a> *c, 
-00165                       const <span class="keywordtype">char</span> *attr,
<a class="codeRef" doxygen="apr.tag:http://apr.apache.org/docs/apr/" href="http://apr.apache.org/docs/apr/apr_8h.html#ga7">apr_size_t</a>
alen,
-00166                       const <span class="keywordtype">char</span> *val,
<a class="codeRef" doxygen="apr.tag:http://apr.apache.org/docs/apr/" href="http://apr.apache.org/docs/apr/apr_8h.html#ga7">apr_size_t</a>
vlen);
-00167 
-00168 
-00176 APREQ_DECLARE(<span class="keywordtype">char</span>*) apreq_cookie_as_string(const
<a class="code" href="structapreq__cookie__t.html">apreq_cookie_t</a> *c,
-00177                                             <a class="codeRef" doxygen="apr.tag:http://apr.apache.org/docs/apr/"
href="http://apr.apache.org/docs/apr/apr__pools_8h.html#ga0">apr_pool_t</a> *p);
-00178 
-00179 
-00191 APREQ_DECLARE(<span class="keywordtype">int</span>) apreq_cookie_serialize(const
<a class="code" href="structapreq__cookie__t.html">apreq_cookie_t</a> *c,
-00192                                           <span class="keywordtype">char</span>
*buf, <a class="codeRef" doxygen="apr.tag:http://apr.apache.org/docs/apr/" href="http://apr.apache.org/docs/apr/apr_8h.html#ga7">apr_size_t</a>
len);
-00193 
-00194 #define apreq_serialize_cookie(buf,len,c) apreq_cookie_serialize(c,buf,len)
-00195 
-00207 APREQ_DECLARE(<span class="keywordtype">void</span>) apreq_cookie_expires(<a
class="code" href="structapreq__cookie__t.html">apreq_cookie_t</a> *c, 
-00208                                          const <span class="keywordtype">char</span>
*time_str);
-00209 
-00216 APREQ_DECLARE(<a class="codeRef" doxygen="apr.tag:http://apr.apache.org/docs/apr/"
href="http://apr.apache.org/docs/apr/apr__errno_8h.html#ga0">apr_status_t</a>) apreq_cookie_bake(const
<a class="code" href="structapreq__cookie__t.html">apreq_cookie_t</a> *c,
-00217                                               <span class="keywordtype">void</span>
*env);
-00218 
-00225 APREQ_DECLARE(<a class="codeRef" doxygen="apr.tag:http://apr.apache.org/docs/apr/"
href="http://apr.apache.org/docs/apr/apr__errno_8h.html#ga0">apr_status_t</a>) apreq_cookie_bake2(const
<a class="code" href="structapreq__cookie__t.html">apreq_cookie_t</a> *c,
-00226                                                <span class="keywordtype">void</span>
*env);
-00227 
-00235 APREQ_DECLARE(apreq_cookie_version_t) apreq_ua_cookie_version(<span class="keywordtype">void</span>
*env);
-00236 
-00237 #ifdef __cplusplus
-00238  }
-00239 #endif
-00240 
-00241 #endif <span class="comment">/*APREQ_COOKIE_H*/</span>
-00242 
-00243 
-</div></pre><div id="footer">
+00090 <span class="keyword">static</span> <a class="codeRef" doxygen="apr.tag:http://apr.apache.org/docs/apr/"
href="http://apr.apache.org/docs/apr/group__apr__platform.html#ga11">APR_INLINE</a>
+<a name="l00091"></a><a class="code" href="apreq__cookie_8h.html#a5">00091</a>
<span class="keywordtype">unsigned</span> <a class="code" href="apreq__cookie_8h.html#a5">apreq_cookie_is_secure</a>(<span
class="keyword">const</span> <a class="code" href="structapreq__cookie__t.html">apreq_cookie_t</a>
*c) {
+00092     <span class="keywordflow">return</span> APREQ_FLAGS_GET(c-&gt;<a
class="code" href="structapreq__cookie__t.html#o6">flags</a>, APREQ_COOKIE_SECURE);
+00093 }
+00094 
+00098 <span class="keyword">static</span> <a class="codeRef" doxygen="apr.tag:http://apr.apache.org/docs/apr/"
href="http://apr.apache.org/docs/apr/group__apr__platform.html#ga11">APR_INLINE</a>
+<a name="l00099"></a><a class="code" href="apreq__cookie_8h.html#a6">00099</a>
<span class="keywordtype">void</span> <a class="code" href="apreq__cookie_8h.html#a6">apreq_cookie_secure_on</a>(<a
class="code" href="structapreq__cookie__t.html">apreq_cookie_t</a> *c) {
+00100     APREQ_FLAGS_ON(c-&gt;<a class="code" href="structapreq__cookie__t.html#o6">flags</a>,
APREQ_COOKIE_SECURE);
+00101 }
+00102 
+00104 <span class="keyword">static</span> <a class="codeRef" doxygen="apr.tag:http://apr.apache.org/docs/apr/"
href="http://apr.apache.org/docs/apr/group__apr__platform.html#ga11">APR_INLINE</a>
+<a name="l00105"></a><a class="code" href="apreq__cookie_8h.html#a7">00105</a>
<span class="keywordtype">void</span> <a class="code" href="apreq__cookie_8h.html#a7">apreq_cookie_secure_off</a>(<a
class="code" href="structapreq__cookie__t.html">apreq_cookie_t</a> *c) {
+00106     APREQ_FLAGS_OFF(c-&gt;<a class="code" href="structapreq__cookie__t.html#o6">flags</a>,
APREQ_COOKIE_SECURE);
+00107 }
+00108 
+00109 
+00111 <span class="keyword">static</span> <a class="codeRef" doxygen="apr.tag:http://apr.apache.org/docs/apr/"
href="http://apr.apache.org/docs/apr/group__apr__platform.html#ga11">APR_INLINE</a>
+<a name="l00112"></a><a class="code" href="apreq__cookie_8h.html#a8">00112</a>
<span class="keywordtype">unsigned</span> <a class="code" href="apreq__cookie_8h.html#a8">apreq_cookie_is_tainted</a>(<span
class="keyword">const</span> <a class="code" href="structapreq__cookie__t.html">apreq_cookie_t</a>
*c) {
+00113     <span class="keywordflow">return</span> APREQ_FLAGS_GET(c-&gt;<a
class="code" href="structapreq__cookie__t.html#o6">flags</a>, APREQ_TAINTED);
+00114 }
+00115 
+00117 <span class="keyword">static</span> <a class="codeRef" doxygen="apr.tag:http://apr.apache.org/docs/apr/"
href="http://apr.apache.org/docs/apr/group__apr__platform.html#ga11">APR_INLINE</a>
+<a name="l00118"></a><a class="code" href="apreq__cookie_8h.html#a9">00118</a>
<span class="keywordtype">void</span> <a class="code" href="apreq__cookie_8h.html#a9">apreq_cookie_tainted_on</a>(<a
class="code" href="structapreq__cookie__t.html">apreq_cookie_t</a> *c) {
+00119     APREQ_FLAGS_ON(c-&gt;<a class="code" href="structapreq__cookie__t.html#o6">flags</a>,
APREQ_TAINTED);
+00120 }
+00121 
+00123 <span class="keyword">static</span> <a class="codeRef" doxygen="apr.tag:http://apr.apache.org/docs/apr/"
href="http://apr.apache.org/docs/apr/group__apr__platform.html#ga11">APR_INLINE</a>
+<a name="l00124"></a><a class="code" href="apreq__cookie_8h.html#a10">00124</a>
<span class="keywordtype">void</span> <a class="code" href="apreq__cookie_8h.html#a10">apreq_cookie_tainted_off</a>(<a
class="code" href="structapreq__cookie__t.html">apreq_cookie_t</a> *c) {
+00125     APREQ_FLAGS_OFF(c-&gt;<a class="code" href="structapreq__cookie__t.html#o6">flags</a>,
APREQ_TAINTED);
+00126 }
+00127 
+00143 APREQ_DECLARE(<a class="codeRef" doxygen="apr.tag:http://apr.apache.org/docs/apr/"
href="http://apr.apache.org/docs/apr/group__apr__errno.html#ga0">apr_status_t</a>)
<a class="code" href="apreq__cookie_8h.html#a11">apreq_parse_cookie_header</a>(<a
class="codeRef" doxygen="apr.tag:http://apr.apache.org/docs/apr/" href="http://apr.apache.org/docs/apr/group__apr__pools.html#ga0">apr_pool_t</a>
*pool,
+00144                                                       <a class="codeRef" doxygen="apr.tag:http://apr.apache.org/docs/apr/"
href="http://apr.apache.org/docs/apr/group__apr__tables.html#ga0">apr_table_t</a>
*jar,
+00145                                                       const <span class="keywordtype">char</span>
*header);
+00146 
+00158 APREQ_DECLARE(<a class="code" href="structapreq__cookie__t.html">apreq_cookie_t</a>
*) <a class="code" href="apreq__cookie_8h.html#a12">apreq_cookie_make</a>(<a
class="codeRef" doxygen="apr.tag:http://apr.apache.org/docs/apr/" href="http://apr.apache.org/docs/apr/group__apr__pools.html#ga0">apr_pool_t</a>
*pool, 
+00159                                                   const <span class="keywordtype">char</span>
*name,
+00160                                                   const <a class="codeRef" doxygen="apr.tag:http://apr.apache.org/docs/apr/"
href="http://apr.apache.org/docs/apr/group__apr__platform.html#ga7">apr_size_t</a>
nlen, 
+00161                                                   const <span class="keywordtype">char</span>
*value,
+00162                                                   const <a class="codeRef" doxygen="apr.tag:http://apr.apache.org/docs/apr/"
href="http://apr.apache.org/docs/apr/group__apr__platform.html#ga7">apr_size_t</a>
vlen);
+00163 
+00173 APREQ_DECLARE(<span class="keywordtype">char</span>*) <a class="code"
href="apreq__cookie_8h.html#a13">apreq_cookie_as_string</a>(const <a class="code"
href="structapreq__cookie__t.html">apreq_cookie_t</a> *c,
+00174                                             <a class="codeRef" doxygen="apr.tag:http://apr.apache.org/docs/apr/"
href="http://apr.apache.org/docs/apr/group__apr__pools.html#ga0">apr_pool_t</a> *p);
+00175 
+00176 
+00189 APREQ_DECLARE(<span class="keywordtype">int</span>) <a class="code"
href="apreq__cookie_8h.html#a14">apreq_cookie_serialize</a>(const <a class="code"
href="structapreq__cookie__t.html">apreq_cookie_t</a> *c,
+00190                                           <span class="keywordtype">char</span>
*buf, <a class="codeRef" doxygen="apr.tag:http://apr.apache.org/docs/apr/" href="http://apr.apache.org/docs/apr/group__apr__platform.html#ga7">apr_size_t</a>
len);
+00191 
+00206 APREQ_DECLARE(<span class="keywordtype">void</span>) <a class="code"
href="apreq__cookie_8h.html#a15">apreq_cookie_expires</a>(<a class="code" href="structapreq__cookie__t.html">apreq_cookie_t</a>
*c, 
+00207                                          const <span class="keywordtype">char</span>
*time_str);
+00208 
+00209 #ifdef __cplusplus
+00210  }
+00211 #endif
+00212 
+00213 #endif <span class="comment">/*APREQ_COOKIE_H*/</span>
+00214 
+00215 
+</pre></div><div id="footer">
 <p class="apache">
-Copyright &copy; 2003-2004 <a href="http://www.apache.org">The Apache Software
Foundation</a>.<br/>
-See <a href="LICENSE.html">LICENSE</a>.</p>
+Copyright &copy; 2003-2005 <a href="http://www.apache.org">The Apache Software
Foundation</a>.<br/>
+See <a href="apreq_license.html">LICENSE</a>.</p>
 <p class="menu">
 <span style="color:#aaa">page generated by <a href="http://www.doxygen.org/"><code>doxygen</code></a>
-version 1.3.8 on 30 Aug 2004</span>
+version 1.4.2 on 4 May 2005</span>
 </p>
 </div>
 </body>



Mime
View raw message