X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=php_http_message_api.h;fp=php_http_message_api.h;h=731e1709ffe96d0c04fcfaef33c5977dbbd1d8e5;hb=781c90c0447166dd52ef881ae15751fa466c32fb;hp=d529a0a0878b01bed5b3fa8da461f7bdac1bb718;hpb=bb6571e22d14c87114eb729145be2e7b87ebea42;p=m6w6%2Fext-http diff --git a/php_http_message_api.h b/php_http_message_api.h index d529a0a..731e170 100644 --- a/php_http_message_api.h +++ b/php_http_message_api.h @@ -77,6 +77,9 @@ PHP_HTTP_API void _http_message_serialize(http_message *message, char **string, #define http_message_send(m) _http_message_send((m) TSRMLS_CC) PHP_HTTP_API STATUS _http_message_send(http_message *message TSRMLS_DC); +#define http_message_dup(m) _http_message_dup((m) TSRMLS_CC) +PHP_HTTP_API http_message *_http_message_dup(http_message *msg TSRMLS_DC); + #define http_message_dtor(m) _http_message_dtor((m)) PHP_HTTP_API void _http_message_dtor(http_message *message);