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.
linked_service.h File Reference
#include "grassroots_service_library.h"
#include "jansson.h"
#include "linked_list.h"
#include "mapped_parameter.h"
#include "grassroots_server.h"
Include dependency graph for linked_service.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  LinkedService
 This datatype stores the data needed to get the required information from the output of one Service to act as input for another. More...
 
struct  LinkedServiceNode
 The datatype to allow the storage of LinkedServices on LinkedLists. More...
 

Functions

struct MappedParameterGetMappedParameterByInputParamName (const LinkedService *linked_service_p, const char *const name_s)
 Get the MappedParameter with a given name from a LinkedService. More...
 
bool RunCustomLinkedServiceGenerator (struct LinkedService *linked_service_p, json_t *data_p, struct ServiceJob *job_p)
 

Function Documentation

◆ GetMappedParameterByInputParamName()

struct MappedParameter* GetMappedParameterByInputParamName ( const LinkedService linked_service_p,
const char *const  name_s 
)

Get the MappedParameter with a given name from a LinkedService.

Parameters
linked_service_pThe LinkedService to get the MappedParameter from.
name_sThe name of the MappedParmeter to search for.
Returns
The matching MappedParameter or NULL if it copuld not be found.

◆ RunCustomLinkedServiceGenerator()

bool RunCustomLinkedServiceGenerator ( struct LinkedService linked_service_p,
json_t *  data_p,
struct ServiceJob job_p 
)