X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-http;a=blobdiff_plain;f=php_http_exception_object.h;h=478aa25686df8d3eb54f83f74e8abf24525531d6;hp=f309035429a44fd78bc1717ae9cbc01098cbc553;hb=68dc6489387c3f5429fc7a85d2a02c2ad2957c44;hpb=781c90c0447166dd52ef881ae15751fa466c32fb diff --git a/php_http_exception_object.h b/php_http_exception_object.h index f309035..478aa25 100644 --- a/php_http_exception_object.h +++ b/php_http_exception_object.h @@ -1,16 +1,13 @@ /* - +----------------------------------------------------------------------+ - | PECL :: http | - +----------------------------------------------------------------------+ - | This source file is subject to version 3.0 of the PHP license, that | - | is bundled with this package in the file LICENSE, and is available | - | through the world-wide-web at http://www.php.net/license/3_0.txt. | - | If you did not receive a copy of the PHP license and are unable to | - | obtain it through the world-wide-web, please send a note to | - | license@php.net so we can mail you a copy immediately. | - +----------------------------------------------------------------------+ - | Copyright (c) 2004-2005 Michael Wallner | - +----------------------------------------------------------------------+ + +--------------------------------------------------------------------+ + | 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-2005, Michael Wallner | + +--------------------------------------------------------------------+ */ /* $Id$ */ @@ -19,12 +16,13 @@ #define PHP_HTTP_EXCEPTION_OBJECT_H #ifdef ZEND_ENGINE_2 +#include "zend_exceptions.h" + +PHP_MINIT_FUNCTION(http_exception_object); + extern zend_class_entry *http_exception_object_ce; extern zend_function_entry http_exception_object_fe[]; -#define http_exception_object_init() _http_exception_object_init(INIT_FUNC_ARGS_PASSTHRU) -extern void _http_exception_object_init(INIT_FUNC_ARGS); - #define http_exception_get_default _http_exception_get_default extern zend_class_entry *_http_exception_get_default();