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 a Handler on a LinkedList. More...
#include <handler.h>
Public Member Functions | |
HandlerNode * | AllocateHandlerNode (struct Handler *handler_p) |
Allocate a HandlerNode for the given Handler. More... | |
void | FreeHandlerNode (ListItem *node_p) |
Free a HandlerNode. More... | |
Data Fields | |
ListItem | hn_node |
The base list node. More... | |
Handler * | hn_handler_p |
The Handler. 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 a Handler on a LinkedList.
HandlerNode * AllocateHandlerNode | ( | struct Handler * | handler_p | ) |
Allocate a HandlerNode for the given Handler.
handler_p | The Handler to associate with the newly-created HandlerNode. |
NULL
upon error. void FreeHandlerNode | ( | ListItem * | node_p | ) |
Free a HandlerNode.
This frees a HandlerNode and its associated Handler.
node_p |
ListItem hn_node |
The base list node.