added QSE_HTRD_STRICT

added qse_perdechttpstr()
This commit is contained in:
2012-04-15 08:36:14 +00:00
parent 8ccc2698d6
commit 4488041fd3
6 changed files with 90 additions and 12 deletions

View File

@ -49,7 +49,8 @@ enum qse_htrd_option_t
QSE_HTRD_PEEKONLY = (1 << 2), /**< trigger a peek callback after headers without processing contents */
QSE_HTRD_REQUEST = (1 << 3), /**< parse input as a request */
QSE_HTRD_RESPONSE = (1 << 4), /**< parse input as a response */
QSE_HTRD_TRAILERS = (1 << 5) /**< store trailers in a separate table */
QSE_HTRD_TRAILERS = (1 << 5), /**< store trailers in a separate table */
QSE_HTRD_STRICT = (1 << 6) /**< be more picky */
};
typedef enum qse_htrd_option_t qse_htrd_option_t;

View File

@ -187,6 +187,11 @@ int qse_parsehttpdatetime (
);
*/
qse_size_t qse_perdechttpstr (
const qse_mchar_t* str,
qse_mchar_t* buf
);
#ifdef __cplusplus
}
#endif