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.
brapi_program.h
Go to the documentation of this file.
1 /*
2  * brapi_program.h
3  *
4  * Created on: 2 Jul 2022
5  * Author: billy
6  */
7 
8 #ifndef SERVERS_BRAPI_MODULE_INCLUDE_BRAPI_PROGRAM_H_
9 #define SERVERS_BRAPI_MODULE_INCLUDE_BRAPI_PROGRAM_H_
10 
11 
12 
13 #include "httpd.h"
14 #include "util_script.h"
15 
16 #include "brapi_module.h"
17 
18 
19 APIStatus GetAllProgrammes (request_rec *req_p, const char *api_call_s, apr_table_t *req_params_p, ModBrapiConfig *config_p);
20 
21 APIStatus GetProgrammeByID (request_rec *req_p, const char *api_call_s, apr_table_t *req_params_p, ModBrapiConfig *config_p);
22 
23 bool AddProgrammeDetails (const json_t *grassroots_data_p, json_t *brapi_response_p);
24 
25 
26 #endif /* SERVERS_BRAPI_MODULE_INCLUDE_BRAPI_PROGRAM_H_ */
AddProgrammeDetails
bool AddProgrammeDetails(const json_t *grassroots_data_p, json_t *brapi_response_p)
APIStatus
APIStatus
Definition: brapi_module.h:45
GetProgrammeByID
APIStatus GetProgrammeByID(request_rec *req_p, const char *api_call_s, apr_table_t *req_params_p, ModBrapiConfig *config_p)
brapi_module.h
GetAllProgrammes
APIStatus GetAllProgrammes(request_rec *req_p, const char *api_call_s, apr_table_t *req_params_p, ModBrapiConfig *config_p)
ModBrapiConfig
The configuration for the Grassroots BrAPI module.
Definition: brapi_module.h:56