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

A ListNode for LinkedLists that also stores a plugin value. More...

#include <plugin.h>

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

Public Member Functions

GRASSROOTS_PLUGIN_API PluginListNodeAllocatePluginListNode (Plugin *const plugin_p)
 Create a new PluginListNode. More...
 
GRASSROOTS_PLUGIN_API void FreePluginListNode (ListItem *const node_p)
 Free a PluginListNode. More...
 

Data Fields

ListItem pln_node
 The ListNode. More...
 
Pluginpln_plugin_p
 The plugin. More...
 
MEM_FLAG pln_plugin_flag
 How the memory for the Plugin is stored and freed. 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 ListNode for LinkedLists that also stores a plugin value.

Member Function Documentation

◆ AllocatePluginListNode()

GRASSROOTS_PLUGIN_API PluginListNode * AllocatePluginListNode ( Plugin *const  plugin_p)

Create a new PluginListNode.

Parameters
plugin_pThe Plugin to store in the newly-created PluginListNode.
Returns
The new PluginListNode or NULL upon error.

◆ FreePluginListNode()

GRASSROOTS_PLUGIN_API void FreePluginListNode ( ListItem *const  node_p)

Free a PluginListNode.

Parameters
node_pThe ListNode to free.

Field Documentation

◆ pln_node

ListItem pln_node

The ListNode.

◆ pln_plugin_p

Plugin* pln_plugin_p

The plugin.

◆ pln_plugin_flag

MEM_FLAG pln_plugin_flag

How the memory for the Plugin is stored and freed.


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