|
ZOO-Project
|
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 service * | my_service =NULL |
| static map * | current_content =NULL |
| static elements * | current_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 | __pad8__ |
| pair PAIR FOUND | n |
| EPAIR | |
| processid | __pad9__ |
| else | |
| free | ( | current_content | ) |
Parse a ZCFG file and fill the service structure.
Author : Gérald FENOY.
| conf | the conf maps containing the main.cfg settings |
| file | the fullpath to the ZCFG file |
| service | the service structure to fill |
| if | ( | $1! = NULL | ) |
| if | ( | curr_key! | = NULL | ) |
| 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 | ) |
| if | ( | strncasecmp( $2,"DataInputs", 10) | = =0 | ) |
| else if | ( | strncasecmp( $2,"DataOutputs", 11) | = =0 | ) |
| else if | ( | strncasecmp( $2,"Default", 7) | = =0 | ) |
| if | ( | strncasecmp( $2,"EndNested", 9) | = =0 | ) |
| else if | ( | strncasecmp( $2,"MetaData", 8) | = =0 || strncasecmp($2,"AdditionalParameters",8)==0 | ) |
| else if | ( | strncasecmp( $2,"Supported", 9) | = =0 | ) |
| void srerror | ( | const char * | s | ) |
Print on stderr the message and the line number of the error which occurred.
| s | the error message |
| int srlex | ( | void | ) |
| int srlex_destroy | ( | void | ) |
| void usage | ( | void | ) |
| miscetoile __pad0__ |
| element __pad1__ |
| STag __pad2__ |
| Attributeetoile __pad3__ |
| attribute __pad4__ |
| EmptyElemTag __pad5__ |
| contentetoile __pad6__ |
| texteinterbalise __pad7__ |
| pair __pad8__ |
| processid __pad9__ |
| my_service additional_parameters =NULL |
|
static |
|
static |
|
static |
|
static |
|
static |
| EmptyElemTag DataInputs |
|
static |
| EmptyElemTag Default |
|
static |
| union { ... } document |
COMMENT.
| else |
| EPAIR |
| EmptyElemTag ETag |
| my_service metadata =NULL |
|
static |
| pair PAIR FOUND n |
|
static |
| contentetoile PI |
|
static |
| int srdebug |
| FILE* srin |
| int srlineno |
| char srtext[] |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
1.8.17