ZOO-Project: service_internal_js.c File Reference
ZOO-Project
service_internal_js.c File Reference

Macros

#define JSCLSAS_GLOBAL_FLAGS   0
 

Functions

JSBool JSAlert (JSContext *cx, uintN argc, jsval *argv1)
 The function used as alert from the JavaScript environment (ZOO-API) More...
 
JSBool JSLoadScripts (JSContext *cx, uintN argc, jsval *argv1)
 The function used as importScript from the JavaScript environment (ZOO-API) More...
 
int zoo_js_support (maps **main_conf, map *request, service *s, maps **inputs, maps **outputs)
 Load a JavaScript file then run the function corresponding to the service by passing the conf, inputs and outputs parameters by value as JavaScript Objects. More...
 
JSObject * loadZooApiFile (JSContext *cx, JSObject *global, char *filename)
 Load a JavaScript file. More...
 
JSObject * JSObject_FromMaps (JSContext *cx, maps *t)
 Convert a maps to a JavaScript Object. More...
 
JSObject * JSObject_FromMap (JSContext *cx, map *t)
 Convert a map to a JavaScript Object. More...
 
mapsmapsFromJSObject (JSContext *cx, jsval t)
 Convert a JavaScript Object to a maps. More...
 
mapmapFromJSObject (JSContext *cx, jsval t)
 Convert a JavaScript Object to a map. More...
 
void reportError (JSContext *cx, const char *message, JSErrorReport *report)
 Print debug information messages on stderr. More...
 
char * JSValToChar (JSContext *context, jsval *arg)
 Convert a JavaScript value to a char*. More...
 
HINTERNET setHeader (HINTERNET *handle, JSContext *cx, JSObject *header)
 Set the HTTP header of a request. More...
 
JSBool JSTranslate (JSContext *cx, uintN argc, jsval *argv1)
 The function used as ZOOTranslate from the JavaScript environment. More...
 
JSBool JSRequest (JSContext *cx, uintN argc, jsval *argv1)
 The function used as ZOORequest from the JavaScript environment (ZOO-API) More...
 
JSBool JSUpdateStatus (JSContext *cx, uintN argc, jsval *argv1)
 The function used as ZOOUpdateStatus from the JavaScript environment (ZOO-API). More...
 
JSBool JSSleep (JSContext *cx, uintN argc, jsval *argv1)
 The function used as sleep from the JavaScript environment (ZOO-API). More...
 

Variables

static char dbg [1024]
 

Macro Definition Documentation

#define JSCLSAS_GLOBAL_FLAGS   0

Function Documentation

JSBool JSAlert ( JSContext *&

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