added more code for qse_httpd_t
added qse_htre_gethdrval()
This commit is contained in:
		| @ -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; | ||||
|  | ||||
| @ -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 | ||||
|  | ||||
		Reference in New Issue
	
	Block a user