ZOO-Project
Data Structures | Macros | Functions
service_internal_ruby.h File Reference
#include "service.h"
#include "service_internal.h"
#include <ruby.h>
#include <version.h>
#include <ruby/st.h>

Go to the source code of this file.

Data Structures

struct  my_callback
 The Ruby method pointer. More...
 

Macros

#define RUBY_GLOBAL_SETUP
 
#define MAX_ARGS   3
 

Functions

void ruby_trace_error (maps *)
 Print the Ruby Stack Trace in an ows:ExceptionReport XML Document. More...
 
VALUE FunCallWrap (VALUE)
 Call a ruby function with parameters. More...
 
VALUE LoadWrap (VALUE)
 Load a ruby file. More...
 
VALUE RubyHash_FromMaps (maps *)
 Convert a maps to a Ruby Hash. More...
 
VALUE RubyHash_FromMap (map *)
 Convert a map to a Ruby Hash. More...
 
mapsmapsFromRubyHash (VALUE)
 Convert a Ruby Hash to a maps. More...
 
void createMapsFromRubyHash (maps **, VALUE)
 
mapmapFromRubyHash (VALUE)
 Convert a Ruby Hash to a map. More...
 
int zoo_ruby_support (maps **, map *, service *, maps **, maps **)
 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 RubyTranslate (int, VALUE *, VALUE)