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.
|
#include "uuid_defs.h"
#include "connection.h"
#include "grassroots_service_manager_library.h"
#include "linked_list.h"
#include "operation.h"
#include "memory_allocations.h"
#include "string_utils.h"
Go to the source code of this file.
Data Structures | |
struct | ExternalServer |
A datatype to allow access to an external Grassroots Server. More... | |
struct | ExternalServerNode |
A datatype for storing ExternalServers in a LinkedList. More... | |
struct | ServersManager |
A datatype for monitoring ExternalServers. More... | |
Typedefs | |
typedef ExternalServer *(* | ExternalServerDeserialiser) (const unsigned char *data_p) |
A function to take a raw binary data representation of a previously stored ExternalServer and recreate it. More... | |
typedef unsigned char *(* | ExternalServerSerialiser) (ExternalServer *server_p, uint32 *length_p) |
A function to generate a raw binary data representation of a ExternalServer allowing it to be recreated at a later time. More... | |
Functions | |
ServersManager * | LoadServersManager (const char *servers_manager_s, struct GrassrootsServer *server_p) |
GRASSROOTS_SERVICE_MANAGER_LOCAL ServersManager * | GetServersManagerFromPlugin (struct Plugin *const plugin_p) |
uuid_t * | GetLocalServerId (struct GrassrootsServer *grassroots_p) |
Get the current Server uuid. More... | |
const char * | GetLocalServerIdAsString (struct GrassrootsServer *grassroots_p) |
Get the current Server uuid as a c-style string. More... | |
const char * | GetRemotePairedServiceName (const ExternalServer *const src_p, const char *const local_service_name_s) |
Get the name of the remote paired service corresponding to a given local service name. More... | |
ServersManager* LoadServersManager | ( | const char * | servers_manager_s, |
struct GrassrootsServer * | server_p | ||
) |
GRASSROOTS_SERVICE_MANAGER_LOCAL ServersManager* GetServersManagerFromPlugin | ( | struct Plugin *const | plugin_p | ) |
const char* GetRemotePairedServiceName | ( | const ExternalServer *const | src_p, |
const char *const | local_service_name_s | ||
) |
Get the name of the remote paired service corresponding to a given local service name.
src_p | The ExternalServer which has the remote Service. |
local_service_name_s | The name of the local Service. |
NULL
upon error.