ZOO-Project
|
#include "service_internal_r.h"
Functions | |
void | jump_to_toplevel (void) |
void | init_zoo (SEXP conf, SEXP outputs) |
int | zoo_r_support (maps **main_conf, map *request, service *s, maps **real_inputs, maps **real_outputs) |
Load a R script then run the function corresponding to the service by passing the conf, inputs and outputs parameters by reference. More... | |
char ** | listMapsKeys (maps *m) |
char ** | listMapKeys (map *m) |
SEXP | RList_FromMaps (maps *t) |
Convert a maps to a R List. More... | |
SEXP | RList_FromMap (map *t) |
Convert a map to a R List. More... | |
maps * | mapsFromRList (SEXP t) |
Convert a R List to a maps. More... | |
map * | mapFromRList (SEXP t) |
Convert a R List to a map. More... | |
SEXP | RTranslate (SEXP str) |
Use the ZOO-Services messages translation function from the R environment. More... | |
SEXP | RUpdateStatus (SEXP confdict, SEXP status) |
Update the ongoing status of a running service from the R environment. More... | |
void init_zoo | ( | SEXP | conf, |
SEXP | outputs | ||
) |
void jump_to_toplevel | ( | void | ) |
char** listMapKeys | ( | map * | m | ) |
char** listMapsKeys | ( | maps * | m | ) |
map* mapFromRList | ( | SEXP | t | ) |
Convert a R List to a map.
t | the PyDictObject to convert |
maps* mapsFromRList | ( | SEXP | t | ) |
Convert a R List to a maps.
t | the PyDictObject to convert |
SEXP RList_FromMap | ( | map * | t | ) |
Convert a map to a R List.
t | the map to convert |
SEXP RList_FromMaps | ( | maps * | t | ) |
Convert a maps to a R List.
t | the maps to convert |
SEXP RTranslate | ( | SEXP | str | ) |
Use the ZOO-Services messages translation function from the R environment.
str | the R string passed from the R environment |
SEXP RUpdateStatus | ( | SEXP | confdict, |
SEXP | status | ||
) |
Update the ongoing status of a running service from the R environment.
confdict | the R arguments passed from the R environment |
status | the R arguments passed from the R environment |
int zoo_r_support | ( | maps ** | main_conf, |
map * | request, | ||
service * | s, | ||
maps ** | real_inputs, | ||
maps ** | real_outputs | ||
) |
Load a R script then run the function corresponding to the service by passing the conf, inputs and outputs parameters by reference.
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 |