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.
ExternalServerNode Struct Reference

A datatype for storing ExternalServers in a LinkedList. More...

#include <servers_manager.h>

Inheritance diagram for ExternalServerNode:
[legend]
Collaboration diagram for ExternalServerNode:
[legend]

Public Member Functions

ExternalServerNodeAllocateExternalServerNode (ExternalServer *server_p, MEM_FLAG mf)
 Allocate an ExternalServerNode. More...
 
void FreeExternalServerNode (ListItem *node_p)
 Free an ExternalServerNode. More...
 

Data Fields

ListItem esn_node
 The base node. More...
 
ExternalServeresn_server_p
 The ExternalServer. More...
 
MEM_FLAG esn_server_mem
 The MEM_FLAG indicating the ownership of the ExternalServer from this ExternalServerNode and whether the ExternalServer will be freed when this ExternalServerNode is. More...
 
- Data Fields inherited from ListItem
ListItemln_prev_p
 A pointer to the previous ListItem. More...
 
ListItemln_next_p
 A pointer to the next ListItem. More...
 

Detailed Description

A datatype for storing ExternalServers in a LinkedList.

Member Function Documentation

◆ AllocateExternalServerNode()

ExternalServerNode * AllocateExternalServerNode ( ExternalServer server_p,
MEM_FLAG  mf 
)

Allocate an ExternalServerNode.

Parameters
server_pThe ExternalServer that this ExternalServerNode will be based upon
mfHow the ExternalServer that this node will contain will be constructed
Returns
A newly-allocated ExternalServerNode or NULL upon error.
See also
ExternalServerNode

◆ FreeExternalServerNode()

void FreeExternalServerNode ( ListItem node_p)

Free an ExternalServerNode.

Parameters
node_pThe ExternalServerNode to free.

Field Documentation

◆ esn_node

ListItem esn_node

The base node.

◆ esn_server_p

ExternalServer* esn_server_p

◆ esn_server_mem

MEM_FLAG esn_server_mem

The MEM_FLAG indicating the ownership of the ExternalServer from this ExternalServerNode and whether the ExternalServer will be freed when this ExternalServerNode is.


The documentation for this struct was generated from the following file: