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 Services on a LinkedList. More...
#include <service.h>
Public Member Functions | |
ServiceNode * | AllocateServiceNode (Service *service_p) |
Allocate a ServiceNode pointing to the given Service. More... | |
void | FreeServiceNode (ListItem *node_p) |
Free a ServiceNode. More... | |
Data Fields | |
ListItem | sn_node |
The List Node. More... | |
Service * | sn_service_p |
The Service. 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 Services on a LinkedList.
ServiceNode * AllocateServiceNode | ( | Service * | service_p | ) |
Allocate a ServiceNode pointing to the given Service.
service_p | The Service to store on the ServiceNode. |
NULL
upon error. void FreeServiceNode | ( | ListItem * | node_p | ) |
Free a ServiceNode.
node_p | The ServiceNode to free. |
ListItem sn_node |
The List Node.