X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-http;a=blobdiff_plain;f=php_http_object.h;h=0ebd33cc03a99509cf93b408c20979f12ea6c534;hp=975d1503743c37d6011c21371d1481da9cf97ca1;hb=bd80b17b026a00a254ee8693cd7bacf1ebdec4cf;hpb=7181a2f2237aaea07a2c25a1255f77a6d6719a89 diff --git a/php_http_object.h b/php_http_object.h index 975d150..0ebd33c 100644 --- a/php_http_object.h +++ b/php_http_object.h @@ -15,19 +15,18 @@ typedef zend_object_value (*php_http_new_t)(zend_class_entry *ce, void *, void ** TSRMLS_DC); -extern STATUS php_http_new(zend_object_value *ov, zend_class_entry *ce, php_http_new_t create, zend_class_entry *parent_ce, void *intern_ptr, void **obj_ptr TSRMLS_DC); +PHP_HTTP_API STATUS php_http_new(zend_object_value *ov, zend_class_entry *ce, php_http_new_t create, zend_class_entry *parent_ce, void *intern_ptr, void **obj_ptr TSRMLS_DC); typedef struct php_http_object { zend_object zo; } php_http_object_t; -extern zend_class_entry *php_http_object_class_entry; -extern zend_function_entry php_http_object_method_entry[]; +zend_class_entry *php_http_object_get_class_entry(void); -extern PHP_MINIT_FUNCTION(http_object); +PHP_MINIT_FUNCTION(http_object); -extern zend_object_value php_http_object_new(zend_class_entry *ce TSRMLS_DC); -extern zend_object_value php_http_object_new_ex(zend_class_entry *ce, void *nothing, php_http_object_t **ptr TSRMLS_DC); +zend_object_value php_http_object_new(zend_class_entry *ce TSRMLS_DC); +zend_object_value php_http_object_new_ex(zend_class_entry *ce, void *nothing, php_http_object_t **ptr TSRMLS_DC); PHP_HTTP_API zend_error_handling_t php_http_object_get_error_handling(zval *object TSRMLS_DC);