joes 2003/06/28 12:00:45
Modified: src apreq.h
Log:
Deprecate apreq_expires in favor of apr_rfc822_date, add doc link to apreq
homepage
Revision Changes Path
1.29 +9 -7 httpd-apreq-2/src/apreq.h
Index: apreq.h
===================================================================
RCS file: /home/cvs/httpd-apreq-2/src/apreq.h,v
retrieving revision 1.28
retrieving revision 1.29
diff -u -r1.28 -r1.29
--- apreq.h 28 Jun 2003 17:51:38 -0000 1.28
+++ apreq.h 28 Jun 2003 19:00:45 -0000 1.29
@@ -74,6 +74,7 @@
/**
* @mainpage
+ * Project Website: http://httpd.apache.org/apreq/
* @verbinclude README
*/
@@ -288,13 +289,14 @@
/**
* Returns an RFC-822 formatted time string. Similar to ap_gm_timestr_822.
*
- * @param req The current apreq_request_t object.
- * @param ts YMDhms time units (from now) until expiry.
- * Understands "now".
- *
- * returns date string, (time_str is offset from "now") formatted
- * either as an ::NSCOOKIE or ::HTTP date
- *
+ * @param req The current apreq_request_t object.
+ * @param time_str YMDhms time units (from now) until expiry.
+ * Understands "now".
+ * @param type ::HTTP for RFC822 dates, ::NSCOOKIE for cookie dates.
+ * @return Date string, (time_str is offset from "now") formatted
+ * either as an ::NSCOOKIE or ::HTTP date
+ * @deprecated Use apr_rfc822_date instead. ::NSCOOKIE strings are
formatted
+ * with a '-' (instead of a ' ') character at offsets 7 and 11.
*/
APREQ_DECLARE(char *) apreq_expires(apr_pool_t *p, const char *time_str,