X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=php_http_object.h;fp=php_http_object.h;h=0000000000000000000000000000000000000000;hb=bdd6edb59194cda9e5fcb393c48ab4230fceb32a;hp=3f75932f7fb1239df0c4e4a0b46ebb182eb746fa;hpb=c05ef71b26a8d16bf5af2bd8275e08ba5ae02b52;p=m6w6%2Fext-http diff --git a/php_http_object.h b/php_http_object.h deleted file mode 100644 index 3f75932..0000000 --- a/php_http_object.h +++ /dev/null @@ -1,49 +0,0 @@ -/* - +--------------------------------------------------------------------+ - | 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-2014, Michael Wallner | - +--------------------------------------------------------------------+ -*/ - -#ifndef PHP_HTTP_OBJECT_H -#define PHP_HTTP_OBJECT_H - -typedef struct php_http_object { - zend_object zo; - zend_object_value zv; -} php_http_object_t; - -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); - -typedef zend_object_value (*php_http_new_t)(zend_class_entry *ce, void *, void ** TSRMLS_DC); - -ZEND_RESULT_CODE 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_method { - zend_fcall_info fci; - zend_fcall_info_cache fcc; -} php_http_object_method_t; - -php_http_object_method_t *php_http_object_method_init(php_http_object_method_t *cb, zval *zobject, const char *method_str, size_t method_len TSRMLS_DC); -ZEND_RESULT_CODE php_http_object_method_call(php_http_object_method_t *cb, zval *zobject, zval **retval, int argc, zval ***args TSRMLS_DC); -void php_http_object_method_dtor(php_http_object_method_t *cb); -void php_http_object_method_free(php_http_object_method_t **cb); - -#endif - - -/* - * 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 - */ -