#include "service.h"
#include "service_internal.h"
#include <mono/jit/jit.h>
#include <mono/metadata/mono-config.h>
#include <mono/metadata/assembly.h>
#include <string.h>
Go to the source code of this file.
|
int | zoo_mono_support (maps **, map *, service *, maps **, maps **) |
| Load a Mono dll then run the static public method corresponding to the service by passing the conf, inputs and outputs parameters. More...
|
|
MonoObject * | ZMapsFromMaps (MonoDomain *, MonoClass **, MonoMethod **, MonoObject **, maps *) |
| Create ZMaps from maps. More...
|
|
MonoObject * | ZMapFromMap (MonoDomain *, MonoClass *, MonoMethod **, MonoObject **, map *) |
| Create ZMap from map. More...
|
|
maps * | mapsFromZMaps (MonoDomain *, MonoClass **, MonoMethod **, MonoObject *) |
| Create maps from ZMaps. More...
|
|
map * | mapFromZMap (MonoDomain *, MonoClass **, MonoMethod **, MonoObject *) |
| Create map from ZMap. More...
|
|
static MonoString * | MonoTranslate (MonoString *) |
|
static void | MonoUpdateStatus (MonoObject *, MonoString *, int) |
|
map* mapFromZMap |
( |
MonoDomain * |
domain, |
|
|
MonoClass ** |
classes, |
|
|
MonoMethod ** |
methods, |
|
|
MonoObject * |
m |
|
) |
| |
Create map from ZMap.
- Parameters
-
domain | the Mono Domain |
classes | the Mono classes required (_ZMapsClass,ZMapsClass,ZMapClass,KeysList) |
methods | the Mono methods required (ZMapsGetMaps,ZMapsGetKeysCount,ZMapsGetKey,ZMapGetMap,ZMapGetKeysCount,ZMapGetKey,_ZMapsGetContent,_ZMapsGetChild,ZMapGetSize) |
m | the ZMap to use as source to create a new map |
- Returns
- MonoObject* to a new ZMap
maps* mapsFromZMaps |
( |
MonoDomain * |
domain, |
|
|
MonoClass ** |
classes, |
|
|
MonoMethod ** |
methods, |
|
|
MonoObject * |
m |
|
) |
| |
Create maps from ZMaps.
- Parameters
-
domain | the Mono Domain |
classes | the Mono classes required to create (_ZMapsClass,ZMapsClass,ZMapClass,KeysList) |
methods | the Mono methods required (ZMapsGetMaps,ZMapsGetKeysCount,ZMapsGetKey,ZMapGetMap,ZMapGetKeysCount,ZMapGetKey,_ZMapsGetContent,_ZMapsGetChild) |
m | the ZMaps to use as source to create a new maps |
- Returns
- MonoObject* to a new ZMaps
static MonoString* MonoTranslate |
( |
MonoString * |
| ) |
|
|
static |
static void MonoUpdateStatus |
( |
MonoObject * |
, |
|
|
MonoString * |
, |
|
|
int |
|
|
) |
| |
|
static |
MonoObject* ZMapFromMap |
( |
MonoDomain * |
domain, |
|
|
MonoClass * |
ZMapClass, |
|
|
MonoMethod ** |
methods, |
|
|
MonoObject ** |
exc, |
|
|
map * |
m |
|
) |
| |
Create ZMap from map.
- Parameters
-
domain | the Mono Domain |
classes | the Mono classes required to create (_ZMaps,ZMaps and ZMap) |
methods | the Mono methods required (ZMapsAdd, _ZMapsSetContent, _ZMapsSetChild, ZMapAdd and ZMapDisplay) |
exc | the Mono exception object |
m | the map to use as source to create a new ZMap |
- Returns
- MonoObject* to a new ZMap
MonoObject* ZMapsFromMaps |
( |
MonoDomain * |
domain, |
|
|
MonoClass ** |
classes, |
|
|
MonoMethod ** |
methods, |
|
|
MonoObject ** |
exc, |
|
|
maps * |
m |
|
) |
| |
Create ZMaps from maps.
- Parameters
-
domain | the Mono Domain |
classes | the Mono classes required to create (_ZMaps,ZMaps and ZMap) |
methods | the Mono methods required (ZMapsAdd, _ZMapsSetContent, _ZMapsSetChild, ZMapAdd and ZMapDisplay) |
m | the maps to use as source to create the corresponding ZMaps |
- Returns
- MonoObject* to a new ZMap
int zoo_mono_support |
( |
maps ** |
main_conf, |
|
|
map * |
request, |
|
|
service * |
s, |
|
|
maps ** |
real_inputs, |
|
|
maps ** |
real_outputs |
|
) |
| |
Load a Mono dll then run the static public method corresponding to the service by passing the conf, inputs and outputs parameters.
- Parameters
-
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 |