X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-http;a=blobdiff_plain;f=php_http_message_api.h;h=cf942567d371411cabcb44aef8781ae4611ccdd1;hp=a8b7c216fb3f87bf587f3c376f5491a36da063c0;hb=98e0618077ab00672dd0e6e134d4722e033d827e;hpb=111fbe75d978a74c3aba074c942d8b2bd5f66223 diff --git a/php_http_message_api.h b/php_http_message_api.h index a8b7c21..cf94256 100644 --- a/php_http_message_api.h +++ b/php_http_message_api.h @@ -6,7 +6,7 @@ | modification, are permitted provided that the conditions mentioned | | in the accompanying LICENSE file are met. | +--------------------------------------------------------------------+ - | Copyright (c) 2004-2005, Michael Wallner | + | Copyright (c) 2004-2006, Michael Wallner | +--------------------------------------------------------------------+ */ @@ -48,6 +48,9 @@ PHP_HTTP_API http_message *_http_message_init_ex(http_message *m, http_message_t #define http_message_set_type(m, t) _http_message_set_type((m), (t)) PHP_HTTP_API void _http_message_set_type(http_message *m, http_message_type t); +#define http_message_set_info(m, i) _http_message_set_info((m), (i)) +PHP_HTTP_API void _http_message_set_info(http_message *message, http_info *info); + #define http_message_header(m, h) _http_message_header_ex((m), (h), sizeof(h)) #define http_message_header_ex _http_message_header_ex static inline zval *_http_message_header_ex(http_message *msg, char *key_str, size_t key_len)