|
json_t * | GetAvailableServicesRequest (const User *user_p, const SchemaVersion *const sv_p) |
| Generate the JSON fragment to send to the Server for getting all available Services. More...
|
|
bool | GetUsernameAndPassword (const User *const user_p, const char *provider_s, const char **username_ss, const char **password_ss) |
| Extract the user credentials from a JSON fragment. More...
|
|
json_t * | GetInterestedServicesRequest (const User *user_p, const char *const protocol_s, const char *const filename_s, const SchemaVersion *const sv_p) |
| Generate the JSON fragment to send to the Server for getting Services that are viable for a given Resource. More...
|
|
json_t * | GetNamedServicesRequest (const User *user_p, const char *const service_name_s, const SchemaVersion *const sv_p) |
| Generate the JSON fragment to send to the Server for getting the details of a particular Service. More...
|
|
json_t * | GetNamedServicesIndexingDataRequest (const User *user_p, const char *const service_names_s, const SchemaVersion *const sv_p) |
| Generate the JSON fragment to send to the Server for getting the indexing data of a particular Service. More...
|
|
bool | AddClientConfigToJSON (json_t *root_p, const User *user_p) |
| Add the given credentials in the correct position in a JSON fragment. More...
|
|
json_t * | GetOperationAsJSON (Operation op, const SchemaVersion *const sv_p) |
| Get the JSON fragment for a given Operation. More...
|
|
json_t * | GetServicesRequest (const User *user_p, const Operation op, const char *const op_key_s, json_t *const op_data_p, const SchemaVersion *const sv_p) |
| Generate the request to run an Operation. More...
|
|
json_t * | MakeRemoteJsonCall (json_t *req_p, Connection *connection_p) |
| Send a JSON-based request to the server and get the JSON-based response. More...
|
|
const char * | GetUserUUIDStringFromJSON (const json_t *credentials_p) |
| Get the User uuid from a JSON fragment. More...
|
|
json_t * | GetServicesResultsRequest (const uuid_t **ids_pp, const uint32 num_ids, Connection *connection_p, const SchemaVersion *const sv_p) |
| Generate the JSON fragment to send to the Server for getting the results of one or more Operations. More...
|
|
bool | GetStatusFromJSON (const json_t *service_json_p, OperationStatus *status_p) |
| Get the current OperationStatus for a Service from its JSON fragment. More...
|
|
json_t * | GetInitialisedMessage (const SchemaVersion *const sv_p) |
| Create a response object with a valid header. More...
|
|
const char * | GetServiceDescriptionFromJSON (const json_t *const root_p) |
| Get the description of a Service. More...
|
|
const char * | GetServiceAliasFromJSON (const json_t *const root_p) |
| Get the alias of a Service. More...
|
|
const char * | GetServiceNameFromJSON (const json_t *const root_p) |
| Get the name of a Service. More...
|
|
const char * | GetOperationDescriptionFromJSON (const json_t *const root_p) |
| Get the description of an Operation. More...
|
|
const char * | GetOperationNameFromJSON (const json_t *const root_p) |
| Get the name of an Operation. More...
|
|
const char * | GetOperationInformationURIFromJSON (const json_t *const root_p) |
| Get the URI of an Operation. More...
|
|
const char * | GetOperationIconURIFromJSON (const json_t *const root_p) |
| Get the URI for an associated image icon an Operation. More...
|
|
const json_t * | GetProviderFromServiceJSON (const json_t *service_json_p) |
| Get the JSON fragment specifying the Provider details from a JSON fragment representing a Service. More...
|
|
Operation | GetOperationFromTopLevelJSON (const json_t *const json_p) |
| Get requested Operation from a JSON fragment. More...
|
|
json_t * | GetIndexingDataPayload (GrassrootsServer *grassroots_p, const char *service_s, json_t *params_array_json_p) |
|