ZOO-Project: zoo_service_loader.c File Reference
ZOO-Project
zoo_service_loader.c File Reference
#include "cgic.h"
#include <libxml/tree.h>
#include <libxml/xmlmemory.h>
#include <libxml/parser.h>
#include <libxml/xpath.h>
#include <libxml/xpathInternals.h>
#include "ulinet.h"
#include <libintl.h>
#include <locale.h>
#include <string.h>
#include "service_internal.h"
#include "server_internal.h"
#include "response_print.h"
#include "request_parser.h"
#include "service.h"
#include "sqlapi.h"
#include <dirent.h>
#include <signal.h>
#include <execinfo.h>
#include <unistd.h>
#include <dlfcn.h>
#include <libgen.h>
#include <fcntl.h>
#include <time.h>
#include <stdarg.h>
#include <libxslt/xslt.h>
#include <libxslt/xsltInternals.h>
#include <libxslt/transform.h>
#include <libxslt/xsltutils.h>

Macros

#define _(String)   dgettext ("zoo-kernel",String)
 Translation function for zoo-kernel. More...
 
#define __(String)   dgettext ("zoo-service",String)
 Translation function for zoo-service. More...
 

Functions

int yylex ()
 
int crlex ()
 
void translateChar (char *str, char toReplace, char toReplaceBy)
 Replace a char by another one in a string. More...
 
int dumpBackFinalFile (maps *m, char *fbkp, char *fbkp1)
 Dump back the final file fbkp1 to fbkp. More...
 
int recursReaddirF (maps *m, registry *r, void *doc1, void *n1, char *conf_dir, char *prefix, int saved_stdout, int level, void(func)(registry *, maps *, void *, void *, service *))
 Recursivelly parse zcfg starting from the ZOO-Kernel cwd. More...
 
void exitAndCleanUp (registry *zooRegistry, maps *m, const char *zcfg, const char *code, const char *locator, char *orig, char *corig, void(funcError)(maps *, map *))
 When th zcfg file is not found, print error message and cleanup memory. More...
 
int fetchService (registry *zooRegistry, maps *m, service **spService, map *request_inputs, char *ntmp, char *cIdentifier, void(funcError)(maps *, map *))
 Parse the ZOO-Service ZCFG to fill the service datastructure. More...
 
int fetchServicesForDescription (registry *zooRegistry, maps *m, char *r_inputs, void(func)(registry *, maps *, void *, void *, service *), void *doc, void *n, char *conf_dir, map *request_inputs, void(funcError)(maps *, map *))
 Search services from various possible sources. More...
 
void initAllEnvironment (maps *conf, map *request_inputs, const char *cPath, const char *request)
 Initialize environment sections, load env, and populate lenv and renv. More...
 
void donothing (int sig)
 Signal handling function which simply call exit(0). More...
 
void sig_handler (int sig)
 Signal handling function which create an ExceptionReport node containing the information message corresponding to the signal number. More...
 
void loadServiceAndRun (maps **myMap, service *s1, map *request_inputs, maps **inputs,

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