Grassroots Infrastructure
The Grassroots Infrastructure is a suite of computing tools to help users and developers use scientific data infrastructure that can easily be interconnected.
service_metadata.h File Reference
#include "grassroots_service_library.h"
#include "typedefs.h"
#include "schema_term.h"
#include "jansson.h"
Include dependency graph for service_metadata.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  ServiceMetadata
 A datatype for describing the type of application that a Service provides. More...
 

Functions

bool AddSchemaTermToServiceMetadataInput (ServiceMetadata *metadata_p, SchemaTerm *term_p)
 Add a SchemaTerm to the list of input types stored in this ServiceMetadata. More...
 
bool AddSchemaTermToServiceMetadataOutput (ServiceMetadata *metadata_p, SchemaTerm *term_p)
 Add a SchemaTerm to the list of output types stored in this ServiceMetadata. More...
 

Function Documentation

◆ AddSchemaTermToServiceMetadataInput()

bool AddSchemaTermToServiceMetadataInput ( ServiceMetadata metadata_p,
SchemaTerm term_p 
)

Add a SchemaTerm to the list of input types stored in this ServiceMetadata.

Parameters
metadata_pThe ServiceMetadata to add the input term to.
term_pThe SchemaTerm to add
Returns
true if the ServiceMetadata input list was updated successfully, false if it was not.
ServiceMetadata

◆ AddSchemaTermToServiceMetadataOutput()

bool AddSchemaTermToServiceMetadataOutput ( ServiceMetadata metadata_p,
SchemaTerm term_p 
)

Add a SchemaTerm to the list of output types stored in this ServiceMetadata.

Parameters
metadata_pThe ServiceMetadata to add the output term to.
term_pThe SchemaTerm to add
Returns
true if the ServiceMetadata output list was updated successfully, false if it was not.
ServiceMetadata