From aca5a5a21e4514707a71cfa69cc19ae50a78f5d3 Mon Sep 17 00:00:00 2001 From: Michael Wallner Date: Wed, 7 Feb 2007 11:50:27 +0000 Subject: [PATCH] - fix copyright year --- http_api.c | 2 +- http_cache_api.c | 2 +- http_cookie_api.c | 2 +- http_date_api.c | 2 +- http_deflatestream_object.c | 2 +- http_encoding_api.c | 2 +- http_exception_object.c | 2 +- http_filter_api.c | 2 +- http_functions.c | 2 +- http_headers_api.c | 2 +- http_inflatestream_object.c | 2 +- http_info_api.c | 2 +- http_message_api.c | 2 +- http_message_object.c | 2 +- http_persistent_handle_api.c | 2 +- http_querystring_api.c | 2 +- http_querystring_object.c | 2 +- http_request_api.c | 2 +- http_request_body_api.c | 2 +- http_request_datashare_api.c | 2 +- http_request_info.c | 2 +- http_request_method_api.c | 2 +- http_request_object.c | 2 +- http_request_pool_api.c | 2 +- http_requestdatashare_object.c | 2 +- http_requestpool_object.c | 2 +- http_response_object.c | 2 +- http_send_api.c | 2 +- http_url_api.c | 2 +- http_util_object.c | 2 +- missing.c | 2 +- missing.h | 2 +- package2.xml | 2 +- php_http.h | 2 +- php_http_api.h | 2 +- php_http_cache_api.h | 2 +- php_http_cookie_api.h | 2 +- php_http_date_api.h | 2 +- php_http_deflatestream_object.h | 2 +- php_http_encoding_api.h | 2 +- php_http_exception_object.h | 2 +- php_http_filter_api.h | 2 +- php_http_headers_api.h | 2 +- php_http_inflatestream_object.h | 2 +- php_http_info_api.h | 2 +- php_http_message_api.h | 2 +- php_http_message_object.h | 2 +- php_http_persistent_handle_api.h | 2 +- php_http_querystring_api.h | 2 +- php_http_querystring_object.h | 2 +- php_http_request_api.h | 2 +- php_http_request_body_api.h | 2 +- php_http_request_datashare_api.h | 2 +- php_http_request_int.h | 2 +- php_http_request_method_api.h | 2 +- php_http_request_object.h | 2 +- php_http_request_pool_api.h | 2 +- php_http_requestdatashare_object.h | 2 +- php_http_requestpool_object.h | 2 +- php_http_response_object.h | 2 +- php_http_send_api.h | 2 +- php_http_std_defs.h | 2 +- php_http_url_api.h | 2 +- php_http_util_object.h | 2 +- phpstr/phpstr.h | 31 +++++++++++++++++++++++++++--- 65 files changed, 92 insertions(+), 67 deletions(-) diff --git a/http_api.c b/http_api.c index ea3876f..77f8df5 100644 --- a/http_api.c +++ b/http_api.c @@ -6,7 +6,7 @@ | modification, are permitted provided that the conditions mentioned | | in the accompanying LICENSE file are met. | +--------------------------------------------------------------------+ - | Copyright (c) 2004-2006, Michael Wallner | + | Copyright (c) 2004-2007, Michael Wallner | +--------------------------------------------------------------------+ */ diff --git a/http_cache_api.c b/http_cache_api.c index b6c4fad..66bf1cc 100644 --- a/http_cache_api.c +++ b/http_cache_api.c @@ -6,7 +6,7 @@ | modification, are permitted provided that the conditions mentioned | | in the accompanying LICENSE file are met. | +--------------------------------------------------------------------+ - | Copyright (c) 2004-2006, Michael Wallner | + | Copyright (c) 2004-2007, Michael Wallner | +--------------------------------------------------------------------+ */ diff --git a/http_cookie_api.c b/http_cookie_api.c index 360b793..54d1d8e 100644 --- a/http_cookie_api.c +++ b/http_cookie_api.c @@ -6,7 +6,7 @@ | modification, are permitted provided that the conditions mentioned | | in the accompanying LICENSE file are met. | +--------------------------------------------------------------------+ - | Copyright (c) 2004-2006, Michael Wallner | + | Copyright (c) 2004-2007, Michael Wallner | +--------------------------------------------------------------------+ */ diff --git a/http_date_api.c b/http_date_api.c index e750a4d..6d6e58c 100644 --- a/http_date_api.c +++ b/http_date_api.c @@ -6,7 +6,7 @@ | modification, are permitted provided that the conditions mentioned | | in the accompanying LICENSE file are met. | +--------------------------------------------------------------------+ - | Copyright (c) 2004-2006, Michael Wallner | + | Copyright (c) 2004-2007, Michael Wallner | +--------------------------------------------------------------------+ */ diff --git a/http_deflatestream_object.c b/http_deflatestream_object.c index d1e0d6f..601c6a3 100644 --- a/http_deflatestream_object.c +++ b/http_deflatestream_object.c @@ -6,7 +6,7 @@ | modification, are permitted provided that the conditions mentioned | | in the accompanying LICENSE file are met. | +--------------------------------------------------------------------+ - | Copyright (c) 2004-2006, Michael Wallner | + | Copyright (c) 2004-2007, Michael Wallner | +--------------------------------------------------------------------+ */ diff --git a/http_encoding_api.c b/http_encoding_api.c index 48fe773..7a6b043 100644 --- a/http_encoding_api.c +++ b/http_encoding_api.c @@ -6,7 +6,7 @@ | modification, are permitted provided that the conditions mentioned | | in the accompanying LICENSE file are met. | +--------------------------------------------------------------------+ - | Copyright (c) 2004-2006, Michael Wallner | + | Copyright (c) 2004-2007, Michael Wallner | +--------------------------------------------------------------------+ */ diff --git a/http_exception_object.c b/http_exception_object.c index 80e9952..2de284e 100644 --- a/http_exception_object.c +++ b/http_exception_object.c @@ -6,7 +6,7 @@ | modification, are permitted provided that the conditions mentioned | | in the accompanying LICENSE file are met. | +--------------------------------------------------------------------+ - | Copyright (c) 2004-2006, Michael Wallner | + | Copyright (c) 2004-2007, Michael Wallner | +--------------------------------------------------------------------+ */ diff --git a/http_filter_api.c b/http_filter_api.c index a6c740f..d072787 100644 --- a/http_filter_api.c +++ b/http_filter_api.c @@ -6,7 +6,7 @@ | modification, are permitted provided that the conditions mentioned | | in the accompanying LICENSE file are met. | +--------------------------------------------------------------------+ - | Copyright (c) 2004-2006, Michael Wallner | + | Copyright (c) 2004-2007, Michael Wallner | +--------------------------------------------------------------------+ */ diff --git a/http_functions.c b/http_functions.c index fe19c24..791aa1e 100644 --- a/http_functions.c +++ b/http_functions.c @@ -6,7 +6,7 @@ | modification, are permitted provided that the conditions mentioned | | in the accompanying LICENSE file are met. | +--------------------------------------------------------------------+ - | Copyright (c) 2004-2006, Michael Wallner | + | Copyright (c) 2004-2007, Michael Wallner | +--------------------------------------------------------------------+ */ diff --git a/http_headers_api.c b/http_headers_api.c index 88d4e1c..bdee9a3 100644 --- a/http_headers_api.c +++ b/http_headers_api.c @@ -6,7 +6,7 @@ | modification, are permitted provided that the conditions mentioned | | in the accompanying LICENSE file are met. | +--------------------------------------------------------------------+ - | Copyright (c) 2004-2006, Michael Wallner | + | Copyright (c) 2004-2007, Michael Wallner | +--------------------------------------------------------------------+ */ diff --git a/http_inflatestream_object.c b/http_inflatestream_object.c index 9b16dfc..61946b0 100644 --- a/http_inflatestream_object.c +++ b/http_inflatestream_object.c @@ -6,7 +6,7 @@ | modification, are permitted provided that the conditions mentioned | | in the accompanying LICENSE file are met. | +--------------------------------------------------------------------+ - | Copyright (c) 2004-2006, Michael Wallner | + | Copyright (c) 2004-2007, Michael Wallner | +--------------------------------------------------------------------+ */ diff --git a/http_info_api.c b/http_info_api.c index 5a92074..9cd8fbe 100644 --- a/http_info_api.c +++ b/http_info_api.c @@ -6,7 +6,7 @@ | modification, are permitted provided that the conditions mentioned | | in the accompanying LICENSE file are met. | +--------------------------------------------------------------------+ - | Copyright (c) 2004-2006, Michael Wallner | + | Copyright (c) 2004-2007, Michael Wallner | +--------------------------------------------------------------------+ */ diff --git a/http_message_api.c b/http_message_api.c index 6ac56ca..c78c09f 100644 --- a/http_message_api.c +++ b/http_message_api.c @@ -6,7 +6,7 @@ | modification, are permitted provided that the conditions mentioned | | in the accompanying LICENSE file are met. | +--------------------------------------------------------------------+ - | Copyright (c) 2004-2006, Michael Wallner | + | Copyright (c) 2004-2007, Michael Wallner | +--------------------------------------------------------------------+ */ diff --git a/http_message_object.c b/http_message_object.c index c3f05de..fd33e32 100644 --- a/http_message_object.c +++ b/http_message_object.c @@ -6,7 +6,7 @@ | modification, are permitted provided that the conditions mentioned | | in the accompanying LICENSE file are met. | +--------------------------------------------------------------------+ - | Copyright (c) 2004-2006, Michael Wallner | + | Copyright (c) 2004-2007, Michael Wallner | +--------------------------------------------------------------------+ */ diff --git a/http_persistent_handle_api.c b/http_persistent_handle_api.c index b97918f..1b451e7 100644 --- a/http_persistent_handle_api.c +++ b/http_persistent_handle_api.c @@ -6,7 +6,7 @@ | modification, are permitted provided that the conditions mentioned | | in the accompanying LICENSE file are met. | +--------------------------------------------------------------------+ - | Copyright (c) 2004-2006, Michael Wallner | + | Copyright (c) 2004-2007, Michael Wallner | +--------------------------------------------------------------------+ */ diff --git a/http_querystring_api.c b/http_querystring_api.c index 09a767f..c083685 100644 --- a/http_querystring_api.c +++ b/http_querystring_api.c @@ -6,7 +6,7 @@ | modification, are permitted provided that the conditions mentioned | | in the accompanying LICENSE file are met. | +--------------------------------------------------------------------+ - | Copyright (c) 2004-2006, Michael Wallner | + | Copyright (c) 2004-2007, Michael Wallner | +--------------------------------------------------------------------+ */ diff --git a/http_querystring_object.c b/http_querystring_object.c index 8bea12e..39e3b89 100644 --- a/http_querystring_object.c +++ b/http_querystring_object.c @@ -6,7 +6,7 @@ | modification, are permitted provided that the conditions mentioned | | in the accompanying LICENSE file are met. | +--------------------------------------------------------------------+ - | Copyright (c) 2004-2006, Michael Wallner | + | Copyright (c) 2004-2007, Michael Wallner | +--------------------------------------------------------------------+ */ diff --git a/http_request_api.c b/http_request_api.c index 7b6aee3..92fe1ec 100644 --- a/http_request_api.c +++ b/http_request_api.c @@ -6,7 +6,7 @@ | modification, are permitted provided that the conditions mentioned | | in the accompanying LICENSE file are met. | +--------------------------------------------------------------------+ - | Copyright (c) 2004-2006, Michael Wallner | + | Copyright (c) 2004-2007, Michael Wallner | +--------------------------------------------------------------------+ */ diff --git a/http_request_body_api.c b/http_request_body_api.c index bc1648c..88732a1 100644 --- a/http_request_body_api.c +++ b/http_request_body_api.c @@ -6,7 +6,7 @@ | modification, are permitted provided that the conditions mentioned | | in the accompanying LICENSE file are met. | +--------------------------------------------------------------------+ - | Copyright (c) 2004-2006, Michael Wallner | + | Copyright (c) 2004-2007, Michael Wallner | +--------------------------------------------------------------------+ */ diff --git a/http_request_datashare_api.c b/http_request_datashare_api.c index 0f51471..02c40b4 100644 --- a/http_request_datashare_api.c +++ b/http_request_datashare_api.c @@ -6,7 +6,7 @@ | modification, are permitted provided that the conditions mentioned | | in the accompanying LICENSE file are met. | +--------------------------------------------------------------------+ - | Copyright (c) 2004-2006, Michael Wallner | + | Copyright (c) 2004-2007, Michael Wallner | +--------------------------------------------------------------------+ */ diff --git a/http_request_info.c b/http_request_info.c index 69770ae..1100211 100644 --- a/http_request_info.c +++ b/http_request_info.c @@ -6,7 +6,7 @@ | modification, are permitted provided that the conditions mentioned | | in the accompanying LICENSE file are met. | +--------------------------------------------------------------------+ - | Copyright (c) 2004-2006, Michael Wallner | + | Copyright (c) 2004-2007, Michael Wallner | +--------------------------------------------------------------------+ */ diff --git a/http_request_method_api.c b/http_request_method_api.c index d9d3370..b587474 100644 --- a/http_request_method_api.c +++ b/http_request_method_api.c @@ -6,7 +6,7 @@ | modification, are permitted provided that the conditions mentioned | | in the accompanying LICENSE file are met. | +--------------------------------------------------------------------+ - | Copyright (c) 2004-2006, Michael Wallner | + | Copyright (c) 2004-2007, Michael Wallner | +--------------------------------------------------------------------+ */ diff --git a/http_request_object.c b/http_request_object.c index cd1a303..efb29fa 100644 --- a/http_request_object.c +++ b/http_request_object.c @@ -6,7 +6,7 @@ | modification, are permitted provided that the conditions mentioned | | in the accompanying LICENSE file are met. | +--------------------------------------------------------------------+ - | Copyright (c) 2004-2006, Michael Wallner | + | Copyright (c) 2004-2007, Michael Wallner | +--------------------------------------------------------------------+ */ diff --git a/http_request_pool_api.c b/http_request_pool_api.c index 83413d2..1c263af 100644 --- a/http_request_pool_api.c +++ b/http_request_pool_api.c @@ -6,7 +6,7 @@ | modification, are permitted provided that the conditions mentioned | | in the accompanying LICENSE file are met. | +--------------------------------------------------------------------+ - | Copyright (c) 2004-2006, Michael Wallner | + | Copyright (c) 2004-2007, Michael Wallner | +--------------------------------------------------------------------+ */ diff --git a/http_requestdatashare_object.c b/http_requestdatashare_object.c index eaa2186..be2d68d 100644 --- a/http_requestdatashare_object.c +++ b/http_requestdatashare_object.c @@ -6,7 +6,7 @@ | modification, are permitted provided that the conditions mentioned | | in the accompanying LICENSE file are met. | +--------------------------------------------------------------------+ - | Copyright (c) 2004-2006, Michael Wallner | + | Copyright (c) 2004-2007, Michael Wallner | +--------------------------------------------------------------------+ */ diff --git a/http_requestpool_object.c b/http_requestpool_object.c index 8e6369e..3e81a6a 100644 --- a/http_requestpool_object.c +++ b/http_requestpool_object.c @@ -6,7 +6,7 @@ | modification, are permitted provided that the conditions mentioned | | in the accompanying LICENSE file are met. | +--------------------------------------------------------------------+ - | Copyright (c) 2004-2006, Michael Wallner | + | Copyright (c) 2004-2007, Michael Wallner | +--------------------------------------------------------------------+ */ diff --git a/http_response_object.c b/http_response_object.c index a9f60c4..2bbef46 100644 --- a/http_response_object.c +++ b/http_response_object.c @@ -6,7 +6,7 @@ | modification, are permitted provided that the conditions mentioned | | in the accompanying LICENSE file are met. | +--------------------------------------------------------------------+ - | Copyright (c) 2004-2006, Michael Wallner | + | Copyright (c) 2004-2007, Michael Wallner | +--------------------------------------------------------------------+ */ diff --git a/http_send_api.c b/http_send_api.c index 76c60a4..ae7bc49 100644 --- a/http_send_api.c +++ b/http_send_api.c @@ -6,7 +6,7 @@ | modification, are permitted provided that the conditions mentioned | | in the accompanying LICENSE file are met. | +--------------------------------------------------------------------+ - | Copyright (c) 2004-2006, Michael Wallner | + | Copyright (c) 2004-2007, Michael Wallner | +--------------------------------------------------------------------+ */ diff --git a/http_url_api.c b/http_url_api.c index 1cd5bd4..30db604 100644 --- a/http_url_api.c +++ b/http_url_api.c @@ -6,7 +6,7 @@ | modification, are permitted provided that the conditions mentioned | | in the accompanying LICENSE file are met. | +--------------------------------------------------------------------+ - | Copyright (c) 2004-2006, Michael Wallner | + | Copyright (c) 2004-2007, Michael Wallner | +--------------------------------------------------------------------+ */ diff --git a/http_util_object.c b/http_util_object.c index a985dbb..16fe9ec 100644 --- a/http_util_object.c +++ b/http_util_object.c @@ -6,7 +6,7 @@ | modification, are permitted provided that the conditions mentioned | | in the accompanying LICENSE file are met. | +--------------------------------------------------------------------+ - | Copyright (c) 2004-2006, Michael Wallner | + | Copyright (c) 2004-2007, Michael Wallner | +--------------------------------------------------------------------+ */ diff --git a/missing.c b/missing.c index 0cc2619..40152b5 100644 --- a/missing.c +++ b/missing.c @@ -6,7 +6,7 @@ | modification, are permitted provided that the conditions mentioned | | in the accompanying LICENSE file are met. | +--------------------------------------------------------------------+ - | Copyright (c) 2004-2006, Michael Wallner | + | Copyright (c) 2004-2007, Michael Wallner | +--------------------------------------------------------------------+ */ diff --git a/missing.h b/missing.h index 2da5c37..547d11c 100644 --- a/missing.h +++ b/missing.h @@ -6,7 +6,7 @@ | modification, are permitted provided that the conditions mentioned | | in the accompanying LICENSE file are met. | +--------------------------------------------------------------------+ - | Copyright (c) 2004-2006, Michael Wallner | + | Copyright (c) 2004-2007, Michael Wallner | +--------------------------------------------------------------------+ */ diff --git a/package2.xml b/package2.xml index f90f022..82714db 100644 --- a/package2.xml +++ b/package2.xml @@ -41,7 +41,7 @@ support. Parallel requests are available for PHP 5 and greater. diff --git a/php_http.h b/php_http.h index c2e880f..62cb1bc 100644 --- a/php_http.h +++ b/php_http.h @@ -6,7 +6,7 @@ | modification, are permitted provided that the conditions mentioned | | in the accompanying LICENSE file are met. | +--------------------------------------------------------------------+ - | Copyright (c) 2004-2006, Michael Wallner | + | Copyright (c) 2004-2007, Michael Wallner | +--------------------------------------------------------------------+ */ diff --git a/php_http_api.h b/php_http_api.h index e991044..2de5abb 100644 --- a/php_http_api.h +++ b/php_http_api.h @@ -6,7 +6,7 @@ | modification, are permitted provided that the conditions mentioned | | in the accompanying LICENSE file are met. | +--------------------------------------------------------------------+ - | Copyright (c) 2004-2006, Michael Wallner | + | Copyright (c) 2004-2007, Michael Wallner | +--------------------------------------------------------------------+ */ diff --git a/php_http_cache_api.h b/php_http_cache_api.h index 518a5f8..d26710e 100644 --- a/php_http_cache_api.h +++ b/php_http_cache_api.h @@ -6,7 +6,7 @@ | modification, are permitted provided that the conditions mentioned | | in the accompanying LICENSE file are met. | +--------------------------------------------------------------------+ - | Copyright (c) 2004-2006, Michael Wallner | + | Copyright (c) 2004-2007, Michael Wallner | +--------------------------------------------------------------------+ */ diff --git a/php_http_cookie_api.h b/php_http_cookie_api.h index 48312b9..417e142 100644 --- a/php_http_cookie_api.h +++ b/php_http_cookie_api.h @@ -6,7 +6,7 @@ | modification, are permitted provided that the conditions mentioned | | in the accompanying LICENSE file are met. | +--------------------------------------------------------------------+ - | Copyright (c) 2004-2006, Michael Wallner | + | Copyright (c) 2004-2007, Michael Wallner | +--------------------------------------------------------------------+ */ diff --git a/php_http_date_api.h b/php_http_date_api.h index 948f6e8..9c7df8e 100644 --- a/php_http_date_api.h +++ b/php_http_date_api.h @@ -6,7 +6,7 @@ | modification, are permitted provided that the conditions mentioned | | in the accompanying LICENSE file are met. | +--------------------------------------------------------------------+ - | Copyright (c) 2004-2006, Michael Wallner | + | Copyright (c) 2004-2007, Michael Wallner | +--------------------------------------------------------------------+ */ diff --git a/php_http_deflatestream_object.h b/php_http_deflatestream_object.h index 0ce94d5..e3d3924 100644 --- a/php_http_deflatestream_object.h +++ b/php_http_deflatestream_object.h @@ -6,7 +6,7 @@ | modification, are permitted provided that the conditions mentioned | | in the accompanying LICENSE file are met. | +--------------------------------------------------------------------+ - | Copyright (c) 2004-2006, Michael Wallner | + | Copyright (c) 2004-2007, Michael Wallner | +--------------------------------------------------------------------+ */ diff --git a/php_http_encoding_api.h b/php_http_encoding_api.h index 4f0afd8..cd5766f 100644 --- a/php_http_encoding_api.h +++ b/php_http_encoding_api.h @@ -6,7 +6,7 @@ | modification, are permitted provided that the conditions mentioned | | in the accompanying LICENSE file are met. | +--------------------------------------------------------------------+ - | Copyright (c) 2004-2006, Michael Wallner | + | Copyright (c) 2004-2007, Michael Wallner | +--------------------------------------------------------------------+ */ diff --git a/php_http_exception_object.h b/php_http_exception_object.h index 9afaaf7..214b85d 100644 --- a/php_http_exception_object.h +++ b/php_http_exception_object.h @@ -6,7 +6,7 @@ | modification, are permitted provided that the conditions mentioned | | in the accompanying LICENSE file are met. | +--------------------------------------------------------------------+ - | Copyright (c) 2004-2006, Michael Wallner | + | Copyright (c) 2004-2007, Michael Wallner | +--------------------------------------------------------------------+ */ diff --git a/php_http_filter_api.h b/php_http_filter_api.h index 037a0ee..e94ba4b 100644 --- a/php_http_filter_api.h +++ b/php_http_filter_api.h @@ -6,7 +6,7 @@ | modification, are permitted provided that the conditions mentioned | | in the accompanying LICENSE file are met. | +--------------------------------------------------------------------+ - | Copyright (c) 2004-2006, Michael Wallner | + | Copyright (c) 2004-2007, Michael Wallner | +--------------------------------------------------------------------+ */ diff --git a/php_http_headers_api.h b/php_http_headers_api.h index 231f599..ab0c23d 100644 --- a/php_http_headers_api.h +++ b/php_http_headers_api.h @@ -6,7 +6,7 @@ | modification, are permitted provided that the conditions mentioned | | in the accompanying LICENSE file are met. | +--------------------------------------------------------------------+ - | Copyright (c) 2004-2006, Michael Wallner | + | Copyright (c) 2004-2007, Michael Wallner | +--------------------------------------------------------------------+ */ diff --git a/php_http_inflatestream_object.h b/php_http_inflatestream_object.h index 783cf8b..ae6a2ae 100644 --- a/php_http_inflatestream_object.h +++ b/php_http_inflatestream_object.h @@ -6,7 +6,7 @@ | modification, are permitted provided that the conditions mentioned | | in the accompanying LICENSE file are met. | +--------------------------------------------------------------------+ - | Copyright (c) 2004-2006, Michael Wallner | + | Copyright (c) 2004-2007, Michael Wallner | +--------------------------------------------------------------------+ */ diff --git a/php_http_info_api.h b/php_http_info_api.h index 4b6868e..923545d 100644 --- a/php_http_info_api.h +++ b/php_http_info_api.h @@ -6,7 +6,7 @@ | modification, are permitted provided that the conditions mentioned | | in the accompanying LICENSE file are met. | +--------------------------------------------------------------------+ - | Copyright (c) 2004-2006, Michael Wallner | + | Copyright (c) 2004-2007, Michael Wallner | +--------------------------------------------------------------------+ */ diff --git a/php_http_message_api.h b/php_http_message_api.h index 7857030..55e3a2a 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-2006, Michael Wallner | + | Copyright (c) 2004-2007, Michael Wallner | +--------------------------------------------------------------------+ */ diff --git a/php_http_message_object.h b/php_http_message_object.h index f7cdf74..17f05d8 100644 --- a/php_http_message_object.h +++ b/php_http_message_object.h @@ -6,7 +6,7 @@ | modification, are permitted provided that the conditions mentioned | | in the accompanying LICENSE file are met. | +--------------------------------------------------------------------+ - | Copyright (c) 2004-2006, Michael Wallner | + | Copyright (c) 2004-2007, Michael Wallner | +--------------------------------------------------------------------+ */ diff --git a/php_http_persistent_handle_api.h b/php_http_persistent_handle_api.h index 93ca5e5..7461b42 100644 --- a/php_http_persistent_handle_api.h +++ b/php_http_persistent_handle_api.h @@ -6,7 +6,7 @@ | modification, are permitted provided that the conditions mentioned | | in the accompanying LICENSE file are met. | +--------------------------------------------------------------------+ - | Copyright (c) 2004-2006, Michael Wallner | + | Copyright (c) 2004-2007, Michael Wallner | +--------------------------------------------------------------------+ */ diff --git a/php_http_querystring_api.h b/php_http_querystring_api.h index 2960b1d..0f536cf 100644 --- a/php_http_querystring_api.h +++ b/php_http_querystring_api.h @@ -6,7 +6,7 @@ | modification, are permitted provided that the conditions mentioned | | in the accompanying LICENSE file are met. | +--------------------------------------------------------------------+ - | Copyright (c) 2004-2006, Michael Wallner | + | Copyright (c) 2004-2007, Michael Wallner | +--------------------------------------------------------------------+ */ diff --git a/php_http_querystring_object.h b/php_http_querystring_object.h index 03531df..87614b1 100644 --- a/php_http_querystring_object.h +++ b/php_http_querystring_object.h @@ -6,7 +6,7 @@ | modification, are permitted provided that the conditions mentioned | | in the accompanying LICENSE file are met. | +--------------------------------------------------------------------+ - | Copyright (c) 2004-2006, Michael Wallner | + | Copyright (c) 2004-2007, Michael Wallner | +--------------------------------------------------------------------+ */ diff --git a/php_http_request_api.h b/php_http_request_api.h index d8dac5e..dfc50f6 100644 --- a/php_http_request_api.h +++ b/php_http_request_api.h @@ -6,7 +6,7 @@ | modification, are permitted provided that the conditions mentioned | | in the accompanying LICENSE file are met. | +--------------------------------------------------------------------+ - | Copyright (c) 2004-2006, Michael Wallner | + | Copyright (c) 2004-2007, Michael Wallner | +--------------------------------------------------------------------+ */ diff --git a/php_http_request_body_api.h b/php_http_request_body_api.h index ad698a5..02dd169 100644 --- a/php_http_request_body_api.h +++ b/php_http_request_body_api.h @@ -6,7 +6,7 @@ | modification, are permitted provided that the conditions mentioned | | in the accompanying LICENSE file are met. | +--------------------------------------------------------------------+ - | Copyright (c) 2004-2006, Michael Wallner | + | Copyright (c) 2004-2007, Michael Wallner | +--------------------------------------------------------------------+ */ diff --git a/php_http_request_datashare_api.h b/php_http_request_datashare_api.h index 07bb999..2d38aac 100644 --- a/php_http_request_datashare_api.h +++ b/php_http_request_datashare_api.h @@ -6,7 +6,7 @@ | modification, are permitted provided that the conditions mentioned | | in the accompanying LICENSE file are met. | +--------------------------------------------------------------------+ - | Copyright (c) 2004-2006, Michael Wallner | + | Copyright (c) 2004-2007, Michael Wallner | +--------------------------------------------------------------------+ */ diff --git a/php_http_request_int.h b/php_http_request_int.h index ae6c125..c45db8a 100644 --- a/php_http_request_int.h +++ b/php_http_request_int.h @@ -6,7 +6,7 @@ | modification, are permitted provided that the conditions mentioned | | in the accompanying LICENSE file are met. | +--------------------------------------------------------------------+ - | Copyright (c) 2004-2006, Michael Wallner | + | Copyright (c) 2004-2007, Michael Wallner | +--------------------------------------------------------------------+ */ diff --git a/php_http_request_method_api.h b/php_http_request_method_api.h index 3941d54..e93803a 100644 --- a/php_http_request_method_api.h +++ b/php_http_request_method_api.h @@ -6,7 +6,7 @@ | modification, are permitted provided that the conditions mentioned | | in the accompanying LICENSE file are met. | +--------------------------------------------------------------------+ - | Copyright (c) 2004-2006, Michael Wallner | + | Copyright (c) 2004-2007, Michael Wallner | +--------------------------------------------------------------------+ */ diff --git a/php_http_request_object.h b/php_http_request_object.h index 352ad51..d959a47 100644 --- a/php_http_request_object.h +++ b/php_http_request_object.h @@ -6,7 +6,7 @@ | modification, are permitted provided that the conditions mentioned | | in the accompanying LICENSE file are met. | +--------------------------------------------------------------------+ - | Copyright (c) 2004-2006, Michael Wallner | + | Copyright (c) 2004-2007, Michael Wallner | +--------------------------------------------------------------------+ */ diff --git a/php_http_request_pool_api.h b/php_http_request_pool_api.h index 8477255..4523b49 100644 --- a/php_http_request_pool_api.h +++ b/php_http_request_pool_api.h @@ -6,7 +6,7 @@ | modification, are permitted provided that the conditions mentioned | | in the accompanying LICENSE file are met. | +--------------------------------------------------------------------+ - | Copyright (c) 2004-2006, Michael Wallner | + | Copyright (c) 2004-2007, Michael Wallner | +--------------------------------------------------------------------+ */ diff --git a/php_http_requestdatashare_object.h b/php_http_requestdatashare_object.h index 304b2da..9c0dd37 100644 --- a/php_http_requestdatashare_object.h +++ b/php_http_requestdatashare_object.h @@ -6,7 +6,7 @@ | modification, are permitted provided that the conditions mentioned | | in the accompanying LICENSE file are met. | +--------------------------------------------------------------------+ - | Copyright (c) 2004-2006, Michael Wallner | + | Copyright (c) 2004-2007, Michael Wallner | +--------------------------------------------------------------------+ */ diff --git a/php_http_requestpool_object.h b/php_http_requestpool_object.h index 7c7f694..ba0c900 100644 --- a/php_http_requestpool_object.h +++ b/php_http_requestpool_object.h @@ -6,7 +6,7 @@ | modification, are permitted provided that the conditions mentioned | | in the accompanying LICENSE file are met. | +--------------------------------------------------------------------+ - | Copyright (c) 2004-2006, Michael Wallner | + | Copyright (c) 2004-2007, Michael Wallner | +--------------------------------------------------------------------+ */ diff --git a/php_http_response_object.h b/php_http_response_object.h index 60c4257..4f11c01 100644 --- a/php_http_response_object.h +++ b/php_http_response_object.h @@ -6,7 +6,7 @@ | modification, are permitted provided that the conditions mentioned | | in the accompanying LICENSE file are met. | +--------------------------------------------------------------------+ - | Copyright (c) 2004-2006, Michael Wallner | + | Copyright (c) 2004-2007, Michael Wallner | +--------------------------------------------------------------------+ */ diff --git a/php_http_send_api.h b/php_http_send_api.h index 98fb37b..5d75ee8 100644 --- a/php_http_send_api.h +++ b/php_http_send_api.h @@ -6,7 +6,7 @@ | modification, are permitted provided that the conditions mentioned | | in the accompanying LICENSE file are met. | +--------------------------------------------------------------------+ - | Copyright (c) 2004-2006, Michael Wallner | + | Copyright (c) 2004-2007, Michael Wallner | +--------------------------------------------------------------------+ */ diff --git a/php_http_std_defs.h b/php_http_std_defs.h index 0d97c4d..bf16328 100644 --- a/php_http_std_defs.h +++ b/php_http_std_defs.h @@ -6,7 +6,7 @@ | modification, are permitted provided that the conditions mentioned | | in the accompanying LICENSE file are met. | +--------------------------------------------------------------------+ - | Copyright (c) 2004-2006, Michael Wallner | + | Copyright (c) 2004-2007, Michael Wallner | +--------------------------------------------------------------------+ */ diff --git a/php_http_url_api.h b/php_http_url_api.h index 4d5cb46..84ee414 100644 --- a/php_http_url_api.h +++ b/php_http_url_api.h @@ -6,7 +6,7 @@ | modification, are permitted provided that the conditions mentioned | | in the accompanying LICENSE file are met. | +--------------------------------------------------------------------+ - | Copyright (c) 2004-2006, Michael Wallner | + | Copyright (c) 2004-2007, Michael Wallner | +--------------------------------------------------------------------+ */ diff --git a/php_http_util_object.h b/php_http_util_object.h index 07fe6f7..7b72b5f 100644 --- a/php_http_util_object.h +++ b/php_http_util_object.h @@ -6,7 +6,7 @@ | modification, are permitted provided that the conditions mentioned | | in the accompanying LICENSE file are met. | +--------------------------------------------------------------------+ - | Copyright (c) 2004-2006, Michael Wallner | + | Copyright (c) 2004-2007, Michael Wallner | +--------------------------------------------------------------------+ */ diff --git a/phpstr/phpstr.h b/phpstr/phpstr.h index 259cab2..6844dd2 100644 --- a/phpstr/phpstr.h +++ b/phpstr/phpstr.h @@ -12,6 +12,14 @@ #define PHPSTR_NOMEM ((size_t) -1) +#ifndef STR_FREE +# define STR_FREE(STR) \ + { \ + if (STR) { \ + efree(STR); \ + } \ + } +#endif #ifndef STR_SET # define STR_SET(STR, SET) \ { \ @@ -19,6 +27,23 @@ STR = SET; \ } #endif +#ifndef TSRMLS_D +# define TSRMLS_D +# define TSRMLS_DC +# define TSRMLS_CC +# define TSRMLS_C +#endif +#ifdef PHP_ATTRIBUTE_FORMAT +# define PHPSTR_ATTRIBUTE_FORMAT(f, a, b) PHP_ATTRIBUTE_FORMAT(f, a, b) +#else +# define PHPSTR_ATTRIBUTE_FORMAT(f, a, b) +#endif +#ifndef pemalloc +# define pemalloc(s,p) malloc(s) +# define pefree(x,p) free(x) +# define perealloc(x,s,p) erealloc(x,s) +# define perealloc_recoverable perealloc +#endif #if defined(PHP_WIN32) # if defined(PHPSTR_EXPORTS) @@ -117,19 +142,19 @@ PHPSTR_API size_t phpstr_shrink(phpstr *buf); #define phpstr_appends(b, a) phpstr_append((b), (a), sizeof(a)-1) #define phpstr_appendl(b, a) phpstr_append((b), (a), strlen(a)) PHPSTR_API size_t phpstr_append(phpstr *buf, const char *append, size_t append_len); -PHPSTR_API size_t phpstr_appendf(phpstr *buf, const char *format, ...) PHP_ATTRIBUTE_FORMAT(printf, 2, 3); +PHPSTR_API size_t phpstr_appendf(phpstr *buf, const char *format, ...) PHPSTR_ATTRIBUTE_FORMAT(printf, 2, 3); /* insert data at a specific position of the phpstr */ #define phpstr_inserts(b, i, o) phpstr_insert((b), (i), sizeof(i)-1, (o)) #define phpstr_insertl(b, i, o) phpstr_insert((b), (i), strlen(i), (o)) PHPSTR_API size_t phpstr_insert(phpstr *buf, const char *insert, size_t insert_len, size_t offset); -PHPSTR_API size_t phpstr_insertf(phpstr *buf, size_t offset, const char *format, ...) PHP_ATTRIBUTE_FORMAT(printf, 3, 4); +PHPSTR_API size_t phpstr_insertf(phpstr *buf, size_t offset, const char *format, ...) PHPSTR_ATTRIBUTE_FORMAT(printf, 3, 4); /* prepend data */ #define phpstr_prepends(b, p) phpstr_prepend((b), (p), sizeof(p)-1) #define phpstr_prependl(b, p) phpstr_prepend((b), (p), strlen(p)) PHPSTR_API size_t phpstr_prepend(phpstr *buf, const char *prepend, size_t prepend_len); -PHPSTR_API size_t phpstr_prependf(phpstr *buf, const char *format, ...) PHP_ATTRIBUTE_FORMAT(printf, 2, 3); +PHPSTR_API size_t phpstr_prependf(phpstr *buf, const char *format, ...) PHPSTR_ATTRIBUTE_FORMAT(printf, 2, 3); /* get a zero-terminated string */ PHPSTR_API char *phpstr_data(const phpstr *buf, char **into, size_t *len); -- 2.30.2