ZOO-Project: service_callback.c File Reference
ZOO-Project
service_callback.c File Reference
#include <pthread.h>
#include <libxml/tree.h>
#include <libxml/parser.h>
#include <libxml/xpath.h>
#include <libxml/xpathInternals.h>
#include <libxslt/xslt.h>
#include <libxslt/xsltInternals.h>
#include <libxslt/transform.h>
#include <libxslt/xsltutils.h>
#include "service_callback.h"
#include "service_json.h"
#include "sqlapi.h"
#include <ulinet.h>

Data Structures

struct  local_params
 Parameter definition to be used for sending parameters to a thread. More...
 

Functions

bool isProhibited (maps *conf, const char *serviceName)
 Check if a service name is prohibited, meaning that the Kernel doesn't have to invoke the callback for this specific service. More...
 
void * _invokeBasicCallback (void *args)
 Practically invoke the callback, meaning sending the HTTP POST request. More...
 
bool invokeBasicCallback (maps *conf, int state)
 Invoke the callback in case there is a [subscriber] section containing one or more url parameter. More...
 
void cleanupCallbackThreads ()
 Wait for the threads to end then, clean used memory. More...
 

Variables

int nbThreads =0
 Number of threads. More...
 
int cStep =0
 Current step. More...
 
int maxProgress =0
 Maximum value of PercentCompleted. More...
 
int isOngoing =0
 Is there any ongoing HTTP request. More...
 
pthread_t * myThreads =NULL
 Threads array. More...
 
bool steps [7][2]
 Steps array. More...
 
local_params ** local_arguments
 <

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