ZOO-Project: service_yaml.c File Reference
ZOO-Project
service_yaml.c File Reference
#include <stdio.h>
#include <ctype.h>
#include <service.h>
#include <yaml.h>

Functions

int getServiceFromYAML (maps *conf, char *file, service **service, char *name)
 Read and parse a ZCFG file in YAML format. More...
 

Variables

static servicemy_service =NULL
 
static mapcurrent_content =NULL
 
static elementscurrent_element =NULL
 

Function Documentation

int getServiceFromYAML ( maps conf,
char *  file,
service **  service,
char *  name 
)

Read and parse a ZCFG file in YAML format.

Parameters
confthe conf maps containing the main.cfg settings
filethe file name to read
servicethe service structure to fill
namethe service name
Returns
1 on success, -1 if error occurred

Variable Documentation

map* current_content =NULL
static
elements* current_element =NULL
static
service* my_service =NULL
static

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