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.
21 #ifndef GRASSROOTS_RESOURCE_H
22 #define GRASSROOTS_RESOURCE_H
88 #ifndef DOXYGEN_SHOULD_SKIP_THIS
90 #ifdef ALLOCATE_DATA_RESOURCE_TAGS
91 #define RESOURCE_PREFIX GRASSROOTS_UTIL_API
92 #define RESOURCE_VAL(x) = x
94 #define RESOURCE_PREFIX extern GRASSROOTS_UTIL_API
95 #define RESOURCE_VAL(x)
294 GRASSROOTS_UTIL_API bool GetDataResourceProtocolAndPath (
const char *
const resource_s,
char **
const path_ss,
char **
const protocol_ss);
308 GRASSROOTS_UTIL_API json_t *GetDataResourceAsJSONByParts (
const char *
const protocol_s,
const char *
const path_s,
const char *
const title_s, json_t *data_p);
const char * PROTOCOL_FILE_S
The protocol for a data object for a mounted file.
Definition: data_resource.h:124
const char * PROTOCOL_HTTP_S
The protocol for a data object for a web address.
Definition: data_resource.h:130
A datatype representing a URI.
Definition: data_resource.h:40
const char * PROTOCOL_HTTPS_S
The protocol for a data object for a secure web address.
Definition: data_resource.h:136
char * re_value_s
The protocol-specific path to the data object.
Definition: data_resource.h:58
const char * RESOURCE_DELIMITER_S
The string used to separate the protocol and values of a Resource.
Definition: data_resource.h:112
char * re_protocol_s
The protocol of this Resource.
Definition: data_resource.h:53
const char * PROTOCOL_TEXT_S
The protocol for a data object stored within the Grassroots system inline.
Definition: data_resource.h:149
const char * PROTOCOL_INLINE_S
The protocol for a data object stored within the Grassroots system inline.
Definition: data_resource.h:142
json_t * re_data_p
An optional set of json-based data for any application-specific configuration details.
Definition: data_resource.h:69
char * re_title_s
An optional user-friendly name for this Resource.
Definition: data_resource.h:63
const char * PROTOCOL_IRODS_S
The protocol for a data object on an iRODS system.
Definition: data_resource.h:118
const char * PROTOCOL_SERVICE_S
The protocol for a data object for a Grassroots Service.
Definition: data_resource.h:156
#define GRASSROOTS_UTIL_API
Definition: grassroots_util_library.h:47