ZOO-Project: service_internal_php.c File Reference
ZOO-Project
service_internal_php.c File Reference
#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...
 
mapsphp_maps_from_Array (HashTable *t)
 Convert a php Array to a maps. More...
 
mapphp_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

Search

Context Navigation

ZOO Sponsors

http://www.zoo-project.org/trac/chrome/site/img/geolabs-logo.pnghttp://www.zoo-project.org/trac/chrome/site/img/neogeo-logo.png http://www.zoo-project.org/trac/chrome/site/img/apptech-logo.png http://www.zoo-project.org/trac/chrome/site/img/3liz-logo.png http://www.zoo-project.org/trac/chrome/site/img/gateway-logo.png

Become a sponsor !

Knowledge partners

http://www.zoo-project.org/trac/chrome/site/img/ocu-logo.png http://www.zoo-project.org/trac/chrome/site/img/gucas-logo.png http://www.zoo-project.org/trac/chrome/site/img/polimi-logo.png http://www.zoo-project.org/trac/chrome/site/img/fem-logo.png http://www.zoo-project.org/trac/chrome/site/img/supsi-logo.png http://www.zoo-project.org/trac/chrome/site/img/cumtb-logo.png

Become a knowledge partner

Related links

http://zoo-project.org/img/ogclogo.png http://zoo-project.org/img/osgeologo.png