added more code for qse_httpd_t

added qse_htre_gethdrval()
This commit is contained in:
2011-07-22 09:50:38 +00:00
parent d9d2cda5c3
commit 0967928a90
7 changed files with 364 additions and 277 deletions

View File

@ -39,7 +39,9 @@ typedef enum qse_htrd_errnum_t qse_htrd_errnum_t;
enum qse_htrd_option_t
{
QSE_HTRD_LEADINGEMPTYLINES = (1 << 0)
QSE_HTRD_LEADINGEMPTYLINES = (1 << 0),
QSE_HTRD_REQUEST = (1 << 1),
QSE_HTRD_RESPONSE = (1 << 2)
};
typedef enum qse_htrd_option_t qse_htrd_option_t;

View File

@ -143,6 +143,10 @@ int qse_htre_setstrfromxstr (
const qse_mxstr_t* xstr
);
const qse_mchar_t* qse_htre_gethdrval (
qse_htre_t* re, const qse_mchar_t* key
);
#ifdef __cplusplus
}
#endif