|
ZOO-Project
|
#include <sapi/embed/php_embed.h>#include <zend_stream.h>#include "service_internal_php.h"#include "response_print.h"Macros | |
| #define | ZEND_DEBUG 0 |
| #define | ZOO_G(v) (zoo_globals.v) |
| #define | PHP_ZOO_VERSION "1.0" |
| #define | PHP_ZOO_EXTNAME "ZOO" |
| #define | phpext_zoo_ptr &zoo_entry |
Functions | |
| zval * | php_Array_from_maps (maps *t) |
| Convert a maps to a php Array. More... | |
| zval * | php_Array_from_map (map *t) |
| Convert a map to a php Array. More... | |
| maps * | php_maps_from_Array (HashTable *t) |
| Convert a php Array to a maps. More... | |
| map * | php_map_from_HasTable (HashTable *t) |
| Convert a php Array to a map. More... | |
| PHP_MINIT_FUNCTION (zoo) | |
| PHP_MSHUTDOWN_FUNCTION (zoo) | |
| PHP_RINIT_FUNCTION (zoo) | |
| PHP_FUNCTION (zoo_Translate) | |
| PHP_FUNCTION (zoo_UpdateStatus) | |
| PHP_FUNCTION (zoo_SERVICE_SUCCEEDED) | |
| PHP_FUNCTION (zoo_SERVICE_FAILED) | |
| static void | php_zoo_init_globals (zend_zoo_globals *zoo_globals) |
| int | zoo_php_support (maps **main_conf, map *request, service *s, maps **real_inputs, maps **real_outputs) |
| Load a PHP script then run the function corresponding to the service by passing the conf, inputs and outputs parameters by reference. More... | |
Variables | |
| long | _SERVICE_SUCCEEDED |
| long | _SERVICE_FAILED |
| zend_module_entry | zoo_module_entry |
| static zend_function_entry | zoo_functions [] |
Macro Definition Documentation
| #define PHP_ZOO_EXTNAME "ZOO" |
| #define PHP_ZOO_VERSION "1.0" |
| #define phpext_zoo_ptr &zoo_entry |
| #define ZEND_DEBUG 0 |
| #define ZOO_G | ( | v | ) | (zoo_globals.v) |
Function Documentation
| zval * php_Array_from_map | ( | map * | t | ) |
Convert a map to a php Array.
- Parameters
-
t the map to convert
- Returns
- the php Array
| zval * php_Array_from_maps | ( | maps * | t | ) |
Convert a maps to a php Array.
- Parameters
-
t the maps to convert
- Returns
- the php Array
| PHP_FUNCTION | ( | zoo_Translate | ) |
| PHP_FUNCTION | ( | zoo_UpdateStatus | ) |
| PHP_FUNCTION | ( | zoo_SERVICE_SUCCEEDED | ) |
| PHP_FUNCTION | ( | zoo_SERVICE_FAILED | ) |
| map * php_map_from_HasTable | ( | HashTable * | t | ) |
Convert a php Array to a map.
- Parameters
-
t the php Array to convert
- Returns
- the created map
Duplicate the zval so that * the orignalâs contents are not destroyed
Reset refcount & Convert
| maps * php_maps_from_Array | ( | HashTable * | t | ) |
Convert a php Array to a maps.
- Parameters
-
t the php Array to convert
- Returns
- the created maps
Should never actually fail since the key is known to exist.
Duplicate the zval so that * the orignalâs contents are not destroyed
Reset refcount & Convert
String Key / Associative
Toss out old copy
| PHP_MINIT_FUNCTION | ( | zoo | ) |
| PHP_MSHUTDOWN_FUNCTION | ( | zoo | ) |
| PHP_RINIT_FUNCTION | ( | zoo | ) |
|
static |
| int zoo_php_support | ( | maps ** | main_conf, |
| map * | request, | ||
| service * | s, | ||
| maps ** | real_inputs, | ||
| maps ** | real_outputs | ||
| ) |
Load a PHP script then run the function corresponding to the service by passing the conf, inputs and outputs parameters by reference.
- Parameters
-
main_conf the conf maps containing the main.cfg settings request the map containing the HTTP request s the service structure real_inputs the maps containing the inputs real_outputs the maps containing the outputs
Variable Documentation
| long _SERVICE_FAILED |
| long _SERVICE_SUCCEEDED |
|
static |
Initial value:
= {
PHP_FE(zoo_SERVICE_FAILED, NULL)
{NULL, NULL, NULL}
}
| zend_module_entry zoo_module_entry |
Initial value:
= {
PHP_MINIT(zoo),
PHP_MSHUTDOWN(zoo),
PHP_RINIT(zoo),
NULL,
NULL,
STANDARD_MODULE_PROPERTIES
}
Generated on Fri Sep 18 2026 19:00:02 for ZOO-Project by
1.8.9.1














