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

Functions

int zoo_ruby_support (maps **main_conf, map *request, service *s, maps **real_inputs, maps **real_outputs)
 Load a Ruby file then run the function corresponding to the service by passing the conf, inputs and outputs parameters by refernce as Ruby Hash. More...
 
VALUE LoadWrap (VALUE arg)
 Load a ruby file. More...
 
VALUE FunCallWrap (VALUE rdata)
 Call a ruby function with parameters. More...
 
void ruby_trace_error (maps *m)
 Print the Ruby Stack Trace in an ows:ExceptionReport XML Document. More...
 
VALUE RubyHash_FromMaps (maps *t)
 Convert a maps to a Ruby Hash. More...
 
int keys_i (VALUE key, VALUE value, VALUE ary)
 Push the key on the array. More...
 
VALUE rb_hash_size (VALUE hash)
 Return the size of a Ruby Hash. More...
 
VALUE RubyHash_FromMap (map *t)
 Convert a map to a Ruby Hash. More...
 
mapsmapsFromRubyHash (VALUE t)
 Convert a Ruby Hash to a maps. More...
 
mapmapFromRubyHash (VALUE t)
 Convert a Ruby Hash to a map. More...
 
VALUE RubyTranslate (int argc, VALUE *argv, VALUE obj)
 Use the ZOO-Services messages translation function from the Ruby environment (ZOO-API) More...
 
VALUE RubyUpdateStatus (int argc, VALUE *argv, VALUE obj)
 Update the ongoing status of a running service from the Ruby environment (ZOO-API) More...
 

Function Documentation