projects
/
m6w6
/
ext-http
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
| inline |
side by side
fix crash: options might be null
[m6w6/ext-http]
/
php_http_client.h
diff --git
a/php_http_client.h
b/php_http_client.h
index 4fdef597404f2190ec97f4518f9a50e2cc0e2791..12e557eef59cc9dfa6cad73b5e286c3234840c56 100644
(file)
--- a/
php_http_client.h
+++ b/
php_http_client.h
@@
-136,6
+136,8
@@
typedef struct php_http_client_ops {
php_http_client_exec_func_t exec;
php_http_client_setopt_func_t setopt;
php_http_client_getopt_func_t getopt;
+ php_http_new_t create_object;
+ zend_class_entry *(*class_entry)(void);
} php_http_client_ops_t;
typedef struct php_http_client {