ZOO-Project: service_json.h File Reference
ZOO-Project
service_json.h File Reference
#include "response_print.h"
#include <stdio.h>
#include <ctype.h>
#include <service.h>
#include <json_object.h>

Go to the source code of this file.

Functions

json_object * mapToJson (map *)
 Convert a map to a json object. More...
 
json_object * mapsToJson (maps *)
 Convert a maps to a json object. More...
 
json_object * serviceToJson (service *)
 Convert an service to a json object. More...
 
void printGetCapabilitiesForProcessJ (registry *, maps *, void *, void *, service *)
 Add all the capabilities properties to a json_object. More...
 
void printExceptionReportResponseJ (maps *, map *)
 Print an OWS ExceptionReport Document and HTTP headers (when required) depending on the code. More...
 
void parseJRequest (maps *, service *, json_object *, map *, maps **, maps **)
 Parse Json Request. More...
 
json_object * printJResult (maps *, service *, maps *, int)
 Print the result of an execution. More...
 
json_object * printJobStatus (maps *, char *)
 Print the jobs status info cf. More...
 
json_object * printJobList (maps *)
 Print the jobs list. More...
 
int createStatusFile (maps *, int)
 Create the status file. More...
 
json_object * createStatus (maps *, int)
 
char * json_getStatusFilePath (maps *)
 Get the status file path. More...
 
json_object * parseJson (maps *, char *)
 
json_object * json_readFile (maps *, char *)
 
char * getResultPath (maps *, char *)
 
int json_getStatusFile (maps *)
 Create the status file. More...
 
void produceApi (maps *, json_object *)
 Produce the JSON object for /api. More...
 

Variables

static const char * jcapabilities [4]
 Name and corresponding attributes depending on the WPS version. More...
 

Function Documentation

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

json_object* createStatus ( maps ,