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.
grassroots_server.h File Reference
#include "grassroots_service_manager_library.h"
#include "jansson.h"
#include "servers_manager.h"
#include "schema_version.h"
#include "user_details.h"
#include "handler.h"
Include dependency graph for grassroots_server.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  GrassrootsServer
 

Functions

bool SetGrassrootsServerConfig (GrassrootsServer *server_p, const char *config_filename_s)
 
bool InitGrassrootsServer (GrassrootsServer *server_p)
 
void ConnectToExternalServers (GrassrootsServer *server_p)
 Connect to any defined separate Grassroots servers. More...
 
GRASSROOTS_SERVICE_MANAGER_LOCAL void DisconnectFromExternalServers (GrassrootsServer *server_p)
 Disconnect to any defined separate Grassroots servers. More...
 
const char * GetServerProviderName (const GrassrootsServer *grassroots_p)
 Get the Provider name for this Grassroots Server. More...
 
const char * GetServerProviderDescription (const GrassrootsServer *grassroots_p)
 Get the Provider description for this Grassroots Server. More...
 
const char * GetServerProviderURI (const GrassrootsServer *grassroots_p)
 Get the Provider URI for this Grassroots Server. More...
 
const json_t * GetProviderAsJSON (const GrassrootsServer *grassroots_p)
 Get the JSON fragment with all of the details of the Provider for this Grassroots Server. More...
 
bool IsServiceEnabled (const GrassrootsServer *grassroots_p, const char *service_name_s)
 Check if a named Service is enabled upon this Grassroots server. More...
 
const char * GetJobLoggingURI (const GrassrootsServer *grassroots_p)
 Get the job logging URI for this Grassroots Server. More...
 
const SchemaVersionGetSchemaVersion (GrassrootsServer *server_p)
 
const char * GetServerRootDirectory (const GrassrootsServer *const grassroots_p)
 

Function Documentation

◆ SetGrassrootsServerConfig()

bool SetGrassrootsServerConfig ( GrassrootsServer server_p,
const char *  config_filename_s 
)

◆ InitGrassrootsServer()

bool InitGrassrootsServer ( GrassrootsServer server_p)

◆ GetSchemaVersion()

const SchemaVersion* GetSchemaVersion ( GrassrootsServer server_p)

◆ GetServerRootDirectory()

const char* GetServerRootDirectory ( const GrassrootsServer *const  grassroots_p)