Go to the source code of this file.
Macros | |
#define | PHP_GRPC_ADD_BOOL_TO_ARRAY(val, key, key_len, str) add_assoc_bool_ex(val, key, key_len - 1, str); |
#define | PHP_GRPC_ADD_LONG_TO_ARRAY(val, key, key_len, str) add_assoc_long_ex(val, key, key_len - 1, str); |
#define | PHP_GRPC_ADD_LONG_TO_RETVAL(val, key, key_len, str) add_assoc_long_ex(val, key, key_len, str); |
#define | php_grpc_add_next_index_stringl(data, str, len, b) add_next_index_stringl(data, str, len) |
#define | php_grpc_add_property_string(arg, name, context, b) add_property_string(arg, name, context) |
#define | php_grpc_add_property_stringl(res, name, str, len, b) add_property_stringl(res, name, str, len) |
#define | php_grpc_add_property_zval(res, name, val) |
#define | PHP_GRPC_ADD_STRING_TO_ARRAY(val, key, key_len, str, dup) add_assoc_string_ex(val, key, key_len - 1, str); |
#define | PHP_GRPC_ALLOC_CLASS_OBJECT(class_object) |
#define | PHP_GRPC_BVAL_IS_TRUE(zv) Z_TYPE_P(zv) == IS_TRUE |
#define | PHP_GRPC_DECLARE_OBJECT_HANDLER(handler_name) static zend_object_handlers handler_name; |
#define | PHP_GRPC_DELREF(zv) |
#define | PHP_GRPC_FREE_CLASS_OBJECT(class_object, handler) |
#define | PHP_GRPC_FREE_STD_ZVAL(pzv) efree(pzv); |
#define | PHP_GRPC_FREE_WRAPPED_FUNC_END() |
#define | PHP_GRPC_FREE_WRAPPED_FUNC_START(class_object) |
#define | PHP_GRPC_GET_CLASS_ENTRY(object) Z_OBJ_P(object)->ce |
#define | PHP_GRPC_GET_WRAPPED_OBJECT(class_object, zv) class_object##_from_obj(Z_OBJ_P((zv))) |
#define | PHP_GRPC_HASH_FOREACH_END() } ZEND_HASH_FOREACH_END(); |
#define | PHP_GRPC_HASH_FOREACH_LONG_KEY_VAL_START(ht, key, key_type, index, data) |
#define | PHP_GRPC_HASH_FOREACH_STR_KEY_VAL_START(ht, key, key_type, data) |
#define | PHP_GRPC_HASH_FOREACH_VAL_START(ht, data) ZEND_HASH_FOREACH_VAL(ht, data) { |
#define | PHP_GRPC_HASH_VALPTR_TO_VAL(data) Z_PTR_P(data); |
#define | PHP_GRPC_INIT_HANDLER(class_object, handler_name) |
#define | php_grpc_int size_t |
#define | php_grpc_long zend_long |
#define | PHP_GRPC_MAKE_STD_ZVAL(pzv) pzv = (zval *)emalloc(sizeof(zval)); |
#define | PHP_GRPC_PERSISTENT_LIST_FIND(plist, key, len, rsrc) (rsrc = zend_hash_str_find_ptr(plist, key, len)) != NULL |
#define | PHP_GRPC_PERSISTENT_LIST_SIZE(plist) zend_array_count(plist) |
#define | PHP_GRPC_PERSISTENT_LIST_UPDATE(plist, key, len, rsrc) |
#define | PHP_GRPC_RETURN_STRING(val, dup) RETURN_STRING(val) |
#define | PHP_GRPC_RETVAL_STRING(val, dup) RETVAL_STRING(val) |
#define | PHP_GRPC_SERIALIZED_BUF_LEN(buf) ZSTR_LEN(buf.s) |
#define | PHP_GRPC_SERIALIZED_BUF_STR(buf) ZSTR_VAL(buf.s) |
#define | PHP_GRPC_SHA1Update(cxt, str, len) PHP_SHA1Update(cxt, (unsigned char *)str, len) |
#define | php_grpc_ulong zend_ulong |
#define | PHP_GRPC_VAR_SERIALIZE(buf, zv, hash) php_var_serialize(buf, zv, hash) |
#define | PHP_GRPC_WRAP_OBJECT_END(name) |
#define | PHP_GRPC_WRAP_OBJECT_START(name) typedef struct name { |
#define | php_grpc_zend_object zend_object* |
#define | php_grpc_zend_resource zend_resource |
#define | RETURN_DESTROY_ZVAL(val) |
#define | WRAPPED_OBJECT_FROM_OBJ(class_object, obj) class_object##_from_obj(obj); |
Functions | |
static int | php_grpc_zend_hash_del (HashTable *ht, char *key, int len) |
static int | php_grpc_zend_hash_find (HashTable *ht, char *key, int len, void **value) |
#define PHP_GRPC_ADD_BOOL_TO_ARRAY | ( | val, | |
key, | |||
key_len, | |||
str | |||
) | add_assoc_bool_ex(val, key, key_len - 1, str); |
Definition at line 50 of file php7_wrapper.h.
#define PHP_GRPC_ADD_LONG_TO_ARRAY | ( | val, | |
key, | |||
key_len, | |||
str | |||
) | add_assoc_long_ex(val, key, key_len - 1, str); |
Definition at line 48 of file php7_wrapper.h.
#define PHP_GRPC_ADD_LONG_TO_RETVAL | ( | val, | |
key, | |||
key_len, | |||
str | |||
) | add_assoc_long_ex(val, key, key_len, str); |
Definition at line 52 of file php7_wrapper.h.
#define php_grpc_add_next_index_stringl | ( | data, | |
str, | |||
len, | |||
b | |||
) | add_next_index_stringl(data, str, len) |
Definition at line 37 of file php7_wrapper.h.
#define php_grpc_add_property_string | ( | arg, | |
name, | |||
context, | |||
b | |||
) | add_property_string(arg, name, context) |
Definition at line 28 of file php7_wrapper.h.
#define php_grpc_add_property_stringl | ( | res, | |
name, | |||
str, | |||
len, | |||
b | |||
) | add_property_stringl(res, name, str, len) |
Definition at line 30 of file php7_wrapper.h.
#define php_grpc_add_property_zval | ( | res, | |
name, | |||
val | |||
) |
Definition at line 32 of file php7_wrapper.h.
#define PHP_GRPC_ADD_STRING_TO_ARRAY | ( | val, | |
key, | |||
key_len, | |||
str, | |||
dup | |||
) | add_assoc_string_ex(val, key, key_len - 1, str); |
Definition at line 46 of file php7_wrapper.h.
#define PHP_GRPC_ALLOC_CLASS_OBJECT | ( | class_object | ) |
Definition at line 77 of file php7_wrapper.h.
#define PHP_GRPC_BVAL_IS_TRUE | ( | zv | ) | Z_TYPE_P(zv) == IS_TRUE |
Definition at line 123 of file php7_wrapper.h.
#define PHP_GRPC_DECLARE_OBJECT_HANDLER | ( | handler_name | ) | static zend_object_handlers handler_name; |
Definition at line 146 of file php7_wrapper.h.
#define PHP_GRPC_DELREF | ( | zv | ) |
Definition at line 45 of file php7_wrapper.h.
#define PHP_GRPC_FREE_CLASS_OBJECT | ( | class_object, | |
handler | |||
) |
Definition at line 82 of file php7_wrapper.h.
#define PHP_GRPC_FREE_STD_ZVAL | ( | pzv | ) | efree(pzv); |
Definition at line 44 of file php7_wrapper.h.
#define PHP_GRPC_FREE_WRAPPED_FUNC_END | ( | ) |
Definition at line 73 of file php7_wrapper.h.
#define PHP_GRPC_FREE_WRAPPED_FUNC_START | ( | class_object | ) |
Definition at line 70 of file php7_wrapper.h.
#define PHP_GRPC_GET_CLASS_ENTRY | ( | object | ) | Z_OBJ_P(object)->ce |
Definition at line 138 of file php7_wrapper.h.
#define PHP_GRPC_GET_WRAPPED_OBJECT | ( | class_object, | |
zv | |||
) | class_object##_from_obj(Z_OBJ_P((zv))) |
Definition at line 149 of file php7_wrapper.h.
#define PHP_GRPC_HASH_FOREACH_END | ( | ) | } ZEND_HASH_FOREACH_END(); |
Definition at line 105 of file php7_wrapper.h.
Definition at line 86 of file php7_wrapper.h.
Definition at line 95 of file php7_wrapper.h.
#define PHP_GRPC_INIT_HANDLER | ( | class_object, | |
handler_name | |||
) |
Definition at line 140 of file php7_wrapper.h.
#define php_grpc_int size_t |
Definition at line 24 of file php7_wrapper.h.
#define php_grpc_long zend_long |
Definition at line 25 of file php7_wrapper.h.
#define PHP_GRPC_MAKE_STD_ZVAL | ( | pzv | ) | pzv = (zval *)emalloc(sizeof(zval)); |
Definition at line 42 of file php7_wrapper.h.
#define PHP_GRPC_PERSISTENT_LIST_FIND | ( | plist, | |
key, | |||
len, | |||
rsrc | |||
) | (rsrc = zend_hash_str_find_ptr(plist, key, len)) != NULL |
Definition at line 130 of file php7_wrapper.h.
#define PHP_GRPC_PERSISTENT_LIST_SIZE | ( | plist | ) | zend_array_count(plist) |
Definition at line 135 of file php7_wrapper.h.
Definition at line 132 of file php7_wrapper.h.
#define PHP_GRPC_RETURN_STRING | ( | val, | |
dup | |||
) | RETURN_STRING(val) |
Definition at line 41 of file php7_wrapper.h.
#define PHP_GRPC_RETVAL_STRING | ( | val, | |
dup | |||
) | RETVAL_STRING(val) |
Definition at line 40 of file php7_wrapper.h.
#define PHP_GRPC_SERIALIZED_BUF_LEN | ( | buf | ) | ZSTR_LEN(buf.s) |
Definition at line 127 of file php7_wrapper.h.
#define PHP_GRPC_SERIALIZED_BUF_STR | ( | buf | ) | ZSTR_VAL(buf.s) |
Definition at line 126 of file php7_wrapper.h.
Definition at line 128 of file php7_wrapper.h.
#define php_grpc_ulong zend_ulong |
Definition at line 26 of file php7_wrapper.h.
Definition at line 124 of file php7_wrapper.h.
#define PHP_GRPC_WRAP_OBJECT_END | ( | name | ) |
Definition at line 63 of file php7_wrapper.h.
Definition at line 61 of file php7_wrapper.h.
#define php_grpc_zend_object zend_object* |
Definition at line 27 of file php7_wrapper.h.
#define php_grpc_zend_resource zend_resource |
Definition at line 121 of file php7_wrapper.h.
#define RETURN_DESTROY_ZVAL | ( | val | ) |
Definition at line 55 of file php7_wrapper.h.
Definition at line 67 of file php7_wrapper.h.
Definition at line 118 of file php7_wrapper.h.
|
inlinestatic |
Definition at line 107 of file php7_wrapper.h.