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.
|
A datatype for storing PairedServices on a LinkedList. More...
#include <paired_service.h>
Public Member Functions | |
PairedServiceNode * | AllocatePairedServiceNode (PairedService *paired_service_p) |
Allocate a PairedServiceNode. More... | |
PairedServiceNode * | AllocatePairedServiceNodeByParts (const uuid_t id, const char *name_s, const char *server_uri_s, const char *server_name_s, const json_t *op_p, const json_t *provider_p) |
Allocate a PairedService and attach it to a PairedServiceNode. More... | |
void | FreePairedServiceNode (ListItem *node_p) |
Free a PairedServiceNode. More... | |
Data Fields | |
ListItem | psn_node |
The base list node. More... | |
PairedService * | psn_paired_service_p |
The PairedService. More... | |
Data Fields inherited from ListItem | |
ListItem * | ln_prev_p |
A pointer to the previous ListItem. More... | |
ListItem * | ln_next_p |
A pointer to the next ListItem. More... | |
A datatype for storing PairedServices on a LinkedList.
PairedServiceNode * AllocatePairedServiceNode | ( | PairedService * | paired_service_p | ) |
Allocate a PairedServiceNode.
paired_service_p | The PairedService to store in the new PairedServiceNode. |
NULL
upon error. PairedServiceNode * AllocatePairedServiceNodeByParts | ( | const uuid_t | id, |
const char * | name_s, | ||
const char * | server_uri_s, | ||
const char * | server_name_s, | ||
const json_t * | op_p, | ||
const json_t * | provider_p | ||
) |
Allocate a PairedService and attach it to a PairedServiceNode.
id | The UUID of the ExternalServer that has the PairedService. |
name_s | The name of the PairedService. |
server_uri_s | The URI for the ExternalServer's Grassroots access. |
server_name_s | The name of the ExternalServer. |
op_p | The JSON fragment for the Service. |
provider_p | The JSON fragment representing the Provider. |
NULL
upon error.void FreePairedServiceNode | ( | ListItem * | node_p | ) |
Free a PairedServiceNode.
node_p | The PairedServiceNode to free. |
ListItem psn_node |
The base list node.
PairedService* psn_paired_service_p |
The PairedService.