X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=php_http_request_datashare.c;h=182ff1add60dbe72fd4292a907a1a25eede83a7b;hb=a458b9a25cf0ec9b4d8bde2b22e43c44d71427c8;hp=dec1ffa251faa7c328f38a7459bff307f7d15112;hpb=a07b79b1871054ca17e48b69445b4dc201f24662;p=m6w6%2Fext-http diff --git a/php_http_request_datashare.c b/php_http_request_datashare.c index dec1ffa..182ff1a 100644 --- a/php_http_request_datashare.c +++ b/php_http_request_datashare.c @@ -1,3 +1,14 @@ +/* + +--------------------------------------------------------------------+ + | PECL :: http | + +--------------------------------------------------------------------+ + | Redistribution and use in source and binary forms, with or without | + | modification, are permitted provided that the conditions mentioned | + | in the accompanying LICENSE file are met. | + +--------------------------------------------------------------------+ + | Copyright (c) 2004-2011, Michael Wallner | + +--------------------------------------------------------------------+ +*/ #include "php_http.h" @@ -346,7 +357,7 @@ PHP_METHOD(HttpRequestDataShare, reset) PHP_MINIT_FUNCTION(http_request_datashare) { - PHP_HTTP_REGISTER_CLASS(http\\request, DataShare, http_request_datashare, php_http_object_class_entry, 0); + PHP_HTTP_REGISTER_CLASS(http\\Request, DataShare, http_request_datashare, php_http_object_class_entry, 0); php_http_request_datashare_class_entry->create_object = php_http_request_datashare_object_new; memcpy(&php_http_request_datashare_object_handlers, zend_get_std_object_handlers(), sizeof(zend_object_handlers)); php_http_request_datashare_object_handlers.clone_obj = NULL; @@ -391,3 +402,13 @@ PHP_RSHUTDOWN_FUNCTION(http_request_datashare) return SUCCESS; } + +/* + * Local variables: + * tab-width: 4 + * c-basic-offset: 4 + * End: + * vim600: noet sw=4 ts=4 fdm=marker + * vim<600: noet sw=4 ts=4 + */ +