ZOO-Project: service_conf.y File Reference
ZOO-Project
service_conf.y File Reference
#include <string>
#include <stdio.h>
#include <ctype.h>
#include <service.h>

Functions

void srerror (const char *s)
 Print on stderr the message and the line number of the error which occurred. More...
 
void usage (void)
 
int srlex (void)
 
int srlex_destroy (void)
 
 free (current_content)
 
 if (strncasecmp($2,"EndNested", 9)==0)
 
 if (strncasecmp($2,"DataInputs", 10)==0)
 
else if (strncasecmp($2,"DataOutputs", 11)==0)
 
else if (strncasecmp($2,"MetaData", 8)==0||strncasecmp($2,"AdditionalParameters", 8)==0)
 
else if (strncasecmp($2,"ComplexData", 11)==0||strncasecmp($2,"LiteralData", 10)==0||strncasecmp($2,"ComplexOutput", 13)==0||strncasecmp($2,"LiteralOutput", 12)==0||strncasecmp($2,"BoundingBoxOutput", 13)==0||strncasecmp($2,"BoundingBoxData", 12)==0)
 
else if (strncasecmp($2,"Default", 7)==0)
 
else if (strncasecmp($2,"Supported", 9)==0)
 
 if (curr_key!=NULL)
 
 if ($1!=NULL)
 
int getServiceFromFile (maps *conf, const char *file, service **service)
 Parse a ZCFG file and fill the service structure. More...
 

Variables

static int defaultsc =0
 
static bool wait_maincontent =true
 
static bool wait_mainmetadata =false
 
static bool wait_mainap =false
 
static bool wait_metadata =false
 
static bool wait_ap =false
 
static bool wait_nested =false
 
static bool wait_inputs =false
 
static bool wait_defaults =false
 
static bool wait_supporteds =false
 
static bool wait_outputs =false
 
static bool wait_data =false
 
static servicemy_service =NULL
 
static mapcurrent_content =NULL
 
static elementscurrent_element =NULL
 
static char * curr_key
 
static int debug =0
 
static int data =-1
 
static int previous_data =0
 
static int current_data =0
 
static int nested_level =0
 
int srdebug
 
char srtext []
 
int srlineno
 
FILE * srin
 
union {
char * s
 
char * chaine
 
char * key
 
char * val
 
document
 COMMENT. More...
 
miscetoile __pad0__
 
miscetoile PI
 
element __pad1__
 
STag __pad2__
 
my_service metadata =NULL
 
my_service additional_parameters =NULL
 
Attributeetoile __pad3__
 
attribute __pad4__
 
EmptyElemTag __pad5__
 
EmptyElemTag Default
 
EmptyElemTag ETag
 
EmptyElemTag DataInputs
 
contentetoile __pad6__
 
texteinterbalise __pad7__
 
pair 

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