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.
29 #ifndef KEY_VALUE_PAIR_H
30 #define KEY_VALUE_PAIR_H
#define GRASSROOTS_NETWORK_API
Definition: network_library.h:46
KeyValuePair * GetKeyValuePairFromJSON(const json_t *json_p)
Create a KeyValuePair from its JSON representation.
KeyValuePair * kvpn_pair_p
The KeyValuePair.
Definition: key_value_pair.h:66
char * kvp_value_s
The string used as a value.
Definition: key_value_pair.h:48
A pair of strings.
Definition: key_value_pair.h:42
A datatype used for storing a KeyValuePair on a LinkedList.
Definition: key_value_pair.h:60
void FreeKeyValuePairNode(ListItem *node_p)
Free a KeyValuePairNode.
void FreeKeyValuePair(KeyValuePair *kvp_p)
Free a KeyValuePair.
KeyValuePairNode * AllocateKeyValuePairNodeByParts(const char *key_s, const char *value_s)
Allocate a KeyValuePairNode.
json_t * GetKeyValuePairAsJSON(const KeyValuePair *kvp_p)
Get the JSON representation of a KeyValuePair.
char * kvp_key_s
The string used as a key.
Definition: key_value_pair.h:45
KeyValuePairNode * AllocateKeyValuePairNode(KeyValuePair *kvp_p)
Allocate a KeyValuePairNode.
ListItem kvpn_node
The base node.
Definition: key_value_pair.h:63
KeyValuePair * AllocateKeyValuePair(const char *key_s, const char *value_s)
Allocate a KeyValuePair.
A doubly-linked node that points to its predecessor and successor.
Definition: linked_list.h:43