Modified: httpd/site/trunk/docs/apreq/docs/libapreq2/structapreq__value__t.html URL: http://svn.apache.org/viewcvs/httpd/site/trunk/docs/apreq/docs/libapreq2/structapreq__value__t.html?rev=377002&r1=377001&r2=377002&view=diff ============================================================================== --- httpd/site/trunk/docs/apreq/docs/libapreq2/structapreq__value__t.html (original) +++ httpd/site/trunk/docs/apreq/docs/libapreq2/structapreq__value__t.html Sat Feb 11 08:52:42 2006 @@ -1,7 +1,7 @@ - libapreq2-2.06-dev: libapreq2: apreq_value_t Struct Reference + libapreq2-2.07: libapreq2: apreq_value_t Struct Reference - -
Main Page | Modules | Data Structures | Directories | File List | Data Fields | Globals | Related Pages
+ +
+
+
+

apreq_value_t Struct Reference

libapreq's pre-extensible string type More...

@@ -20,26 +34,29 @@ - + - + - + - +

Data Fields

char * name
char * name
apr_size_t nlen
apr_size_t nlen
apr_size_t dlen
apr_size_t dlen
char data [1]
char data [1]


Detailed Description

-libapreq's pre-extensible string type +libapreq's pre-extensible string type
Examples:
+ +

+/home/joe/src/apache/httpd/apreq/trunk/include/apreq.h.


Field Documentation

-

+

@@ -53,16 +70,17 @@ +value data
Examples:
+/home/joe/src/apache/httpd/apreq/trunk/include/apreq.h.
- +
char apreq_value_t::data[1] char apreq_value_t::data[1]

-value data

-

+

@@ -76,16 +94,17 @@ +length of data
Examples:
+/home/joe/src/apache/httpd/apreq/trunk/include/apreq.h.
- +
apr_size_t apreq_value_t::dlen apr_size_t apreq_value_t::dlen

-length of data

-

+

@@ -99,16 +118,17 @@ +value name
Examples:
+/home/joe/src/apache/httpd/apreq/trunk/include/apreq.h.
- +
char* apreq_value_t::name char* apreq_value_t::name

-value name

-

+

@@ -122,18 +142,19 @@ +length of name
Examples:
+/home/joe/src/apache/httpd/apreq/trunk/include/apreq.h.
- +
apr_size_t apreq_value_t::nlen apr_size_t apreq_value_t::nlen

-length of name


The documentation for this struct was generated from the following file: Added: httpd/site/trunk/docs/apreq/docs/libapreq2/tab_b.gif URL: http://svn.apache.org/viewcvs/httpd/site/trunk/docs/apreq/docs/libapreq2/tab_b.gif?rev=377002&view=auto ============================================================================== Binary file - no diff available. Propchange: httpd/site/trunk/docs/apreq/docs/libapreq2/tab_b.gif ------------------------------------------------------------------------------ svn:mime-type = application/octet-stream Added: httpd/site/trunk/docs/apreq/docs/libapreq2/tab_l.gif URL: http://svn.apache.org/viewcvs/httpd/site/trunk/docs/apreq/docs/libapreq2/tab_l.gif?rev=377002&view=auto ============================================================================== Binary file - no diff available. Propchange: httpd/site/trunk/docs/apreq/docs/libapreq2/tab_l.gif ------------------------------------------------------------------------------ svn:mime-type = application/octet-stream Added: httpd/site/trunk/docs/apreq/docs/libapreq2/tab_r.gif URL: http://svn.apache.org/viewcvs/httpd/site/trunk/docs/apreq/docs/libapreq2/tab_r.gif?rev=377002&view=auto ============================================================================== Binary file - no diff available. Propchange: httpd/site/trunk/docs/apreq/docs/libapreq2/tab_r.gif ------------------------------------------------------------------------------ svn:mime-type = application/octet-stream Added: httpd/site/trunk/docs/apreq/docs/libapreq2/tabs.css URL: http://svn.apache.org/viewcvs/httpd/site/trunk/docs/apreq/docs/libapreq2/tabs.css?rev=377002&view=auto ============================================================================== --- httpd/site/trunk/docs/apreq/docs/libapreq2/tabs.css (added) +++ httpd/site/trunk/docs/apreq/docs/libapreq2/tabs.css Sat Feb 11 08:52:42 2006 @@ -0,0 +1,102 @@ +/* tabs styles, based on http://www.alistapart.com/articles/slidingdoors */ + +DIV.tabs +{ + float : left; + width : 100%; + background : url("tab_b.gif") repeat-x bottom; + margin-bottom : 4px; +} + +DIV.tabs UL +{ + margin : 0px; + padding-left : 10px; + list-style : none; +} + +DIV.tabs LI, DIV.tabs FORM +{ + display : inline; + margin : 0px; + padding : 0px; +} + +DIV.tabs FORM +{ + float : right; +} + +DIV.tabs A +{ + float : left; + background : url("tab_r.gif") no-repeat right top; + border-bottom : 1px solid #84B0C7; + font-size : x-small; + font-weight : bold; + text-decoration : none; +} + +DIV.tabs A:hover +{ + background-position: 100% -150px; +} + +DIV.tabs A:link, DIV.tabs A:visited, +DIV.tabs A:active, DIV.tabs A:hover +{ + color: #1A419D; +} + +DIV.tabs SPAN +{ + float : left; + display : block; + background : url("tab_l.gif") no-repeat left top; + padding : 5px 9px; + white-space : nowrap; +} + +DIV.tabs INPUT +{ + float : right; + display : inline; + font-size : 1em; +} + +DIV.tabs TD +{ + font-size : x-small; + font-weight : bold; + text-decoration : none; +} + + + +/* Commented Backslash Hack hides rule from IE5-Mac \*/ +DIV.tabs SPAN {float : none;} +/* End IE5-Mac hack */ + +DIV.tabs A:hover SPAN +{ + background-position: 0% -150px; +} + +DIV.tabs LI#current A +{ + background-position: 100% -150px; + border-width : 0px; +} + +DIV.tabs LI#current SPAN +{ + background-position: 0% -150px; + padding-bottom : 6px; +} + +DIV.nav +{ + background : none; + border : none; + border-bottom : 1px solid #84B0C7; +} Propchange: httpd/site/trunk/docs/apreq/docs/libapreq2/tabs.css ------------------------------------------------------------------------------ svn:eol-style = native Modified: httpd/site/trunk/docs/apreq/docs/libapreq2/todo.html URL: http://svn.apache.org/viewcvs/httpd/site/trunk/docs/apreq/docs/libapreq2/todo.html?rev=377002&r1=377001&r2=377002&view=diff ============================================================================== --- httpd/site/trunk/docs/apreq/docs/libapreq2/todo.html (original) +++ httpd/site/trunk/docs/apreq/docs/libapreq2/todo.html Sat Feb 11 08:52:42 2006 @@ -1,7 +1,7 @@ - libapreq2-2.06-dev: libapreq2: Todo List + libapreq2-2.07: libapreq2: Todo List - -
Main Page | Modules | Data Structures | Directories | File List | Data Fields | Globals | Related Pages
+ +
+

Todo List

-
Global APREQ_COOKIE_MAX_LENGTH
+
Global APREQ_COOKIE_MAX_LENGTH
convert this macro to an apreq_module_t method.

-
Global apreq_atoi64f
+
Global apreq_atoi64f
What happens when s is malformed? Should this return an unsigned value instead?

-
Global apreq_atoi64t
+
Global apreq_atoi64t
What happens when s is malformed? Should this return an unsigned value instead?

-
Global apreq_brigade_concat
+
Global apreq_brigade_concat
Flesh out these error codes, making them as explicit as possible.
Modified: httpd/site/trunk/xdocs/apreq/docs/libapreq2/annotated.html URL: http://svn.apache.org/viewcvs/httpd/site/trunk/xdocs/apreq/docs/libapreq2/annotated.html?rev=377002&r1=377001&r2=377002&view=diff ============================================================================== --- httpd/site/trunk/xdocs/apreq/docs/libapreq2/annotated.html (original) +++ httpd/site/trunk/xdocs/apreq/docs/libapreq2/annotated.html Sat Feb 11 08:52:42 2006 @@ -1,7 +1,7 @@ - libapreq2-2.06-dev: libapreq2: Data Structures + libapreq2-2.07: libapreq2: Data Structures - -
Main Page | Modules | Data Structures | Directories | File List | Data Fields | Globals | Related Pages
+ +
+
+
+

libapreq2 Data Structures

Here are the data structures with brief descriptions: @@ -23,11 +37,11 @@
apreq_cookie_tCookie type, supporting both Netscape and RFC cookie specifications
apreq_handle_t
Modified: httpd/site/trunk/xdocs/apreq/docs/libapreq2/apreq_8h-source.html URL: http://svn.apache.org/viewcvs/httpd/site/trunk/xdocs/apreq/docs/libapreq2/apreq_8h-source.html?rev=377002&r1=377001&r2=377002&view=diff ============================================================================== --- httpd/site/trunk/xdocs/apreq/docs/libapreq2/apreq_8h-source.html (original) +++ httpd/site/trunk/xdocs/apreq/docs/libapreq2/apreq_8h-source.html Sat Feb 11 08:52:42 2006 @@ -1,7 +1,7 @@ - libapreq2-2.06-dev: libapreq2: include/apreq.h Source File + libapreq2-2.07: libapreq2: include/apreq.h Source File - -
Main Page | Modules | Data Structures | Directories | File List | Data Fields | Globals | Related Pages
- -

apreq.h

Go to the documentation of this file.
00001 /*
-00002 **  Copyright 2003-2005  The Apache Software Foundation
+
+
+
+

include/apreq.h

Go to the documentation of this file.
00001 /*
+00002 **  Copyright 2003-2006  The Apache Software Foundation
 00003 **
 00004 **  Licensed under the Apache License, Version 2.0 (the "License");
 00005 **  you may not use this file except in compliance with the License.
@@ -42,105 +53,117 @@
 00026 
 00027 #ifdef  __cplusplus
 00028  extern "C" {
-00029 #endif 
+00029 #endif
 00030 
 00039 #ifndef WIN32
-00040 #define APREQ_DECLARE(d)                APR_DECLARE(d)
-00041 #define APREQ_DECLARE_NONSTD(d)         APR_DECLARE_NONSTD(d)
-00042 #define APREQ_DECLARE_DATA
-00043 #else
-00044 #define APREQ_DECLARE(type)             __declspec(dllexport) type __stdcall
-00045 #define APREQ_DECLARE_NONSTD(type)      __declspec(dllexport) type
-00046 #define APREQ_DECLARE_DATA              __declspec(dllexport)
-00047 #endif
-00048 
-00049 #define APREQ_DEFAULT_READ_BLOCK_SIZE   (64  * 1024)
-00050 #define APREQ_DEFAULT_READ_LIMIT        (64 * 1024 * 1024)
-00051 #define APREQ_DEFAULT_BRIGADE_LIMIT     (256 * 1024)
-00052 #define APREQ_DEFAULT_NELTS              8
-00053 
-00054 
-00055 
-00056 #define APREQ_FLAGS_OFF(f, name) ((f) &= ~(name##_MASK << name##_BIT))
-00057 #define APREQ_FLAGS_ON(f, name)  ((f) |=  (name##_MASK << name##_BIT))
-00058 #define APREQ_FLAGS_GET(f, name) (((f) >> name##_BIT) & name##_MASK)
-00059 #define APREQ_FLAGS_SET(f, name, value)                 \
-00060     ((f) = (((f) & ~(name##_MASK << name##_BIT))        \
-00061             | ((name##_MASK & (value)) << name##_BIT)))
-00062 
-00063 
-00064 #define APREQ_CHARSET_BIT           0
-00065 #define APREQ_CHARSET_MASK        255
-00066 
-00067 #define APREQ_TAINTED_BIT           8
-00068 #define APREQ_TAINTED_MASK          1
-00069 
-00070 #define APREQ_COOKIE_VERSION_BIT   11
-00071 #define APREQ_COOKIE_VERSION_MASK   3
-00072 
-00073 #define APREQ_COOKIE_SECURE_BIT    13
-00074 #define APREQ_COOKIE_SECURE_MASK    1
-00075 
-00077 typedef enum {
-00078     APREQ_CHARSET_ASCII  =0,
-00079     APREQ_CHARSET_LATIN1 =1, /* ISO-8859-1   */
-00080     APREQ_CHARSET_CP1252 =2, /* Windows-1252 */
-00081     APREQ_CHARSET_UTF8   =8
-00082 } apreq_charset_t;
-00083 
-00084 
-00086 typedef enum { 
-00087     APREQ_JOIN_AS_IS,      
-00088     APREQ_JOIN_ENCODE,     
-00089     APREQ_JOIN_DECODE,     
-00090     APREQ_JOIN_QUOTE       
-00091 } apreq_join_t;
-00092 
-00094 typedef enum {
-00095     APREQ_MATCH_FULL,       
-00096     APREQ_MATCH_PARTIAL     
-00097 } apreq_match_t;
-00098 
-00100 typedef enum {
-00101     APREQ_EXPIRES_HTTP,       
-00102     APREQ_EXPIRES_NSCOOKIE    
-00103 } apreq_expires_t;
+00040 
+00049 #define APREQ_DECLARE(d)                APR_DECLARE(d)
+00050 
+00059 #define APREQ_DECLARE_NONSTD(d)         APR_DECLARE_NONSTD(d)
+00060 
+00070 #define APREQ_DECLARE_DATA
+00071 #else
+00072 #define APREQ_DECLARE(type)             __declspec(dllexport) type __stdcall
+00073 #define APREQ_DECLARE_NONSTD(type)      __declspec(dllexport) type
+00074 #define APREQ_DECLARE_DATA              __declspec(dllexport)
+00075 #endif
+00076 
+00081 #define APREQ_DEFAULT_READ_BLOCK_SIZE   (64  * 1024)
+00082 
+00089 #define APREQ_DEFAULT_READ_LIMIT        (64 * 1024 * 1024)
+00090 
+00096 #define APREQ_DEFAULT_BRIGADE_LIMIT     (256 * 1024)
+00097 
+00102 #define APREQ_DEFAULT_NELTS              8
+00103 
 00104 
 00105 
-00107 typedef struct apreq_value_t {
-00108     char             *name;    
-00109     apr_size_t        nlen;    
-00110     apr_size_t        dlen;    
-00111     char              data[1]; 
-00112 } apreq_value_t;
-00113 
-00114 static APR_INLINE
-00115 void apreq_value_table_add(const apreq_value_t *v, apr_table_t *t) {
-00116     apr_table_addn(t, v->name, v->data);
-00117 }
-00118 
-00119 #define apreq_attr_to_type(T,A,P) ( (T*) ((char*)(P)-offsetof(T,A)) )
-00120 
-00132 APREQ_DECLARE(apr_status_t) apreq_initialize(apr_pool_t *pool);
-00133 
-00134 
-00146 APREQ_DECLARE(apr_status_t) apreq_pre_initialize(apr_pool_t *pool);
-00147 
-00155 APREQ_DECLARE(apr_status_t) apreq_post_initialize(apr_pool_t *pool);
-00156 
-00157 
-00158 #ifdef __cplusplus
-00159  }
-00160 #endif
-00161 
-00162 #endif /* APREQ_H */
+00109 #define APREQ_FLAGS_OFF(f, name) ((f) &= ~(name##_MASK << name##_BIT))
+00110 
+00113 #define APREQ_FLAGS_ON(f, name)  ((f) |=  (name##_MASK << name##_BIT))
+00114 
+00117 #define APREQ_FLAGS_GET(f, name) (((f) >> name##_BIT) & name##_MASK)
+00118 
+00124 #define APREQ_FLAGS_SET(f, name, value)                 \
+00125     ((f) = (((f) & ~(name##_MASK << name##_BIT))        \
+00126             | ((name##_MASK & (value)) << name##_BIT)))
+00127 
+00133 #define APREQ_CHARSET_BIT           0
+00134 
+00140 #define APREQ_CHARSET_MASK        255
+00141 
+00147 #define APREQ_TAINTED_BIT           8
+00148 
+00153 #define APREQ_TAINTED_MASK          1
+00154 
+00161 #define APREQ_COOKIE_VERSION_BIT   11
+00162 
+00167 #define APREQ_COOKIE_VERSION_MASK   3
+00168 
+00174 #define APREQ_COOKIE_SECURE_BIT    13
+00175 
+00180 #define APREQ_COOKIE_SECURE_MASK    1
+00181 
+00183 typedef enum {
+00184     APREQ_CHARSET_ASCII  =0,
+00185     APREQ_CHARSET_LATIN1 =1, /* ISO-8859-1   */
+00186     APREQ_CHARSET_CP1252 =2, /* Windows-1252 */
+00187     APREQ_CHARSET_UTF8   =8
+00188 } apreq_charset_t;
+00189 
+00190 
+00192 typedef enum {
+00193     APREQ_JOIN_AS_IS,      
+00194     APREQ_JOIN_ENCODE,     
+00195     APREQ_JOIN_DECODE,     
+00196     APREQ_JOIN_QUOTE       
+00197 } apreq_join_t;
+00198 
+00200 typedef enum {
+00201     APREQ_MATCH_FULL,       
+00202     APREQ_MATCH_PARTIAL     
+00203 } apreq_match_t;
+00204 
+00206 typedef enum {
+00207     APREQ_EXPIRES_HTTP,       
+00208     APREQ_EXPIRES_NSCOOKIE    
+00209 } apreq_expires_t;
+00210 
+00211 
+00213 typedef struct apreq_value_t {
+00214     char             *name;    
+00215     apr_size_t        nlen;    
+00216     apr_size_t        dlen;    
+00217     char              data[1]; 
+00218 } apreq_value_t;
+00219 
+00231 static APR_INLINE
+00232 void apreq_value_table_add(const apreq_value_t *v, apr_table_t *t) {
+00233     apr_table_addn(t, v->name, v->data);
+00234 }
+00235 
+00243 #define apreq_attr_to_type(T,A,P) ( (T*) ((char*)(P)-offsetof(T,A)) )
+00244 
+00256 APREQ_DECLARE(apr_status_t) apreq_initialize(apr_pool_t *pool);
+00257 
+00258 
+00270 APREQ_DECLARE(apr_status_t) apreq_pre_initialize(apr_pool_t *pool);
+00271 
+00279 APREQ_DECLARE(apr_status_t) apreq_post_initialize(apr_pool_t *pool);
+00280 
+00281 
+00282 #ifdef __cplusplus
+00283  }
+00284 #endif
+00285 
+00286 #endif /* APREQ_H */