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.
|
Go to the documentation of this file.
8 #ifndef CORE_SHARED_UTIL_INCLUDE_CONTAINERS_DATA_LINKED_LIST_H_
9 #define CORE_SHARED_UTIL_INCLUDE_CONTAINERS_DATA_LINKED_LIST_H_
DataListNode * AllocateDataListNode(const char *data_p, const size_t data_size)
Create a new DataListNode.
char * GetAllDataFromDataLinkedList(LinkedList *list_p, size_t *size_p)
A ListNode for LinkedLists that also stores arbitrary blocks of data.
Definition: data_linked_list.h:32
bool WriteAllDataFromDataLinkedList(LinkedList *list_p, const char *const filename_s, size_t *size_p)
A doubly-linked list that can be traversed in either direction.
Definition: linked_list.h:56
void FreeDataListNode(ListItem *const node_p)
Free a DataListNode.
size_t dln_data_size
The size in bytes of the stored data.
Definition: data_linked_list.h:41
ListItem dln_node
The ListNode.
Definition: data_linked_list.h:35
char * dln_data_p
The data to store.
Definition: data_linked_list.h:38
#define GRASSROOTS_UTIL_API
Definition: grassroots_util_library.h:47
A doubly-linked node that points to its predecessor and successor.
Definition: linked_list.h:43